Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: Gentoo-User <gentoo-user@l.g.o>
Subject: [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure!
Date: Sun, 24 Feb 2013 17:53:36
Message-Id: CAGOe-eyAM8b=oMFhYq=tT+3iQcnKiuYZSz1jQwFMXDmQvoY4BQ@mail.gmail.com
1 I'm trying to run revdep-rebuild --library '/usr/lib/libmpc.so.2' &&
2 rm '/usr/lib/libmpc.so.2' following the elog message after I updated
3 dev-libs/mpc-1.0.1. (I think).
4
5 Anyway, one (rather ancient) box continuous to fail with:
6
7 =============================================
8 make[5]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
9 ork/build/i686-pc-linux-gnu/libgomp'
10 make[4]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
11 ork/build/i686-pc-linux-gnu/libgomp'
12 make[3]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
13 ork/build/i686-pc-linux-gnu/libgomp'
14 make[2]: Leaving directory `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/w
15 ork/build'
16 make "DESTDIR=" "RPATH_ENVVAR=LD_LIBRARY_PATH" "TARGET_SUBDIR=i686-pc-linux-gnu"
17 "bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.6.3" "datadir=/usr/share/gcc-data/i686
18 -pc-linux-gnu/4.6.3" "exec_prefix=/usr" "includedir=/usr/lib/gcc/i686-pc-linux-g
19 nu/4.6.3/include" "datarootdir=/usr/share" "docdir=/usr/share/doc/" "infodir=/us
20 r/share/gcc-data/i686-pc-linux-gnu/4.6.3/info" "pdfdir=/usr/share/doc/" "htmldir
21 =/usr/share/doc/" "libdir=/usr/lib" "libexecdir=/usr/libexec" "lispdir=" "locals
22 tatedir=/usr/var" "mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.6.3/man" "oldi
23 ncludedir=/usr/include" "prefix=/usr" "sbindir=/usr/sbin" "sharedstatedir=/usr/c
24 om" "sysconfdir=/usr/etc" "tooldir=/usr/i686-pc-linux-gnu"
25 "build_tooldir=/usr/i686-pc-linux-gnu"
26 "target_alias=i686-pc-linux-gnu" "AWK=gawk" "BISON=bison"
27 "CC_FOR_BUILD=i686-pc-linux-gnu-gcc" "CFLAGS_FOR_BUILD=-O2
28 -march=pentium3 -pipe" "CXX_FOR_BUILD=i686-pc-linux-gnu-g++"
29 "EXPECT=expect" "FLEX=flex" "INSTALL=/usr/bin/install -c"
30 "INSTALL_DATA=/usr/bin/install -c -m 644"
31 "INSTALL_PROGRAM=/usr/bin/install -c" "INSTALL_SCRIPT=/usr/bin/install
32 -c" "LDFLAGS_FOR_BUILD=-Wl,-O1 -Wl,--as-needed" "LEX=flex" "M4=m4"
33 "MAKE=make" "RUNTEST=runtest" "RUNTESTFLAGS=" "SED=/usr/bin/sed"
34 "SHELL=/bin/sh" "YACC=bison -y" "`echo 'ADAFLAGS=' | sed -e
35 s'/[^=][^=]*=$/XFOO=/'`" "ADA_CFLAGS=" "AR_FLAGS=rc" "`echo
36 'BOOT_ADAFLAGS=-gnatpg -gnata' | sed -e s'/[^=][^=]*=$/XFOO=/'`"
37 "BOOT_CFLAGS=-O2 -march=pentium3 -pipe" "BOOT_LDFLAGS=" "CFLAGS=-O2
38 -march=pentium3 -pipe" "CXXFLAGS=-O2 -march=pentium3 -pipe"
39 "LDFLAGS=-Wl,-O1 -Wl,--as-needed" "LIBCFLAGS=-O2 -march=pentium3 -pipe
40 " "LIBCXXFLAGS=-O2 -march=pentium3 -pipe -fno-implicit-templates "
41 "STAGE1_CHECKING=--enable-checking=release,types"
42 "STAGE1_LANGUAGES=c,lto" "GNATBIND=no" "GNATMAKE=no"
43 "AR_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ar"
44 "AS_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/as"
45 "CC_FOR_TARGET=/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/xgcc
46 -B/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/"
47 "CFLAGS_FOR_TARGET=-g -O2 -march=pentium3 -pipe"
48 "CPPFLAGS_FOR_TARGET=" "CXXFLAGS_FOR_TARGET=-O2 -march=pentium3 -pipe
49 -D_GNU_SOURCE" "DLLTOOL_FOR_TARGET=dlltool"
50 "FLAGS_FOR_TARGET=-B/usr/i686-pc-linux-gnu/bin/
51 -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include
52 -isystem /usr/i686-pc-linux-gnu/sys-include" "GCJ_FOR_TARGET="
53 "GFORTRAN_FOR_TARGET=/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/gfortran
54 -B/mnt/video/
55 tmp_portage/portage/sys-devel/gcc-4.6.3/work/build/./gcc/"
56 "GOC_FOR_TARGET=" "GOCFLAGS_FOR_TARGET=-O2 -g"
57 "LD_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ld" "LIPO_FOR_TARGET=lipo"
58 "LDFLAGS_FOR_TARGET=" "LIBCFLAGS_FOR_TARGET=-g -O2 -march=pentium3
59 -pipe" "LIBCXXFLAGS_FOR_TARGET=-O2 -march=pentium3 -pipe -D_GNU_SOURCE
60 -fno-implicit-templates" "NM_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/nm"
61 "OBJDUMP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/objdump"
62 "RANLIB_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/ranlib"
63 "STRIP_FOR_TARGET=/usr/i686-pc-linux-gnu/bin/strip"
64 "WINDRES_FOR_TARGET=windres" "WINDMC_FOR_TARGET=windmc"
65 "BUILD_CONFIG=bootstrap-debug" "`echo 'LANGUAGES=' | sed -e
66 s'/[^=][^=]*=$/XFOO=/'`" "LEAN=:" "STAGE1_CFLAGS="
67 "STAGE1_CXXFLAGS=-O2 -march=pentium3 -pipe" "STAGE1_TFLAGS="
68 "STAGE2_CFLAGS=-O2 -march=pentium3 -pipe -gtoggle"
69 "STAGE2_CXXFLAGS=-O2 -march=pentium3 -pipe" "STAGE2_TFLAGS="
70 "STAGE3_CFLAGS=-O2 -march=pentium3 -pipe" "STAGE3_CXXFLAGS=-O2
71 -march=pentium3 -pipe" "STAGE3_TFLAGS=" "STAGE4_CFLAGS=-O2
72 -march=pentium3 -pipe" "STAGE4_CXXFLAGS=-O2 -march=pentium3 -pipe"
73 "STAGE4_TFLAGS=" "STAGEprofile_CFLAGS=-O2 -march=pentium3 -pipe
74 -gtoggle -fprofile-generate" "STAGEprofile_CXXFLAGS=-O2
75 -march=pentium3 -pipe" "STAGEprofile_TFLAGS="
76 "STAGEfeedback_CFLAGS=-O2 -march=pentium3 -pipe -fprofile-use"
77 "STAGEfeedback_CXXFLAGS=-O2 -march=pentium3 -pipe"
78 "STAGEfeedback_TFLAGS=" "TFLAGS=" "CONFIG_SHELL=/bin/sh"
79 "MAKEINFO=makeinfo --split-size=5000000 --split-size=5000000" compare
80 make[2]: Entering directory
81 `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
82 make[3]: Entering directory
83 `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
84 rm -f stage_current
85 make[3]: Leaving directory
86 `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
87 Comparing stages 2 and 3
88 warning: gcc/cc1plus-checksum.o differs
89 warning: gcc/cc1-checksum.o differs
90 Bootstrap comparison failure!
91 gcc/varasm.o differs
92 make[2]: *** [compare] Error 1
93 make[2]: Leaving directory
94 `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
95 make[1]: *** [stage3-bubble] Error 2
96 make[1]: Leaving directory
97 `/mnt/video/tmp_portage/portage/sys-devel/gcc-4.6.3/work/build'
98 make: *** [bootstrap-lean] Error 2
99 emake failed
100 * ERROR: sys-devel/gcc-4.6.3 failed (compile phase):
101 * emake failed with bootstrap-lean
102 *
103 * Call stack:
104 * ebuild.sh, line 93: Called src_compile
105 * environment, line 4069: Called toolchain_src_compile
106 * environment, line 4729: Called gcc_do_make
107 * environment, line 2380: Called die
108 * The specific snippet of code:
109 * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}"
110 LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET}
111 || die "emake failed with ${GCC_MAKE_TARGET}";
112 =============================================
113
114 These are the relevant flags:
115 =============================================
116 # emerge --info sys-devel/gcc
117 Portage 2.1.11.50 (default/linux/x86/13.0/desktop, gcc-4.6.3,
118 glibc-2.15-r3, 3.7.9-gentoo i686)
119 =================================================================
120 System Settings
121 =================================================================
122 System uname: Linux-3.7.9-gentoo-i686-Intel-R-_Pentium-R-_III_Mobile_CPU_1066MHz-with-gentoo-2.1
123 KiB Mem: 639864 total, 324484 free
124 KiB Swap: 257004 total, 248080 free
125 Timestamp of tree: Sat, 23 Feb 2013 09:15:01 +0000
126 ld GNU ld (GNU Binutils) 2.22
127 app-shells/bash: 4.2_p37
128 dev-lang/python: 2.7.3-r2, 3.2.3
129 dev-util/cmake: 2.8.9
130 dev-util/pkgconfig: 0.28
131 sys-apps/baselayout: 2.1-r1
132 sys-apps/openrc: 0.11.8
133 sys-apps/sandbox: 2.5
134 sys-devel/autoconf: 2.13::<unknown repository>, 2.69
135 sys-devel/automake: 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.6
136 sys-devel/binutils: 2.22-r1
137 sys-devel/gcc: 4.6.3
138 sys-devel/gcc-config: 1.7.3
139 sys-devel/libtool: 2.4-r1
140 sys-devel/make: 3.82-r4
141 sys-kernel/linux-headers: 3.6 (virtual/os-headers)
142 sys-libs/glibc: 2.15-r3
143 Repositories: gentoo enlightenment x-portage
144 ACCEPT_KEYWORDS="x86"
145 ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x"
146 CBUILD="i686-pc-linux-gnu"
147 CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe"
148 CHOST="i686-pc-linux-gnu"
149 CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt
150 /usr/share/openvpn/easy-rsa"
151 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d
152 /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
153 /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
154 CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -msse -mmmx -pipe"
155 DISTDIR="/usr/portage/distfiles"
156 FCFLAGS="-O2 -march=i686 -pipe"
157 FEATURES="assume-digests binpkg-logs config-protect-if-modified
158 distlocks ebuild-locks fail-clean fixlafiles merge-sync news
159 parallel-fetch protect-owned sandbox sfperms strict
160 unknown-features-warn unmerge-logs unmerge-orphans userfetch
161 usersandbox"
162 FFLAGS="-O2 -march=i686 -pipe"
163 GENTOO_MIRRORS="http://gentoo.virginmedia.com/
164 http://gentoo.tiscali.nl/ http://de-mirror.org/distro/gentoo/
165 http://gentoo.mneisen.org/ http://gentoo.wheel.sk/
166 http://gentoo.mirror.pw.edu.pl/ http://gentoo.supp.name/"
167 LANG="en_GB.UTF-8"
168 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
169 MAKEOPTS="-j1"
170 PKGDIR="/usr/portage/packages"
171 PORTAGE_CONFIGROOT="/"
172 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times
173 --compress --force --whole-file --delete --stats --human-readable
174 --timeout=180 --exclude=/distfiles --exclude=/local
175 --exclude=/packages"
176 PORTAGE_TMPDIR="/mnt/video/tmp_portage"
177 PORTDIR="/usr/portage"
178 PORTDIR_OVERLAY="/var/lib/layman/enlightenment /usr/local/portage"
179 SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
180 USE="X a52 aac aalib acl acpi alsa asf atm berkdb bluetooth branding
181 bzip2 cairo cdda cdr cli consolekit cracklib crypt css cups curl cxx
182 dbus divx dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg flac
183 fontconfig fortran gdbm gif glitz gmedia gnutls gpm gtalk hpijs hpn
184 hybrid hybrid-auth iconv idea imagemagick imlib injection ipv6 irda
185 irmc jabber jpeg kde laptop lcms ldap libnotify live lm_sensors
186 logrotate mad madwifi matroska md5sum mjpeg mmx mng modplug modules
187 mp3 mp4 mpeg mplayer mudflap nat ncurses nls npp nptl nptlonly
188 nsplugin ntfs ogg opengl openmp pam pango pcmcia pcre pda pdf pmu png
189 policykit ppds qt3support qt4 rc5 rdesktop readline realmedia reiserfs
190 rfc3779 rt2500usb rtmp rtsp scanner sdl semantic-desktop session smime
191 speex spell sqlite sse ssl startup-notification svg svga tcpd theora
192 tidy tiff truetype udev udisks unicode upower usb vcd vnc vorbis vram
193 wmf wmp wxwidgets x264 x86 xcb xcomposite xine xml xmp xulrunner xv
194 xvid xvmc yv12 zlib" ALSA_CARDS="maestro3" ALSA_PCM_PLUGINS="adpcm
195 alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958
196 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate
197 route share shm softvol" APACHE2_MODULES="authn_core authz_core
198 socache_shmcb unixd actions alias auth_basic authn_alias authn_anon
199 authn_dbm authn_default authn_file authz_dbm authz_default
200 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
201 cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter
202 file_cache filter headers include info log_config logio mem_cache mime
203 mime_magic negotiation rewrite setenvif speling status unique_id
204 userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan
205 sheets stage tables krita karbon braindump" CAMERAS="fuji topfield"
206 COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
207 ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18
208 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver
209 oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip
210 tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev"
211 KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
212 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console
213 presenter-minimizer" LINGUAS="en en_GB el" PHP_TARGETS="php5-3"
214 PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2"
215 RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r200"
216 XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset
217 ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
218 logmark ipmark dhcpmac delude chaos account"
219 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL,
220 PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
221 PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
222
223 =================================================================
224 Package Settings
225 =================================================================
226
227 sys-devel/gcc-4.6.3 was built with the following:
228 USE="cxx fortran mudflap nls nptl openmp (-altivec) -bootstrap -build
229 -doc (-fixed-point) -gcj -go -graphite -gtk (-hardened) (-libssp)
230 (-multilib) -multislot -nopie -nossp -objc -objc++ -objc-gc -test
231 -vanilla"
232 CFLAGS="-O2 -march=i686 -pipe"
233 CXXFLAGS="-O2 -march=i686 -pipe"
234 =============================================
235
236 Any ideas how I can complete this emerge? Last time it was emerged
237 (whenever it became stable in portage) I don't recall having any
238 problems.
239 --
240 Regards,
241 Mick

Replies

Subject Author
Re: [gentoo-user] sys-devel/gcc-4.6.3 fails with Bootstrap comparison failure! Alan McKinnon <alan.mckinnon@×××××.com>