Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351177 - sys-libs/glibc build fails with >=sys-devel/binutils-2.21.51.0.3
Summary: sys-libs/glibc build fails with >=sys-devel/binutils-2.21.51.0.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sourceware.org/bugzilla/show_b...
Whiteboard:
Keywords:
: 351275 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-01-09 04:29 UTC by Zeev Tarantov
Modified: 2011-03-06 20:23 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log in bzip2 (build_log.bz2,180.88 KB, application/octet-stream)
2011-01-09 04:34 UTC, Zeev Tarantov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zeev Tarantov 2011-01-09 04:29:08 UTC
emerge sys-libs/glibc-2.12.2 failed

Reproducible: Always

Actual Results:  
  -Wl,--no-as-needed `x86_64-pc-linux-gnu-gcc  --print-file-name=crtend.o` /home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/csu/crtn.o
CPP='x86_64-pc-linux-gnu-gcc -E -x c-header'  /home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2 --library-path /home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/math:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/elf:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/dlfcn:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nss:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nis:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/rt:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/resolv:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/crypt:/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/nptl /home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcgen -Y ../scripts -c rpcsvc/bootparam_prot.x -o /home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.T
make[2]: *** [/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xbootparam_prot.stmp] Error 139
make[2]: Leaving directory `/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'
make: *** [all] Error 2
emake failed
 * ERROR: sys-libs/glibc-2.12.2 failed:
 *   make for x86 failed
 * 
 * Call stack:
 *           ebuild.sh, line   56:  Called src_compile
 *         environment, line 3849:  Called eblit-run 'src_compile'
 *         environment, line 1240:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  202:  Called src_compile
 *         environment, line 3849:  Called eblit-run 'src_compile'
 *         environment, line 1240:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  210:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  124:  Called die
 * The specific snippet of code:
 *              emake || die "make for ${ABI} failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-libs/glibc-2.12.2',
 * the complete build log and the output of 'emerge -pqv =sys-libs/glibc-2.12.2'.
 * The complete build log is located at '/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/temp/build.log'.
 * The ebuild environment file is located at '/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/temp/environment'.
 * S: '/home/system/var_tmp_portage/portage/sys-libs/glibc-2.12.2/work/glibc-2.12.2'



Portage 2.2.0_alpha14 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.12.1-r3, 2.6.37 x86_64)
=================================================================
System uname: Linux-2.6.37-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 09 Jan 2011 02:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21.51.0.4
sys-devel/gcc:       4.4.5, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo mozilla java-overlay voyageur local_overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* SKYPE-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=""
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-g -O2 -pipe -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -fexcess-precision=fast"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages installsources news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="http://mirror.isoc.org.il/pub/gentoo/ "
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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="/home/system/var_tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mozilla /var/lib/layman/java-overlay /var/lib/layman/voyageur /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion bidi bluetooth branding bzip2 cairo cdr cli cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac gdu gif gpm gtk iconv ipv6 jpeg lcms libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nptl nptlonly ogg opengl openmp pango pch pcre pdf perl png policykit ppds pppd python qt3support qt4 readline sdl semantic-desktop session spell sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" CAMERAS="stv0680" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 ppc ppc64 sparc x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" SANE_BACKENDS="niash stv680" USERLAND="GNU" VIDEO_CARDS="nv nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Zeev Tarantov 2011-01-09 04:34:53 UTC
Created attachment 259349 [details]
build log in bzip2
Comment 2 octoploid 2011-01-09 11:05:42 UTC
I opened an upstream bug here:
http://sourceware.org/bugzilla/show_bug.cgi?id=12379

This only happens with binutils > 2.21.51.0.2.
binutils-2.21.51.0.2 does build glibc without any problems.
Comment 3 SpanKY gentoo-dev 2011-01-10 01:22:59 UTC
downgrade your binutils version
Comment 4 Zeev Tarantov 2011-01-10 03:50:37 UTC
Yeah, Drepper is as eloquent as ever. Thank you. Please close.
Comment 5 SpanKY gentoo-dev 2011-01-10 14:22:57 UTC
*** Bug 351275 has been marked as a duplicate of this bug. ***
Comment 6 renato gallo 2011-01-10 16:15:34 UTC
The workaround is to downgrade
the solution is for it to work without workarounds
Comment 7 SpanKY gentoo-dev 2011-01-10 16:26:22 UTC
if you want a stable system, dont go using packages that are explicitly lacking any KEYWORDS at all.  otherwise, unless you're helping to find an actual solution, sit quietly and wait for someone else to do the work.
Comment 8 Rob 2011-01-18 16:37:07 UTC
The patch for glibc to allow compiling with the newest binutils is located here:

http://sourceware.org/git/?p=glibc.git;a=commit;h=4a531bb0b3b582cb693de9f76d2d97d970f9a5d5

glibc 2.13 was released today upstream, which includes this fix. Please bump the version of glibc in portage
Comment 9 SpanKY gentoo-dev 2011-01-18 19:49:58 UTC
no, glibc-2.13 has not been released yet
Comment 10 octoploid 2011-01-18 19:54:34 UTC
(In reply to comment #9)
> no, glibc-2.13 has not been released yet
> 

http://sourceware.org/git/?p=glibc.git;a=commit;h=6392473fe970b0cdace62f31000a83ba0fcf6161
Comment 11 SpanKY gentoo-dev 2011-01-18 20:19:08 UTC
since you clearly dont follow upstream development, please leave it to people who actually do
Comment 12 Rob 2011-01-19 05:17:36 UTC
Well, I guess technically glibc 2.12 was never released either, only 2.12.1; and that transition took 3 months.
Comment 13 SpanKY gentoo-dev 2011-03-06 20:23:01 UTC
glibc-2.13 should work fine for sure