Summary: | cannot compile groff / portage : libc.so: file format not recognized; treating as linker script | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Skwar <askwar> |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | josch09, michi2k, patrick, poisoner |
Priority: | High | ||
Version: | 2006.0 | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | /Gentoo/Portage/build/portage/groff-1.19.2-r1/work/groff-1.19.2/config.log |
Description
Alexander Skwar
2006-03-13 02:16:57 UTC
Created attachment 82017 [details]
/Gentoo/Portage/build/portage/groff-1.19.2-r1/work/groff-1.19.2/config.log
Hmm... The same now happens with portage as well: Compiling /Gentoo/Portage/build/portage/portage-2.1_pre6-r2/work/portage-2.1_pre6/pym/portage_versions.py ... Compiling /Gentoo/Portage/build/portage/portage-2.1_pre6-r2/work/portage-2.1_pre6/pym/xpak.py ... /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 distcc[14448] ERROR: compile tbz2tool.c on localhost failed QA Notice: USE Flag 'userland_Darwin' not in IUSE for sys-apps/portage-2.1_pre6-r2 running build running build_ext building 'missingos' extension creating build creating build/temp.linux-i686-2.4 i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG -march=prescott -O2 -pipe -fomit-frame-pointer -fPIC -I/usr/include/python2.4 -c missingos.c -o build/temp.linux-i686-2.4/missingos.o creating build/lib.linux-i686-2.4 i686-pc-linux-gnu-gcc -pthread -shared -Wl,-O1 -march=prescott -O2 -pipe -fomit-frame-pointer build/temp.linux-i686-2.4/missingos.o -o build/lib.linux-i686-2.4/missingos.so /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 distcc[14460] ERROR: compile (null) on localhost failed error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1 !!! ERROR: sys-apps/portage-2.1_pre6-r2 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile !!! Failed to build missingos module !!! If you need support, post the topmost build error, and the call stack if relevant. your /usr/lib/libc.so should be a linker script if it isnt, something is broken on your system binutils-2.15.x doesn't work with >=glibc-2.4. Run: binutils-config 2 (this assumes binutils-2.16.* is number 2, if not, check binutils-config -l) And then "source /etc/profile" Everything should work fine at that point. *** Bug 147117 has been marked as a duplicate of this bug. *** *** Bug 154723 has been marked as a duplicate of this bug. *** *** Bug 134658 has been marked as a duplicate of this bug. *** *** Bug 213275 has been marked as a duplicate of this bug. *** |