Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335927 - sys-libs/glibc-2.12.1-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
Summary: sys-libs/glibc-2.12.1-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux...
Status: RESOLVED DUPLICATE of bug 326693
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-04 08:06 UTC by Ralph Seichter
Modified: 2015-03-27 20:36 UTC (History)
0 users

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


Attachments
Build log (build.log.bz2,134.06 KB, application/octet-stream)
2010-09-04 08:09 UTC, Ralph Seichter
Details
Build environment (environment,144.60 KB, text/plain)
2010-09-04 08:13 UTC, Ralph Seichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Seichter 2010-09-04 08:06:11 UTC
/bin/sh: /mnt/sdb3/portage/tmp/portage/sys-libs/glibc-2.12.1-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/mnt/sdb3/portage/tmp/portage/sys-libs/glibc-2.12.1-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/xnlm_prot.stmp] Error 126
/bin/sh: /mnt/sdb3/portage/tmp/portage/sys-libs/glibc-2.12.1-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/elf/ld-linux.so.2: cannot execute binary file
make[2]: *** [/mnt/sdb3/portage/tmp/portage/sys-libs/glibc-2.12.1-r1/work/build-x86-x86_64-pc-linux-gnu-nptl/sunrpc/rpcsvc/bootparam_prot.stmp] Error 126
make[2]: Leaving directory `/mnt/sdb3/portage/tmp/portage/sys-libs/glibc-2.12.1-r1/work/glibc-2.12.1/sunrpc'
make[1]: *** [sunrpc/others] Error 2
make[1]: Leaving directory `/mnt/sdb3/portage/tmp/portage/sys-libs/glibc-2.12.1-r1/work/glibc-2.12.1'
make: *** [all] Error 2
 * ERROR: sys-libs/glibc-2.12.1-r1 failed:
 *   make for x86 failed
 * 
 * Call stack:
 *           ebuild.sh, line   54:  Called src_compile
 *         environment, line 3758:  Called eblit-run 'src_compile'
 *         environment, line 1191:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  199:  Called src_compile
 *         environment, line 3758:  Called eblit-run 'src_compile'
 *         environment, line 1191:  Called eblit-glibc-src_compile
 *   src_compile.eblit, line  207:  Called toolchain-glibc_src_compile
 *   src_compile.eblit, line  123:  Called die
 * The specific snippet of code:
 *              emake || die "make for ${ABI} failed"

Reproducible: Always

Steps to Reproduce:
Simply emerge sys-libs/glibc-2.12.1-r1



Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.35-gentoo-r5-k1 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r5-k1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5600+-with-gentoo-2.0.1
Timestamp of tree: Sat, 04 Sep 2010 06:30:01 +0000
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://distfiles.gentoo.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.intergenia.de/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j3"
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="/mnt/sdb3/portage/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cups cxx dkim dri fortran gdbm gnutls gpm iconv ipv6 ldap mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spamassassin spl sqlite sse sse2 ssl sysfs syslog tcpd unicode vim-syntax xorg 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="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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa" 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, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Ralph Seichter 2010-09-04 08:09:53 UTC
Created attachment 245928 [details]
Build log

.../portage/sys-libs/glibc-2.12.1-r1/temp/build.log
Comment 2 Ralph Seichter 2010-09-04 08:11:24 UTC
# emerge -pqv =sys-libs/glibc-2.12.1-r1
[ebuild     U ] sys-libs/glibc-2.12.1-r1 [2.11.2] USE="(multilib) nls -debug -gd -glibc-omitfp (-hardened) -profile (-selinux) -vanilla"
Comment 3 Ralph Seichter 2010-09-04 08:13:37 UTC
Created attachment 245931 [details]
Build environment

.../portage/sys-libs/glibc-2.12.1-r1/temp/environment
Comment 4 Ralph Seichter 2010-09-04 08:15:34 UTC
I already tried emerging with "FEATURES=-sandbox" as described in bug 334387, but this does not work for me.
Comment 5 Ralph Seichter 2010-09-04 17:21:48 UTC
It looks like I found the culprit. The machine's kernel was built with CONFIG_IA32_EMULATION disabled. I built a new kernel with IA32 emulation and emerge =sys-libs/glibc-2.12.1-r1 succeeded.
Comment 6 SpanKY gentoo-dev 2015-03-27 20:36:57 UTC

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