Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147117 - glibc-2.4 breaks gcc
Summary: glibc-2.4 breaks gcc
Status: RESOLVED DUPLICATE of bug 126032
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-10 17:54 UTC by Michael Siebert
Modified: 2006-09-10 23:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Siebert 2006-09-10 17:54:02 UTC
I emerged glibc-2.4 and whenever I want to compile something, I get the error:

/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so:5: syntax error

I replaced glibc-2.4 with an older version (precompiled) and everything worked again. /usr/lib/libc.so lookes like a valid script. It contains

/* GNU ld script
   Use the shared library, but some functions are only in
   the static library, so try that secondarily.  */  
OUTPUT_FORMAT(elf32-i386)
GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a )
Comment 1 SpanKY gentoo-dev 2006-09-10 23:37:29 UTC

*** This bug has been marked as a duplicate of 126032 ***