Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361845

Summary: sys-devel/gcc-4.6.0 fails due to bootstrap comparison failure (between stage 2 and stage 3)
Product: Gentoo Linux Reporter: Andreas K. Hüttel <dilfridge>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal CC: facorread, lloyd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Andreas K. Hüttel archtester gentoo-dev 2011-04-03 22:57:48 UTC
Created attachment 268435 [details]
build log

sys-devel/gcc-4.6.0 fails to emerge on amd64 (stage comparison fails)

Build log is attached

pinacolada ~ # emerge --info
Portage 2.1.9.45 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r8 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r8-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-1.12.14
Timestamp of tree: Sun, 03 Apr 2011 21:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
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, 4.5.2
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 -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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"
CXXFLAGS="-march=native -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs compress-build-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/ http://gentoo.modulix.net/gentoo/ http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirror.ynet.sk/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="de_DE.utf8@euro"
LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu"
LINGUAS="de en"
MAKEOPTS="-j9"
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="/usr/local/portage/kde /usr/local/portage/dilfridge-private /usr/local/portage/dilfridge /usr/local/portage/vmware /usr/local/portage/toolchain /usr/local/portage/lab-visa"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acpi akonadi alsa amd64 analogtv animgif archive arts audiofile bash-completion berkdb binfilter bittorrent bluetooth branding bzip2 cairo cdaudio cdda cddax cddb cdparanoia cdr chm cisco cli clucene cmake consolekit context corefonts cracklib crypt css cups cupsddk curl cvs cxx dbus declarative divx djvu dri dts dv dvd dvdr dvipdfm ebook emboss encode enscript exif expat expoblending extra extras fam ffmpeg firefox flac fortran fping ftp gcj gd gdbm gdu geolocation gif gimp git glitz gmp gnuplot gpg gpm gps graphics graphviz groupwise gs gtk handbook hbci hddtemp hybrid-auth iconv id3 id3tag idea imagemagick imap inotify jadetex java java6 jpeg jpeg2k kde kipi konqueror kontact kpathsea lame laptop lasi latex latex3 lcms ldap libnotify lirc lm_sensors luatex lzma mad math mbox mikmod mime mjpeg mmx mng modules mp3 mp4 mp4live mpeg mplayer mudflap multilib mysql ncurses nls nokia notify nptl nptlonly nsplugin obex ogg openexr opengl openmp pam pango pcre pdf perl phonon php plasma player plotutils png policykit ppds pppd publishers python qt3support qt4 quicktime qwt raptor rdesktop readline redland reports samba sasl science script sdk sdl semantic-desktop session sftp slp smp sndfile sql sqlite sse sse2 ssl ssse3 startup-notification subtitles subversion svg sysfs syslog tahoma tcpd theora tiff tordns truetype udev unicode usb v4l v4l2 vcd vdpau virtuoso vmware_guest_windows vnc vorbis wav weather webdav webdav-neon webkit wmf wpd wv2 x264 xcb xcomposite xine xinerama xls xml xmp xorg xpm xscreensaver xulrunner xv xvid zip 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" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface iptables irq load memory rrdtool swap syslog openvz curl_json uuid" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" LIRC_DEVICES="devinput hauppauge hauppauge_dvb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia nv 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 ScytheMan 2011-04-04 01:14:00 UTC
i can confirm this behaviour on amd64 hardened profile
Comment 2 Captain Sifff 2011-04-04 12:04:30 UTC
Bites me too on Sabayon using gcc-4.5.2 . The svn-tree of the 4.6 series compiled fine and worked on this system.
Comment 3 Captain Sifff 2011-04-04 21:39:34 UTC
The ebuild works fine on ia32 (gcc-4.5.2).
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2011-04-08 03:10:52 UTC
can you try binutils-2.21?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 18:03:42 UTC
(In reply to comment #4)
> can you try binutils-2.21?

Tried, makes no obvious difference...
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-04-08 20:32:16 UTC
For the record, the installation works fine in a full ~amd64 chroot (starting with gcc-4.5.2).

So some other dependency needs an upgrade. But what exactly? :|
Comment 7 Captain Sifff 2011-04-09 20:36:14 UTC
OK, seems I've got it
I have now upgraded automake and m4. This didn't most likely change anything.
It started to work when I upgraded to glibc-2.13-r2.
So that might be your missing dependency,
Good Luck!
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2011-04-16 07:16:25 UTC
Would anyone be willing to test glibc-2.12.2?  Note that you can't downgrade glibc once its installed.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2011-05-28 23:05:11 UTC
Works fine with current stable glibc-2.12.2. So, the bug kind of resolved itself.
Comment 10 SpanKY gentoo-dev 2011-12-02 23:46:53 UTC
assuming it's the same issue as Bug 362315

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