eemrge -va1 glibc mv -f /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/rtld-libc.aT /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/rtld-libc.a make[3]: Leaving directory `/mnt/big/portage/glibc-2.4-r2/work/glibc-2.4/elf' i686-pc-linux-gnu-gcc -nostdlib -nostartfiles -r -o /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os '-Wl,-(' /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/dl-allobjs.os /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/rtld-libc.a -lgcc '-Wl,-)' \ -Wl,-Map,/mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os.map i686-pc-linux-gnu-gcc -nostdlib -nostartfiles -shared -Wl,-z,now \ -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,--verbose 2>&1 | \ LC_ALL=C \ sed -e '/^=========/,/^=========/!d;/^=========/d' \ -e 's/\. = 0 + SIZEOF_HEADERS;/& _begin = . - SIZEOF_HEADERS;/' \ > /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ld.so.lds i686-pc-linux-gnu-gcc -nostdlib -nostartfiles -shared -o /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ld.so \ -Wl,-z,combreloc -Wl,-z,relro -Wl,-z,defs -Wl,-z,now \ /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os -Wl,--version-script=/mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/ld.map \ -Wl,-soname=ld-linux.so.2 -T /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ld.so.lds /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os: In function `dlmopen_doit': rtld.c:(.text+0x13c): undefined reference to `_dl_open' /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os: In function `.L468': rtld.c:(.text+0x43d1): undefined reference to `_dl_close' /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os:(.data.rel.ro+0x1b0): undefined reference to `_dl_open' /mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/librtld.os:(.data.rel.ro+0x1b4): undefined reference to `_dl_close' collect2: ld returned 1 exit status make[2]: *** [/mnt/big/portage/glibc-2.4-r2/work/build-default-i686-pc-linux-gnu-nptl/elf/ld.so] Error 1 make[2]: Leaving directory `/mnt/big/portage/glibc-2.4-r2/work/glibc-2.4/elf' make[1]: *** [elf/subdir_lib] Error 2 make[1]: Leaving directory `/mnt/big/portage/glibc-2.4-r2/work/glibc-2.4' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.4-r2 failed. Call stack: ebuild.sh, line 1532: Called dyn_compile ebuild.sh, line 929: Called src_compile glibc-2.4-r2.ebuild, line 1180: Called toolchain-glibc_src_compile glibc-2.4-r2.ebuild, line 264: Called die !!! make for default failed !!! If you need support, post the topmost build error, and the call stack if relevant. *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** eemrge --info: Gentoo Base System version 1.12.0_pre19 Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r7-Gentoo-moon_05 i686) ================================================================= System uname: 2.6.16-gentoo-r7-Gentoo-moon_05 i686 AMD Athlon(tm) 4 Processor distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5, 2.4.2-r1 dev-python/pycrypto: 2.0.1-r4 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] 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-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks keeptemp keepwork metadata-transfer noclean sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_GB.ISO-8859-15" LC_ALL="en_GB.ISO-8859-15" MAKEOPTS="-j2" PKGDIR="/tmp" 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="/mnt/big" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi aim alsa amr amuled ao apache2 apic apm arts audiofile avi bash-completion berkdb bidi binfilter bitmap-fonts bl bonjour bootsplash cdda cdparanoia cdr cjk cli cmov cpudetection crypt cups curl cx8 dbus de dga directfb doc dri dts dv dvb dvd dvdread dynamic eds emboss encode esd ethereal examples fbcon ffmpeg flac flash foomaticdb fortran fping fpu freetype fxsr gdbm ggi gif gnome gnutls gpm gs gstreamer gtk gtk2 httpd i8x0 icq idea idn ieee1394 imagemagick imlib ipv6 irc isdnlog jabber jack java javascript jpeg kde lcms libcaca libg++ libwww lirc listentcp live lj logrotate lzo mad matrox mca mce mikmod mmx mmxext mono motif mozcalendar mp3 mpeg mplayer msn msr mtrr mtyhtv ncurses network nls no-htdocs nptl nptlonly nsplugin offensive ogg oggvorbis opengl oss pae pam pat pcre pdflib perl pge png pppd pse pse36 python qt quicktime rar readline real reflection rss rtc samba screen sdl sensord sep server session silc skey skins sndfile speex spell spl sse ssl startup-notification stream subtitles svg svga swat symlink tcpd tga theora threads tiff truetype truetype-fonts tsc type1-fonts unicode urandom usb v4l v4l2 vcd vim vlm vme vorbis win32codecs wmf wxwindows x264 xanim xinerama xml2 xmms xorg xosd xscreensaver xv xvid xvmc yahoo zeroconf zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_wacom kernel_linux userland_GNU video_cards_apm video_cards_chips video_cards_cirrus video_cards_fbdev video_cards_i810 video_cards_i128 video_cards_mga video_cards_nv video_cards_-nvidia video_cards_s3 video_cards_s3virge video_cards_sis video_cards_tga video_cards_trident video_cards_v4l video_cards_vesa video_cards_vga video_cards_via" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS ( woah ... new bugzilla allows lines longer than 80c ; really great to past compile lines :P )
what does `gcc-config -l` show ? your build looks all screwed up, like it's trying to apply PIC stuff to all the wrong files
root@moon_gen:~# 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.6 * [7] i686-pc-linux-gnu-3.4.6-hardened [8] i686-pc-linux-gnu-3.4.6-hardenednopie [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp [10] i686-pc-linux-gnu-3.4.6-hardenednossp
run `MAKEOPTS=-j1 emerge glibc >& log` and post the log as an attachment
Created attachment 86681 [details] compile stdout root@moon_gen:~# MAKEOPTS=-j1 emerge glibc >& log 2>log.e root@moon_gen:~# cat log.e mv: cannot stat `/mnt/big/portage/glibc-2.4-r2/temp/environment': No such file or directory root@moon_gen:~#
(In reply to comment #3) > run `MAKEOPTS=-j1 emerge glibc >& log` and post the log as an attachment > see #3 good luck
uhh, your portage is screwing it up: >>> WORKDIR is up-to-date, keeping... run `rm -rf /mnt/big/portage/glibc-2.4-r2/` and try to emerge again you should also see about updating your portage, it's pretty out of date
emerge -DaNuv world says to bother about glibc before portage. I flushed /mnt/big/portage/ yesterday ... but this morning it worked when you told me to do it (again) :S strange.