/home/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/varasm.c: In function 'default_elf_asm_named_section': /home/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/varasm.c:5745: error: coverage mismatch for function 'default_elf_asm_named_section' while reading counter 'arcs' /home/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/varasm.c:5745: error: number of counters is 23 instead of 18 /home/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/varasm.c: In function 'default_function_rodata_section': /home/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/varasm.c:5745: error: coverage mismatch for function 'default_function_rodata_section' while reading counter 'arcs' /home/tmp/portage/gcc-4.1.1/work/gcc-4.1.1/gcc/varasm.c:5745: error: number of counters is 26 instead of 20 make[2]: *** [varasm.o] Erreur 1 make[2]: Leaving directory `/home/tmp/portage/gcc-4.1.1/work/build/gcc' make[1]: *** [stagefeedback_build] Erreur 2 make[1]: Leaving directory `/home/tmp/portage/gcc-4.1.1/work/build/gcc' make: *** [profiledbootstrap] Erreur 2 !!! ERROR: sys-devel/gcc-4.1.1 failed. Call stack: ebuild.sh, line 1543: Called dyn_compile ebuild.sh, line 938: Called src_compile ebuild.sh, line 1252: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1528: Called gcc_do_make toolchain.eclass, line 1402: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. I get this error when I try to update my gcc, I think it's caused by my cflags ... here is the emerge --info : Portage 2.1.1_rc1-r2 (default-linux/x86/no-nptl, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r13 i686) ================================================================= System uname: 2.6.16-gentoo-r13 i686 AMD Athlon(tm) XP 1700+ Gentoo Base System version 1.12.4 Last Sync: Thu, 31 Aug 2006 00:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.4.3-r3 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -m3dnow -msse -pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=64 -ftracer -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -m3dnow -msse -pipe -fomit-frame-pointer -fforce-addr -frerun-cse-after-loop -frerun-loop-opt -falign-functions=64 -ftracer -maccumulate-outgoing-args -ffast-math -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userfetch" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://gentoo.modulix.net/gentoo/" LANG="fr_FR" LC_ALL="" LINGUAS="fr" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apache2 apm arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups curl dbus directfb dlloader dri dvd elibc_glibc emboss encode esd expat fam fbcon ffmpeg flac foomaticdb gdbm ggi gif glitz gmp gnutls gpm gtk gtk2 hal howl idn ieee1394 imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k kde kdeenablefinal kernel_linux lcms libcaca libg++ libwww linguas_fr lm_sensors logrotate mad mikmod mmx mmxext mng mp3 mpeg mplayer mysql ncurses nls nntp nogecko-sdk nsplugin nvidia ogg opengl pam pcre pdflib perl php png posix ppds pppd python qt qt3 quicktime readline real reflection samba sasl sdl session speex spell spl sql sse sse2 ssl subversion svg svga tcpd tetex threads tiff truetype truetype-fonts type1-fonts userland_GNU userlocales v4l v4l2 vcd video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa vorbis win32codecs wmf xcomposite xine xml xml2 xorg xscreensaver xv xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #0) > I get this error when I try to update my gcc, I think it's caused by my cflags > ... Good guess. So what was the point of filling the bug, reassuring us that ricer cflags result in brokedness? Thanks, we already know :)
> I get this error when I try to update my gcc, I think it's caused by my cflags So why don't you set your flags to something sane and try again? :P OTOH, gcc strips all your ricer flags anyway.
I think it could be nice if the CFLAGS were filtered out
WTF are you thinking with those CFLAGS? Dammit they're not magical talismans.
That's the first problem I ever had with my cflags, even openoffice compilled fine... I removed some of them and it compilled. CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -m3dnow -msse -pipe -fomit-frame-pointer -ffast-math"