Alexander Skwar wrote:
Hello!
On one machine, I upgraded to glibc 2.4, and since that time,
I cannot compile anything anymore :( I always get errors
like this:
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
In the config.log, I find:
configure:2398: checking for C compiler default output file name
configure:2401: i686-pc-linux-gnu-gcc -march=prescott -O2 -pipe -fomit-frame-pointer
-Wl,-z,now conftest.c >&5
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libc.so:
file format not recognized; treating as
linker script
/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libc.so:5:
syntax error
collect2: ld returned 1 exit status
That's "somewhat" annoying... :(
Any ideas how I can fix this issue?
Thanks,
Alexander Skwar
Hello.
Try editing your make.conf to use CFLAGS="-march=pentium4 -02 -pipe
-fomit-frame-pointer" instead of '-march=prescott'
--
Thomas Andrè Skarsvåg
--
gentoo-user@gentoo.org mailing list