Summary: | sys-libs/glibc-2.4-r1: elf/link.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Martin Mokrejš <mmokrejs> |
Component: | [OLD] Core system | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Martin Mokrejš
2006-03-22 12:12:33 UTC
does this file exist: /var/tmp/portage/glibc-2.4-r1/work/glibc-2.4/elf/link.h No, the whole subdirectory is missing. # ls -la /var/tmp/portage/glibc-2.4-r1/work/glibc-2.4/ total 760 drwxr-xr-x 21 root root 4096 Mar 22 21:26 . drwx------ 5 root root 79 Mar 22 20:52 .. -rw-r--r-- 1 root root 5399 Mar 8 2004 CANCEL-FCT-WAIVE -rw-r--r-- 1 root root 26536 Aug 27 2002 COPYING.LIB -rw-r--r-- 1 root root 641682 Apr 20 2004 ChangeLog.14 -rw-r--r-- 1 root root 574 Nov 21 16:43 Makefile.in -rw-r--r-- 1 root root 5085 Mar 6 11:59 README.template -rwxr-xr-x 1 root root 9054 Mar 22 20:52 a.out drwxr-xr-x 2 root root 4096 Mar 6 12:18 assert drwxr-xr-x 2 root root 51 Mar 22 20:52 autom4te.cache drwxr-xr-x 2 root root 4096 Mar 6 12:18 bits drwxrwxr-x 2 root root 136 Mar 22 20:51 c_stubs drwxr-xr-x 2 root root 4096 Mar 6 12:18 catgets -rw-r--r-- 1 root root 382 Mar 8 2004 extra-modules.mk drwxr-xr-x 3 root root 4096 Mar 6 12:18 gmon drwxr-xr-x 2 root root 54 Mar 6 12:18 gnulib drwxr-xr-x 2 root root 4096 Mar 22 20:52 iconv drwxr-xr-x 11 root root 4096 Mar 22 20:52 include drwxr-xr-x 2 root root 4096 Mar 22 20:52 intl drwxr-xr-x 2 root root 4096 Mar 6 12:18 libidn drwxr-xr-x 3 root root 4096 Mar 6 12:18 mach drwxr-xr-x 6 root root 4096 Mar 6 12:18 nis drwxr-xr-x 2 root root 4096 Mar 6 12:18 nptl_db drwxr-xr-x 4 root root 4096 Mar 6 12:11 ports drwxr-xr-x 2 root root 4096 Mar 6 12:18 pwd drwxr-xr-x 4 root root 4096 Mar 6 12:18 sunrpc drwxr-xr-x 16 root root 4096 Mar 22 21:26 sysdeps drwxr-xr-x 3 root root 4096 Mar 6 12:18 time # uhh, why ? does re-emerging glibc work ? if you do just `ebuild glibc-2.4-r1.ebuild clean unpack`, do you have an elf dir ? OK, the directory does exist when unpacked. I cleaned up /var/tmp/portage/ and repeated: /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ranlib /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a i686-pc-linux-gnu-gcc -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.map.o '-Wl,-(' /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a -lgcc '-Wl,-)' -Wl,-Map,/var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.mapT /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a(init-first.os):(.data+0x0): multiple definition of `__libc_multiple_libcs' /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os:(.bss+0x80): first defined here /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a(_itoa.os): In function `_itoa': _itoa.c:(.text+0x120): multiple definition of `_itoa' /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os:: first defined here /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `_itoa' changed from 182 in /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os to 528 in /var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/libc_pic.a(_itoa.os) collect2: ld returned 1 exit status make[2]: *** [/var/tmp/portage/glibc-2.4-r1/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.map] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r1/work/glibc-2.4/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r1/work/glibc-2.4' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.4-r1 failed. Call stack: ebuild.sh, line 1565: Called dyn_compile ebuild.sh, line 974: Called src_compile glibc-2.4-r1.ebuild, line 1260: Called toolchain-glibc_src_compile # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 47G 41G 6.4G 87% / udev 506M 240K 505M 1% /dev none 506M 0 506M 0% /dev/shm # # gcc-config -l [1] i686-pc-linux-gnu-3.3.6 [2] i686-pc-linux-gnu-3.3.6-hardened [3] i686-pc-linux-gnu-3.3.6-hardenednopie [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp [5] i686-pc-linux-gnu-3.3.6-hardenednossp [6] i686-pc-linux-gnu-3.4.5 [7] i686-pc-linux-gnu-3.4.5-hardened * [8] i686-pc-linux-gnu-3.4.5-hardenednopie [9] i686-pc-linux-gnu-3.4.5-hardenednopiessp [10] i686-pc-linux-gnu-3.4.5-hardenednossp # that's a diff issue ... a hardened gcc profile will fail to build glibc-2.4 at this time You were right, hardened issue. I forgot I had it set for testing of some other bug. Thanks. |