Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 358261 - sys-libs/glibc-2.11.2-r3 (or more likely the eblits?) breaks compilation of 32-bit binaries on multilib amd64
Summary: sys-libs/glibc-2.11.2-r3 (or more likely the eblits?) breaks compilation of 3...
Status: RESOLVED DUPLICATE of bug 358143
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 16:48 UTC by Mike Nerone
Modified: 2011-03-10 17:08 UTC (History)
0 users

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


Attachments
config.log of grub failure (config.log,9.61 KB, text/plain)
2011-03-10 16:48 UTC, Mike Nerone
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Nerone 2011-03-10 16:48:30 UTC
Created attachment 265465 [details]
config.log of grub failure

After upgrading to sys-libs/glibc-2.11.2-r3 yesterday, the file /lib/ld-linux.so.2 is no longer packaged. Apparently, this file is necessary for building (some?) 32-bit binaries or something closely related (sorry, I'm no expert on this). Packages that can't be built include:

sys-apps/sandbox-2.4
sys-boot/grub-0.97-r10

A workaround is to replace the file manually:

cd /lib
ln -s /lib32/ld-linux.so.2

The issue has been experienced by numerous users, and lots of discussion is available in this forum post: http://forums.gentoo.org/viewtopic-p-6607507.html

A possible hint: the above fix allowed me to emerge sandbox. Once I did so, removing the fix to not reproduce the sandbox failure, so it seems that once sandbox is successfully built, it doesn't need the fix anymore. Unfortunately, because of this, I'm not able to provide a config.log for the sandbox failure. However, grub still has the failure so I'll attach that in a moment.

Here's some other relevant output:

# zgrep IA32_EMULATION /proc/config.gz
CONFIG_IA32_EMULATION=y

# emerge --info grub
Portage 2.1.9.42 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-_i5_CPU_M_560_@_2.67GHz-with-gentoo-1.12.14
Timestamp of tree: Wed, 09 Mar 2011 17:15:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --with-bdeps y"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks fail-clean fixlafiles fixpackages keeptemp keepwork news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed,-z,now,--hash-style=gnu,--sort-common"
LINGUAS="en en_US"
MAKEOPTS="-j6"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nerone /var/lib/layman/java-overlay"
SYNC="rsync://portage.nerone.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 audiofile avahi bash-completion branding bsf bzip2 cairo caps cdaudio cddb cdparanoia cdr cleartype cli consolekit cracklib crypt css cups curl cxx dbus dri dts dv dvd dvdr dvdread emboss encode exif expat faac faad fam fame fastcgi fat fbsplash ffmpeg fftw firefox flac flash fortran ftp gd gdbm gdu geoip gif glib glut gmp gnutls gphoto2 gpm gtk hal hbci iconv icu idn imagemagick imap imlib ipv6 ithreads jack java javascript jfs jpeg kde kdehiddenvisibility kipi lame laptop lcms libnotify lighttpd live lzo mad matroska mcal meanwhile memlimit mikmod mjpeg mmap mmx mng modules mozilla mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql ncurses network network-cron nls nntp nptl nptlonly nsplugin ntfs offensive ofx ogg openexr opengl pam pango pch pcre pdf perl physfs png policykit postgres ppds pppd python qt3support qt4 rackspace rdesktop readline reiserfs resolvconf rtc sasl schroedinger sdl semantic-desktop session slp speex spell sse sse2 sse4_1 sse4_2 ssl startup-notification svg symlink sysfs syslog taglib theora threads threadsafe thunderbird tidy tiff tk truetype udev unicode usb utempter utf8 vcd vdpau video vim-syntax vnc vorbis webdav wps x264 xattr xcb xcomposite xine xinerama xml xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="alias auth_basic authn_alias authn_default authn_file authz_default authz_groupfile authz_host authz_user autoindex dav dav_fs dir env expires headers include info log_config mime mime_magic negotiation proxy proxy_http rewrite setenvif status unique_id" APACHE2_MPMS="event" CAMERAS="directory" 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-boot/grub-0.97-r10 was built with the following:
USE="(multilib) ncurses -custom-cflags -netboot -static"
CFLAGS=""
Comment 1 Dustin Polke 2011-03-10 17:06:13 UTC

*** This bug has been marked as a duplicate of bug 358183 ***
Comment 2 Dustin Polke 2011-03-10 17:08:37 UTC
Wrong bug, sorry.

*** This bug has been marked as a duplicate of bug 358143 ***