As soon as i try to upgrade glibc past 2.8_p20080602 it fails to compile Reproducible: Always Steps to Reproduce: 1. emerge -1 glibc Actual Results: make[4]: Leaving directory `/.1/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1/nptl' make[3]: Leaving directory `/.1/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1/elf' /usr/bin/install -c /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld.so /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/ld-2.10.1.so.new /usr/bin/install -c /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/libc.so /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/libc-2.10.1.so.new mv -f /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/ld-2.10.1.so.new /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/ld-2.10.1.so mv -f /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/libc-2.10.1.so.new /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/libc-2.10.1.so /usr/bin/install -c /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sprof /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/bin/sprof.new /usr/bin/install -c /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/lddlibc4 /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/bin/lddlibc4.new mv -f /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/bin/sprof.new /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/bin/sprof mv -f /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/bin/lddlibc4.new /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/bin/lddlibc4 echo ld-2.10.1.so /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/ld-linux.so.2 >> /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/symlink.list make[2]: Leaving directory `/.1/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1/elf' ./scripts/mkinstalldirs /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/include/gnu (sed '/^@/d' include/stubs-prologue.h; LC_ALL=C sort /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/iconv/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/locale/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/localedata/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/assert/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/ctype/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/intl/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/catgets/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/math/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/setjmp/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/signal/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/stdlib/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/stdio-common/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/libio/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/malloc/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/string/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/wcsmbs/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/time/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/dirent/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/grp/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/pwd/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/posix/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/io/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/termios/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/resource/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/misc/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/socket/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sysvipc/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/gmon/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/gnulib/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/wctype/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/manual/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/shadow/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/gshadow/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/po/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/argp/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nss/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/rt/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/conform/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/debug/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/c_stubs/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/libidn/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl_db/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/inet/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/hesiod/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nis/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/nscd/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/streams/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/login/stubs /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/stubs) > /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/stubs.h if test -r /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/include/gnu/stubs-32.h && cmp -s /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/stubs.h /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/include/gnu/stubs-32.h; \ then echo 'stubs.h unchanged'; \ else /usr/bin/install -c -m 644 /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/stubs.h /.1/tmp/portage/sys-libs/glibc-2.10.1/image//usr/include/gnu/stubs-32.h; fi rm -f /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/stubs.h /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/sln /.1/tmp/portage/sys-libs/glibc-2.10.1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/symlink.list /.1/tmp/portage/sys-libs/glibc-2.10.1/image//lib32/ld-linux.so.2: invalid destination: Value too large for defined data type make[1]: *** [install-symbolic-link] Error 255 make[1]: Leaving directory `/.1/tmp/portage/sys-libs/glibc-2.10.1/work/glibc-2.10.1' make: *** [install] Error 2 * * ERROR: sys-libs/glibc-2.10.1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3760: Called eblit-run 'src_install' * environment, line 1274: Called eblit-glibc-src_install * src_install.eblit, line 236: Called eblit-glibc-src_install * src_install.eblit, line 245: Called toolchain-glibc_src_install * src_install.eblit, line 24: Called die * The specific snippet of code: * make PARALLELMFLAGS="${MAKEOPTS}" \ * install_root="${install_root}" \ * install || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/.1/tmp/portage/sys-libs/glibc-2.10.1/temp/build.log'. * The ebuild environment file is located at '/.1/tmp/portage/sys-libs/glibc-2.10.1/temp/environment'. * >>> Failed to emerge sys-libs/glibc-2.10.1, Log file: >>> '/.1/tmp/portage/sys-libs/glibc-2.10.1/temp/build.log' * Messages for package sys-libs/glibc-2.10.1: * * ERROR: sys-libs/glibc-2.10.1 failed. * Call stack: * ebuild.sh, line 49: Called src_install * environment, line 3760: Called eblit-run 'src_install' * environment, line 1274: Called eblit-glibc-src_install * src_install.eblit, line 236: Called eblit-glibc-src_install * src_install.eblit, line 245: Called toolchain-glibc_src_install * src_install.eblit, line 24: Called die * The specific snippet of code: * make PARALLELMFLAGS="${MAKEOPTS}" \ * install_root="${install_root}" \ * install || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/.1/tmp/portage/sys-libs/glibc-2.10.1/temp/build.log'. * The ebuild environment file is located at '/.1/tmp/portage/sys-libs/glibc-2.10.1/temp/environment'. * Expected Results: a hopefully working glibc 2.10.1 have done emwrap.sh -tse multiple times in hopes something simple will fix it but to no avail
Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.8_p20080602-r0, 2.6.29-zen1 x86_64) ================================================================= System uname: Linux-2.6.29-zen1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.0 Timestamp of tree: Mon, 18 May 2009 23:15:02 +0000 app-shells/bash: 4.0_p17-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.6.2 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r2 sys-apps/sandbox: 1.9 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -mtune=native -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-O2 -march=native -mtune=native -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo/ http://gentoo.osuosl.org/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s" LINGUAS="en" MAKEOPTS="-j9" PKGDIR="/var/tmp/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/.1/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/crossdev /usr/portage/local/layman/php-testing /usr/portage/local/layman/php-experimental /usr/portage/local/layman/postgresql-testing /usr/portage/local/layman/postgresql-experimental /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/vmware /usr/portage/local/layman/java-overlay /usr/portage/local/layman/mysql-testing /usr/portage/local/layman/zen-overlay /usr/portage/local/layman/mozilla" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aim alsa amd64 apm bash-completion berkdb bitmap-fonts bzip2 bzlib cairo canna cdb cdr cli cracklib crypt cups curl dri dts dvd dvdr dvdread encode ethereal exif fam fastcgi ffmpeg flac gdbm gnutls gpg gpm gstreamer gtk2 hal iconv imagemagick innodb inotify ipv6 isdnlog ithreads jack java java6 jbig jikes jpeg jpeg2k junit kde kdeenablefinal kdeprefix lcms lm_sensors logrotate lua lzo mad matroska mbox midi mjpeg mmx mmxext mng mozdevelop mozilla mozsvg mp3 mpeg msn mudflap multilib musepac ncurses nodrm nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl oss pam pcre perl pg-intdatetime phonon plasma png posix postgres ppds pppd python qt readline reflection ruby samba sasl scanner session snmp soap sox spf spl sqlite sqlite3 srt sse sse2 ssl ssse3 svg sysfs szip tcltk tcpd theora threads tidy tiff truetype truetype-fonts type1-fonts unicode urandom usb vdpau vorbis wmv wxwindows x264 xcb xchatdccserver xcomposite xine xinerama xml xml2 xorg xsl xv xvid yv12 zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NETBEANS_MODULES="enterprise apisupport harness ide java nb groovy gsf identity j2ee mobility php profiler soa visualweb webcommon websvccommon xml" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
And with default LDFLAGS?
bingo, worked this time, thank you very much (first time these ldflags have caused a known issue to me) filtering those ldflags on the toolchain may be a good idea in the future