* [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure!
@ 2013-02-24 17:53 Mick
2013-02-24 19:32 ` Alan McKinnon
0 siblings, 1 reply; 4+ messages in thread
From: Mick @ 2013-02-24 17:53 UTC (permalink / raw
To: Gentoo-User
I'm trying to run revdep-rebuild --library '/usr/lib/libmpc.so.2' &&
rm '/usr/lib/libmpc.so.2' following the elog message after I updated
dev-libs/mpc-1.0.1. (I think).
Anyway, one (rather ancient) box continuous to fail with:
=============================================
make[5]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
ork/build/i686-pc-linux-gnu/libgomp'
make[4]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
ork/build/i686-pc-linux-gnu/libgomp'
make[3]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
ork/build/i686-pc-linux-gnu/libgomp'
make[2]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
ork/build'
make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=i686-pc-linux-gnu"
"bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.6.3" "datadir=/usr/share/gcc-data/i686
-pc-linux-gnu/4.6.3" "exec_prefix=/usr" "includedir=/usr/lib/gcc/i686-pc-linux-g
nu/4.6.3/include" "datarootdir=/usr/share" "docdir=/usr/share/doc/" "infodir=/us
r/share/gcc-data/i686-pc-linux-gnu/4.6.3/info" "pdfdir=/usr/share/doc/" "htmldir
=/usr/share/doc/" "libdir=/usr/lib" "libexecdir=/usr/libexec" "lispdir=" "locals
tatedir=/usr/var" "mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/man" "oldi
ncludedir=/usr/include" "prefix=/usr" "sbindir=/usr/sbin" "sharedstatedir=/usr/c
om" "sysconfdir=/usr/etc" "tooldir=/usr/i686-pc-linux-gnu"
"build_tooldir=/usr/i686-pc-linux-gnu"
"target_alias=i686-pc-linux-gnu" "AWK=gawk" "BISON=bison"
"CC_FOR_BUILD=i686-pc-linux-gnu-gcc" "CFLAGS_FOR_BUILD=-O2
-march=pentium3 -pipe" "CXX_FOR_BUILD=i686-pc-linux-gnu-g++"
"EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c"
"INSTALL_DATA=/usr/bin/install -c -m 644"
"INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
-c" "LDFLAGS_FOR_BUILD=-Wl,-O1 -Wl,--as-needed" "LEX=flex" "M4=m4"
"MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/bin/sed"
"SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e
s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo
'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$/XFOO=/'`"
"BOOT_CFLAGS=-O2 -march=pentium3 -pipe" "BOOT_LDFLAGS=" "CFLAGS=-O2
-march=pentium3 -pipe" "CXXFLAGS=-O2 -march=pentium3 -pipe"
"LDFLAGS=-Wl,-O1 -Wl,--as-needed" "LIBCFLAGS=-O2 -march=pentium3 -pipe
" "LIBCXXFLAGS=-O2 -march=pentium3 -pipe -fno-implicit-templates "
"STAGE1_CHECKING=--enable-checking=release,types"
"STAGE1_LANGUAGES=c,lto" "GNATBIND=no" "GNATMAKE=no"
"AR_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ar"
"AS_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/as"
"CC_FOR_TARGET=/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc
-B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/"
"CFLAGS_FOR_TARGET=-g -O2 -march=pentium3 -pipe"
"CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-O2 -march=pentium3 -pipe
-D_GNU_SOURCE" "DLLTOOL_FOR_TARGET=dlltool"
"FLAGS_FOR_TARGET=-B/usr/i686-pc-linux-gnu/bin/
-B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
-isystem /usr/i686-pc-linux-gnu/sys-include" "GCJ_FOR_TARGET="
"GFORTRAN_FOR_TARGET=/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/gfortran
-B/mnt/video/
tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/"
"GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g"
"LD_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ld" "LIPO_FOR_TARGET=lipo"
"LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -march=pentium3
-pipe" "LIBCXXFLAGS_FOR_TARGET=-O2 -march=pentium3 -pipe -D_GNU_SOURCE
-fno-implicit-templates" "NM_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/nm"
"OBJDUMP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/objdump"
"RANLIB_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ranlib"
"STRIP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/strip"
"WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc"
"BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e
s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS="
"STAGE1_CXXFLAGS=-O2 -march=pentium3 -pipe" "STAGE1_TFLAGS="
"STAGE2_CFLAGS=-O2 -march=pentium3 -pipe -gtoggle"
"STAGE2_CXXFLAGS=-O2 -march=pentium3 -pipe" "STAGE2_TFLAGS="
"STAGE3_CFLAGS=-O2 -march=pentium3 -pipe" "STAGE3_CXXFLAGS=-O2
-march=pentium3 -pipe" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-O2
-march=pentium3 -pipe" "STAGE4_CXXFLAGS=-O2 -march=pentium3 -pipe"
"STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-O2 -march=pentium3 -pipe
-gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-O2
-march=pentium3 -pipe" "STAGEprofile_TFLAGS="
"STAGEfeedback_CFLAGS=-O2 -march=pentium3 -pipe -fprofile-use"
"STAGEfeedback_CXXFLAGS=-O2 -march=pentium3 -pipe"
"STAGEfeedback_TFLAGS=" "TFLAGS=" "CONFIG_SHELL=/bin/sh"
"MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" compare
make[2]: Entering directory
`/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
make[3]: Entering directory
`/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
rm -f stage_current
make[3]: Leaving directory
`/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
Comparing stages 2 and 3
warning: gcc/cc1plus-checksum.o differs
warning: gcc/cc1-checksum.o differs
Bootstrap comparison failure!
gcc/varasm.o differs
make[2]: *** [compare] Error 1
make[2]: Leaving directory
`/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory
`/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
* ERROR: sys-devel/gcc-4.6.3 failed (compile phase):
* emake failed with bootstrap-lean
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 4069: Called toolchain_src_compile
* environment, line 4729: Called gcc_do_make
* environment, line 2380: Called die
* The specific snippet of code:
* emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET}
|| die "emake failed with ${GCC_MAKE_TARGET}";
=============================================
These are the relevant flags:
=============================================
# emerge --info sys-devel/gcc
Portage 2.1.11.50 (default/linux/x86/13.0/desktop, gcc-4.6.3,
glibc-2.15-r3, 3.7.9-gentoo i686)
=================================================================
System Settings
=================================================================
System uname: Linux-3.7.9-gentoo-i686-Intel-R-_Pentium-R-_III_Mobile_CPU_1066MHz-with-gentoo-2.1
KiB Mem: 639864 total, 324484 free
KiB Swap: 257004 total, 248080 free
Timestamp of tree: Sat, 23 Feb 2013 09:15:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash: 4.2_p37
dev-lang/python: 2.7.3-r2, 3.2.3
dev-util/cmake: 2.8.9
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.1-r1
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13::<unknown repository>, 2.69
sys-devel/automake: 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.6
sys-devel/binutils: 2.22-r1
sys-devel/gcc: 4.6.3
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc: 2.15-r3
Repositories: gentoo enlightenment x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
/usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified
distlocks ebuild-locks fail-clean fixlafiles merge-sync news
parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch
usersandbox"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://gentoo.virginmedia.com/
http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/
http://gentoo.mneisen.org/ http://gentoo.wheel.sk/
http://gentoo.mirror.pw.edu.pl/ http://gentoo.supp.name/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --human-readable
--timeout=180 --exclude=/distfiles --exclude=/local
--exclude=/packages"
PORTAGE_TMPDIR="/mnt/video/tmp_portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/enlightenment /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa asf atm berkdb bluetooth branding
bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups curl cxx
dbus divx dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg flac
fontconfig fortran gdbm gif glitz gmedia gnutls gpm gtalk hpijs hpn
hybrid hybrid-auth iconv idea imagemagick imlib injection ipv6 irda
irmc jabber jpeg kde laptop lcms ldap libnotify live lm_sensors
logrotate mad madwifi matroska md5sum mjpeg mmx mng modplug modules
mp3 mp4 mpeg mplayer mudflap nat ncurses nls npp nptl nptlonly
nsplugin ntfs ogg opengl openmp pam pango pcmcia pcre pda pdf pmu png
policykit ppds qt3support qt4 rc5 rdesktop readline realmedia reiserfs
rfc3779 rt2500usb rtmp rtsp scanner sdl semantic-desktop session smime
speex spell sqlite sse ssl startup-notification svg svga tcpd theora
tidy tiff truetype udev udisks unicode upower usb vcd vnc vorbis vram
wmf wmp wxwidgets x264 x86 xcb xcomposite xine xml xmp xulrunner xv
xvid xvmc yv12 zlib" ALSA_CARDS="maestro3" 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="authn_core authz_core
socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan
sheets stage tables krita karbon braindump" CAMERAS="fuji topfield"
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 synaptics evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
presenter-minimizer" LINGUAS="en en_GB el" PHP_TARGETS="php5-3"
PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2"
RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r200"
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, USE_PYTHON
=================================================================
Package Settings
=================================================================
sys-devel/gcc-4.6.3 was built with the following:
USE="cxx fortran mudflap nls nptl openmp (-altivec) -bootstrap -build
-doc (-fixed-point) -gcj -go -graphite -gtk (-hardened) (-libssp)
(-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc -test
-vanilla"
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="-O2 -march=i686 -pipe"
=============================================
Any ideas how I can complete this emerge? Last time it was emerged
(whenever it became stable in portage) I don't recall having any
problems.
--
Regards,
Mick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure!
2013-02-24 17:53 [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure! Mick
@ 2013-02-24 19:32 ` Alan McKinnon
2013-02-24 21:16 ` Mick
0 siblings, 1 reply; 4+ messages in thread
From: Alan McKinnon @ 2013-02-24 19:32 UTC (permalink / raw
To: gentoo-user
On 24/02/2013 19:53, Mick wrote:
> I'm trying to run revdep-rebuild --library '/usr/lib/libmpc.so.2' &&
> rm '/usr/lib/libmpc.so.2' following the elog message after I updated
> dev-libs/mpc-1.0.1. (I think).
>
> Anyway, one (rather ancient) box continuous to fail with:
[...]
> `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
> Comparing stages 2 and 3
> warning: gcc/cc1plus-checksum.o differs
> warning: gcc/cc1-checksum.o differs
> Bootstrap comparison failure!
> gcc/varasm.o differs
https://bugs.gentoo.org/show_bug.cgi?id=411333
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure!
2013-02-24 19:32 ` Alan McKinnon
@ 2013-02-24 21:16 ` Mick
2013-02-24 21:30 ` Alan McKinnon
0 siblings, 1 reply; 4+ messages in thread
From: Mick @ 2013-02-24 21:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 980 bytes --]
On Sunday 24 Feb 2013 19:32:22 Alan McKinnon wrote:
> On 24/02/2013 19:53, Mick wrote:
> > I'm trying to run revdep-rebuild --library '/usr/lib/libmpc.so.2' &&
> > rm '/usr/lib/libmpc.so.2' following the elog message after I updated
> > dev-libs/mpc-1.0.1. (I think).
>
> > Anyway, one (rather ancient) box continuous to fail with:
> [...]
>
> > `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
> > Comparing stages 2 and 3
> > warning: gcc/cc1plus-checksum.o differs
> > warning: gcc/cc1-checksum.o differs
> > Bootstrap comparison failure!
> > gcc/varasm.o differs
>
> https://bugs.gentoo.org/show_bug.cgi?id=411333
Thanks Alan. I failed to find it when I looked, which can only mean one thing
... that I'm going blind! LOL!
The strange thing is that I didn't have a problem emerging it last time.
Anyhow, I've just changed the CFLAG -march=pentium3 and emerging it again with
-march=i686.
Thanks again.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure!
2013-02-24 21:16 ` Mick
@ 2013-02-24 21:30 ` Alan McKinnon
0 siblings, 0 replies; 4+ messages in thread
From: Alan McKinnon @ 2013-02-24 21:30 UTC (permalink / raw
To: gentoo-user
On 24/02/2013 23:16, Mick wrote:
> On Sunday 24 Feb 2013 19:32:22 Alan McKinnon wrote:
>> On 24/02/2013 19:53, Mick wrote:
>>> I'm trying to run revdep-rebuild --library '/usr/lib/libmpc.so.2' &&
>>> rm '/usr/lib/libmpc.so.2' following the elog message after I updated
>>> dev-libs/mpc-1.0.1. (I think).
>>
>>> Anyway, one (rather ancient) box continuous to fail with:
>> [...]
>>
>>> `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
>>> Comparing stages 2 and 3
>>> warning: gcc/cc1plus-checksum.o differs
>>> warning: gcc/cc1-checksum.o differs
>>> Bootstrap comparison failure!
>>> gcc/varasm.o differs
>>
>> https://bugs.gentoo.org/show_bug.cgi?id=411333
>
> Thanks Alan. I failed to find it when I looked, which can only mean one thing
> ... that I'm going blind! LOL!
:-)
I know the feeling ...
> The strange thing is that I didn't have a problem emerging it last time.
> Anyhow, I've just changed the CFLAG -march=pentium3 and emerging it again with
> -march=i686.
Searching bgo for "gcc" is just painful, so I added the error you posted
to the search string:
gcc Bootstrap comparison failure!
Often times the searchstring makes all the difference and searchstrings
are an advanced technology therefore indistinguishable from magic. If
they were easy and not magic-like, they would be insufficiently advanced
for our needs (with apologies to a certain mr Clarke)
:-)
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-24 21:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-24 17:53 [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure! Mick
2013-02-24 19:32 ` Alan McKinnon
2013-02-24 21:16 ` Mick
2013-02-24 21:30 ` Alan McKinnon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox