lanewhoy@zaphod ~ $ emerge --info Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5-hardened, glibc-2.3.6 -r2, 2.6.15.1 x86_64) ================================================================= System uname: 2.6.15.1 x86_64 AMD Opteron(tm) Processor 240 Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=opteron -pipe -m64 -fpic -fPIC" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1 1/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/co ntrol" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=opteron -pipe -m64 -fpic -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/g entoo http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo" PKGDIR="/usr/portage/packages"PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 16bit 3ds X aac aalib alsa avi berkdb bitmap-fonts cdb cdda cddb clan JavaScript clanVoice cpudetection cracklib crypt cups curlwrappers dbus divx4lin ux dlloader dvd dvdr eds elf emboss encode foomaticdb fortran gif gnome gpm gstr eamer gtk gtk2 imlib ipv6 jpeg kde krb5 lzw lzw-tiff mcal mp3 mpeg mpeg4 ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xpm xv zlib elibc_glib c kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, M AKEOPTS Last build errors: /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(strlen.o): In function `strlen': ../sysdeps/x86_64/strlen.S:(.text+0x145): undefined reference to `_rtld_global_ro' /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(memset.o): In function `memset': ../sysdeps/x86_64/memset.S:(.text+0xd3): undefined reference to `_rtld_global_ro' ../sysdeps/x86_64/memset.S:(.text+0x103): undefined reference to `_rtld_global_ro' /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(mempcpy.o): In function `mempcpy': ../sysdeps/x86_64/mempcpy.S:(.text+0x123): undefined reference to `_rtld_global_ro' ../sysdeps/x86_64/mempcpy.S:(.text+0x173): undefined reference to `_rtld_global_ro' /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(mempcpy.o):../sysdeps/x86_64/mempcpy.S:(.text+0x293): more undefined references to `_rtld_global_ro' follow collect2: ld returned 1 exit status make[2]: *** [/var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/elf/sln] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r3/work/glibc-2.3.6/elf' make[1]: *** [elf/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r3/work/glibc-2.3.6' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.6-r3 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile glibc-2.3.6-r3.ebuild, line 1243: Called src_compile glibc-2.3.6-r3.ebuild, line 1254: Called toolchain-glibc_src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Remove crap like "-m64 -fpic -fPIC" from your C[XX]FLAGS.
Removing the '-m64 -fPIC -fpic' did not help the latest build errors are: x86_64-pc-linux-gnu-gcc -nostdlib -nostartfiles -static -o /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/elf/sln /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/csu/crt1.o /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/csu/crti.o `x86_64-pc-linux-gnu-gcc --print-file-name=crtbegin.o` /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/elf/sln.o /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a -lgcc -lgcc_eh /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a `x86_64-pc-linux-gnu-gcc --print-file-name=crtend.o` /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/csu/crtn.o /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(strlen.o): In function `strlen': ../sysdeps/x86_64/strlen.S:(.text+0x145): undefined reference to `_rtld_global_ro' /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(memset.o): In function `memset': ../sysdeps/x86_64/memset.S:(.text+0xd3): undefined reference to `_rtld_global_ro' ../sysdeps/x86_64/memset.S:(.text+0x103): undefined reference to `_rtld_global_ro' /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(mempcpy.o): In function `mempcpy': ../sysdeps/x86_64/mempcpy.S:(.text+0x123): undefined reference to `_rtld_global_ro' ../sysdeps/x86_64/mempcpy.S:(.text+0x173): undefined reference to `_rtld_global_ro' /var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/libc.a(mempcpy.o):../sysdeps/x86_64/mempcpy.S:(.text+0x293): more undefined references to `_rtld_global_ro' follow collect2: ld returned 1 exit status make[2]: *** [/var/tmp/portage/glibc-2.3.6-r3/work/build-amd64-x86_64-pc-linux-gnu-linuxthreads/elf/sln] Error 1 make[2]: Leaving directory `/var/tmp/por !!! ERROR: sys-libs/glibc-2.3.6-r3 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile glibc-2.3.6-r3.ebuild, line 1243: Called src_compile glibc-2.3.6-r3.ebuild, line 1254: Called toolchain-glibc_src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. tage/glibc-2.3.6-r3/work/glibc-2.3.6/elf' The emerge info is: Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.5-hardened, glibc-2.3.6-r2, 2.6.15.1 x86_64) ================================================================= System uname: 2.6.15.1 x86_64 AMD Opteron(tm) Processor 240 Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.3.5, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=opteron -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mtune=opteron -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://prometheus.cs.wmich.edu/gentoo http://mirror.datapipe.net/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp"PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 16bit 3ds X aac aalib alsa avi berkdb bitmap-fonts cdb cdda cddb clanJavaScript clanVoice cpudetection cracklib crypt cups curlwrappers dbus divx4linux dlloader dvd dvdr eds elf emboss encode foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib ipv6 jpeg kde krb5 lzw lzw-tiff mcal mp3 mpeg mpeg4 ncurses nls oggvorbis opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff truetype-fonts type1-fonts usb userlocales xpm xv zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS PORTDIR="/usr/portage" make[1]: *** [elf/others] Error 2
*** This bug has been marked as a duplicate of 119818 ***