CPP='i686-pc-linux-gnu-gcc -E -x c-header' /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/math:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/elf:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/dlfcn:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/nss:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/nis:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/rt:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/resolv:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/crypt:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/nptl /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/xboot .././scripts/mkinstalldirs /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcsvc /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcgen: relocation error: /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/dlfcn/libdl.so.2: symbol _libc_intl_domainname, version GLIBC_2.0 not defined in file libc.so.6 with link time referencemkdir /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcsvc make[2]: *** [/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/xbootparam_prot.stmp] Error 127 make[2]: *** Waiting for unfinished jobs.... CPP='i686-pc-linux-gnu-gcc -E -x c-header' /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/elf/ld-linux.so.2 --library-path /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/math:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/elf:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/dlfcn:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/nss:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/nis:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/rt:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/resolv:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/crypt:/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/nptl /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcgen -Y ../scripts -h rpcsvc/bootparam_prot.x -o /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcsv /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcgen: relocation error: /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/dlfcn/libdl.so.2: symbol _libc_intl_domainname, version GLIBC_2.0 not defined in file libc.so.6 with link time reference make[2]: *** [/var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/sunrpc/rpcsvc/bootparam_prot.stmp] Error 127 make[2]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5/sunrpc' make[1]: *** [sunrpc/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.5/work/glibc-2.5' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.5 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile glibc-2.5.ebuild, line 997: Called toolchain-glibc_src_compile glibc-2.5.ebuild, line 221: Called die !!! make for default failed !!! If you need support, post the topmost build error, and the call stack if relevant. # emerge --info Portage 2.1.2_pre2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-no1 i686) ================================================================= System uname: 2.6.18-no1 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.12.5 Last Sync: Sun, 01 Oct 2006 07:20:01 +0000 ccache version 2.4 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.6-r1, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17-r4 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -march=pentium4 -fomit-frame-pointer -pipe -fno-ident -frename-registers" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-ident -frename-registers -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/" LANG="lt_LT.utf8" LC_ALL="lt_LT.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both" LINGUAS="lt" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/conrad /usr/local/portage /usr/portage/local/layman/repodoc-overlay /usr/portage/local/layman/portage-xgl" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa berkdb bitmap-fonts bzip2 cairo caps cdr cli crypt cups curl dbus divx dlloader dri dvd elibc_glibc emboss encode exif expat fam fbcon ffmpeg firefox fortran gdbm gif glut gmedia gnome gnutls gpm gstreamer gtk hal input_devices_keyboard input_devices_mouse isdnlog java javascript jbig jpeg kernel_linux ldap libg++ libnotify linguas_lt lm_sensors logrotate mad mikmod mmx mmxext mono motif mp3 mpeg ncurses nls nptl nptlonly nvidia offensive ogg opengl pam pcre pdf perl png ppds pppd python quicktime readline real realmedia reflection sdl session spell spl sqlite sse sse2 ssl startup-notification stream svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU video_cards_nv video_cards_nvidia vorbis win32codecs wmp xml xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
so run: readelf -s /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/libc.so | grep intl
gentoo ~ # readelf -s /var/tmp/portage/glibc-2.5/work/build-default-i686-pc-linux-gnu/libc.so | grep intl 514: 001041fa 5 OBJECT GLOBAL DEFAULT 14 _libc_intl_domainname@@GLIBC_2.0 5655: 001041fa 5 OBJECT LOCAL HIDDEN 14 __GI__libc_intl_domainnam 7714: 001041fa 5 OBJECT GLOBAL DEFAULT 14 _libc_intl_domainname
Same here, with same Flags as Ernestas Liubarskij. Tried it also with less offensive Flags ;) Still same error. Grep
Same here, with same Flags as Ernestas Liubarskij. Tried it also with less offensive Flags ;) Still same error. Grep´ing of libc.so.6 gets the same results as Ernestas.
GNU C Library stable release version 2.5, by Roland McGrath et al. Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.1.1 (Gentoo 4.1.1-r1). Compiled on a Linux 2.6.17 system on 2006-10-10. No problem here Available extensions: The C stubs add-on version 2.1.2. crypt add-on version 2.1 by Michael Glad and others GNU Libidn by Simon Josefsson GNU libio by Per Bothner NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk Native POSIX Threads Library by Ulrich Drepper et al Support for some architectures added on, not maintained in glibc core. BIND-8.2.3-T5B Thread-local storage support included. Portage 2.1.2_pre2-r7 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.5 Last Sync: Mon, 09 Oct 2006 23:30:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="${NXDIR}/etc ${NXDIR}/home /etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig digest distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LINGUAS="pl" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee /usr/local/overlays/nelchael /usr/portage/local/layman/sunrise /usr/portage/local/layman/nx /usr/portage/local/layman/halcy0n /usr/portage/local/layman/gentopia /usr/portage/local/layman/zugaina" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac alsa avi berkdb bitmap-fonts cairo cdr cdrom cli crypt cups divx4linux dlloader dri dvd dvdr dvdread elibc_glibc encode esd flash fortran gif glitz gpm gtk hal imagemegick imlib input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_vmmouse isdnlog jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ linguas_pl mmx motif mp3 mpeg ncurses nls nptl nptlonly nvidia ogg oggvorbis opengl oss pam pcre perl pertty pic png ppds pppd python qt3 qt4 readline reflection risky sdl session slang spell spl sse sse2 ssl tcpd tga tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l video_cards_nv video_cards_nvidia video_cards_vmware vorbis wmf xcomposite xml xml2 xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPT
Matthias: please post your `emerge info` Ernestas: wtf is this: sys-devel/binutils: 2.17-r4
Mostly the same Output than Ernestas
Mostly the same Output than Ernestas´s. After trying different binutils (portage, overlays) i managed to compile it. But dont ask how i did it ;) The only thing that i can say that it didnt compiled with a "normal" latest binutils from Portage, but somehow now it does. And his Binutils is from Conrad´s Overlay.
Yeah, Mathias is right, I'll try to compile with 2.17 from Portage.
Sorry that i cant provide my inital setup. Basically it was a clean system (started frrom scratch), all of the Toolchain updated to ~Testing, sane c- and ldflags (p4, pipe, O2, no hashstyle/bdirect/as-needed stuff). Then i tried to emerge glibc-2.5 *after* updating the complete world. Tried different binutils/glibc-2.5 sources (portage, conrad, nxsty), only latest (hardmasked) binutils from nxsty
Sorry that i cant provide my inital setup. Basically it was a clean system (started frrom scratch), all of the Toolchain updated to ~Testing, sane c- and ldflags (p4, pipe, O2, no hashstyle/bdirect/as-needed stuff). Then i tried to emerge glibc-2.5 *after* updating the complete world. Tried different binutils/glibc-2.5 sources (portage, conrad, nxsty), only latest (hardmasked) binutils from nxsty´s overlay worked for compiling glibc 2.5 (but only the ebuild provided by him, not the one in portage).
i'm not going to support toolchain packages that arent in portage
The only thing i can say that it didnt compiled on a new clean gentoo-only system, without packages from other overlays ;)
*** Bug 152034 has been marked as a duplicate of this bug. ***