pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

db4 PowerPC/GCC problem // how to strip optimization flags?



hi,

there is a problem with gcc <3.3.3 (that's what the files say, alas it
might be nobody know whether it /still/ occurs with gcc 4 e.g.) that
makes binaries of db4 built with optimization flags unusable.

(the binaries pretend to run but runtime errors are common; i didn't dig
into this further, yet.)

so there's a 'hacks.mk' file for db4 (as there's one for perl5 and
firefox) -- the thing is, it doesn't seem to work as intended.

when building db4 there always shows up an '-O2', and the binaries won't
run okay.

any hints very much appreciated -- db4 is crucial for lots of apps
(cyrus 2.2.x, netatalk, etc.).

thanks,

timo

[1] -- http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=29616

[2] -- http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=29746



Home | Main Index | Thread Index | Old Index