Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359509 - cross-i686-pc-linux-gnu/glibc fails on amd64 system; even with crossdev-20110310
Summary: cross-i686-pc-linux-gnu/glibc fails on amd64 system; even with crossdev-20110310
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
: 360195 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-19 14:37 UTC by Joe Breuer
Modified: 2011-07-27 12:30 UTC (History)
4 users (show)

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


Attachments
cross-i686-pc-linux-gnu-info.log (cross-i686-pc-linux-gnu-info.log,15.25 KB, text/plain)
2011-03-19 14:37 UTC, Joe Breuer
Details
cross-i686-pc-linux-gnu-glibc.log (cross-i686-pc-linux-gnu-glibc.log,8.61 KB, text/plain)
2011-03-19 14:38 UTC, Joe Breuer
Details
cross-i686-pc-linux-gnu/glibc-2.11.3/work/build-default-i686-pc-linux-gnu-nptl/config.log (config.log,11.13 KB, text/plain)
2011-03-19 14:40 UTC, Joe Breuer
Details
cross-i686-pc-linux-gnu/glibc-2.11.3/work/build-default-i686-pc-linux-gnu-nptl/config.log without distcc (config.log,11.00 KB, text/plain)
2011-03-19 14:48 UTC, Joe Breuer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Breuer 2011-03-19 14:37:07 UTC
cross-i686-pc-linux-gnu/glibc-2.11.3 fails to build even with crossdev-20110310 on amd64.

The issue looks similar to bug #358639, but is not resolved by upgrading crossdev from stable (20101011) to (~)20110310 and recreating the cross toolchain (crossdev -C i686-pc-linux-gnu; rm -rf /usr/local/portage/cross-i686-pc-linux-gnu; crossdev -S i686-pc-linux-gnu).

Maybe it has to do with me trying to explicitly build the stable version?

Reproducible: Always

Steps to Reproduce:
1. portage snapshot/current system as of 2011-03-19
2. no cross-i686-pc-linux-gnu/* installed or present in local overlays
3. crossdev -S i686-pc-linux-gnu
Actual Results:  
 * crossdev version:      20110310
 * Host Portage ARCH:     amd64
 * Target Portage ARCH:   x86
 * Target System:         i686-pc-linux-gnu
 * Stage:                 4 (C/C++ compiler)
 * ABIs:                  default

 * binutils:              binutils-[stable]
 * gcc:                   gcc-[stable]
 * headers:               linux-headers-[stable]
 * libc:                  glibc-[stable]

 * PORTDIR_OVERLAY:       /usr/local/portage
 * PORT_LOGDIR:           /var/log/portage
 * PORTAGE_CONFIGROOT:
  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -  ~  -  _  -
 * Forcing the latest versions of {binutils,gcc}-config/gnuconfig ...                                               [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-binutils.log
 * Emerging cross-binutils ...                                                                                      [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers-quick.log
 * Emerging cross-linux-headers-quick ...                                                                           [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc-headers.log
 * Emerging cross-glibc-headers ...                                                                                 [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-gcc-stage1.log
 * Emerging cross-gcc-stage1 ...                                                                                    [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-linux-headers.log
 * Emerging cross-linux-headers ...                                                                                 [ ok ]
 * Log: /var/log/portage/cross-i686-pc-linux-gnu-glibc.log
 * Emerging cross-glibc ...

 * glibc failed :(
 * If you file a bug, please attach the following logfiles:
 * /var/log/portage/cross-i686-pc-linux-gnu-info.log
 * /var/log/portage/cross-i686-pc-linux-gnu-glibc.log


Expected Results:  
A cross-i686-pc-linux-gnu is completely built.

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 uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8600_@_3.33GHz-with-gentoo-1.12.14
Timestamp of tree: Sat, 19 Mar 2011 11:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
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="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -momit-leaf-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/yp/Makefile"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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 /usr/share/X11/xkb"
CXXFLAGS="-march=nocona -O2 -pipe -momit-leaf-frame-pointer"
DISTDIR="/export/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y -j 6 --load-average 4"
FEATURES="assume-digests binpkg-logs buildpkg collision-protect distcc distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.mneisen.org/ http://gentoo.wheel.sk/ http://gentoo.mirror.pw.edu.pl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
MAKEOPTS="-j 8 -l 6"
PKGDIR="/export/portage/packages/x64p4"
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="/usr/local/portage /var/lib/layman/jmbreuer"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 apache2 avahi berkdb bluetooth branding bzip2 cairo cdr chardet cjk cli consolekit cracklib crypt css cups curl cxx dbus dga dri dts dvd dvdr embedded emboss encode exif fam fame fastcgi ffmpeg firefox flac flash fluidsynth foomaticdb fortran gd gdbm gdu gif gimp glitz glut gnutls gphoto2 gpm gtk gtkhtml iconv imap imlib innodb iphone ipod ipv6 java jce jpeg kde kerberos kpathsea lame lcms ldap leim libgda libnotify libsamplerate lm_sensors lzo mad mailwrapper mbox mikmod mjpeg mmx mmxext mng modplug modules mono mp3 mp4 mpeg mudflap mule multilib ncurses network network-cron nis nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pango pcap pch pcre pda pdf perl plotutils png policykit ppds pppd python qt3support qt4 razor rdesktop readline rtc samba sasl sdl semantic-desktop session shout slang slp sndfile sound sox spamassassin spell sqlite sse sse2 ssl startup-notification suhosin svg sysfs tcpd threadsafe tiff truetype trusted udev unicode usb vim-syntax vorbis webdav wma wmf x264 xanim xcb xcomposite xemacs xfs xinetd xiph xml xorg xscreensaver xulrunner xv xvid xvmc 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" 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="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="net" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Joe Breuer 2011-03-19 14:37:55 UTC
Created attachment 266507 [details]
cross-i686-pc-linux-gnu-info.log
Comment 2 Joe Breuer 2011-03-19 14:38:16 UTC
Created attachment 266511 [details]
cross-i686-pc-linux-gnu-glibc.log
Comment 3 Joe Breuer 2011-03-19 14:40:53 UTC
Created attachment 266513 [details]
cross-i686-pc-linux-gnu/glibc-2.11.3/work/build-default-i686-pc-linux-gnu-nptl/config.log
Comment 4 Joe Breuer 2011-03-19 14:42:05 UTC
BTW, compiling/using a 'stable' crossdev toolchain for i686-pc-linux-gnu on my amd64 system used to work; IIRC I last actively used this in September - November 2010.
Comment 5 Joe Breuer 2011-03-19 14:42:50 UTC
This happens on two different, but similar, gentoo 10.0 amd64 installs for me.
Comment 6 Joe Breuer 2011-03-19 14:48:41 UTC
Created attachment 266521 [details]
cross-i686-pc-linux-gnu/glibc-2.11.3/work/build-default-i686-pc-linux-gnu-nptl/config.log without distcc

I've just seen distcc piping up in there; and tried again with 'FEATURES="-distcc"'.

Now distcc no longer shows up in the log, but the problem stays exactly the same.
Comment 7 Guillaume ZITTA 2011-03-20 22:25:11 UTC
I've found that modification :
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/glibc/files/eblits/common.eblit?r1=1.16&r2=1.17

workaround : revert the file to the older one
Comment 8 SpanKY gentoo-dev 2011-03-21 13:11:04 UTC
already been fixed
Comment 9 Joe Breuer 2011-03-22 08:30:15 UTC
I can confirm that 'crossdev -S i686-pc-linux-gnu' now works on my amd64 system.
Comment 10 Bob Raitz 2011-03-23 07:08:06 UTC
I can also report that the work around works. Thanks.
Comment 11 SpanKY gentoo-dev 2011-03-24 01:42:49 UTC
*** Bug 360195 has been marked as a duplicate of this bug. ***
Comment 12 SpanKY gentoo-dev 2011-03-27 14:14:56 UTC
*** Bug 360195 has been marked as a duplicate of this bug. ***