OK, I put -fPIC in only because the error message metioned trying to compile elf32-sparc.c with -fPIC. As I wrote in further comments in the bug report I retried building without the hardened USE flag, but with the same CFLAGS, i.e., CFLAGS="-mcpu=ultrasparc -O3 -pipe -mtune=v9 -fomit-frame-pointer" and then the build went fine. I think I even tried lowering the optimization flag to -O2 and got the same error with hardened enabled.
/ Anders On 5/9/05, Jeremy Huddleston <[EMAIL PROTECTED]> wrote: > On Wed, 2005-04-20 at 11:12 +0200, Anders M�rtsell wrote: > > CFLAGS="-mcpu=ultrasparc -O3 -pipe -mtune=v9 -fomit-frame--pointer -fPIC" > > Never put -fPIC in your CFLAGS. > You probably meant -fomit-frame-pointer, but you don't get much boost > from that on sparc. > -O3 is known to be buggy in many cases. Try dropping it down to -O2. > > > -- [email protected] mailing list
