Subject: db4 PowerPC/GCC problem // how to strip optimization flags?
To: None <port-powerpc@netbsd.org>
From: Timo Schoeler <timo.schoeler@macfinity.net>
List: port-powerpc
Date: 09/12/2005 22:33:16
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