Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Cannot compile anything: libc.so: file format not recognized; treating as linker script - glibc 2.4 upgrade related?
Date: Mon, 13 Mar 2006 16:36:11
Message-Id: 44159E03.30809@mid.message-center.info
1 Hello!
2
3 On one machine, I upgraded to glibc 2.4, and since that time,
4 I cannot compile anything anymore :( I always get errors
5 like this:
6
7 checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
8 checking for C compiler default output file name... configure: error: C compiler cannot create executables
9 See `config.log' for more details.
10
11 In the config.log, I find:
12
13 configure:2398: checking for C compiler default output file name
14 configure:2401: i686-pc-linux-gnu-gcc -march=prescott -O2 -pipe -fomit-frame-pointer -Wl,-z,now conftest.c >&5
15 /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
16 linker script
17 /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
18 collect2: ld returned 1 exit status
19
20 That's "somewhat" annoying... :(
21
22 Any ideas how I can fix this issue?
23
24 Thanks,
25
26 Alexander Skwar
27 --
28 MCSE == Mentally Challenged Slave of the Empire.
29
30 -- Gareth Barnard
31 --
32 gentoo-user@g.o mailing list

Replies