When I emerge gcc-3.3.4-r1 with -frepo in CXXFLAGS it compiles fine but I think g++ dont work good. Reproducible: Always Steps to Reproduce: 1.CXXFLAGS="${CFLAGS} -frepo" emerge gcc 2.emerge fam (see bug 70830 http://bugs.gentoo.org/show_bug.cgi?id=70830) root@Barrikada fran # emerge info Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r4 i686) ================================================================= System uname: 2.6.9-gentoo-r4 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fforce-addr -frerun-cse-after-loop -maccumulate-outgoing-args -ffast-math" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O2 -pipe -fforce-addr -frerun-cse-after-loop -maccumulate-outgoing-args -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex X acpi alsa apm avi berkdb bitmap-fonts crypt cups divx4linux dvd encode esd f77 fam foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal imagemagick imlib jpeg libg++ libwww mad mikmod mmx motif mpeg ncurses nls nptl offensive oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl spell sse ssl svga tcltk tcpd tiff truetype usb v4l videos wxwindows x86 xml xml2 xmms xv zlib linguas_es"
*** Bug 70830 has been marked as a duplicate of this bug. ***
gcc runs `strip-flags` which removes that from CXXFLAGS among other things
And why it don't work in my system?
i dont know, but the bug you think exists doesnt gcc isnt built with -frepo