I currently have sys-devel/gcc-4.1.1-r1 installed. According to revdep-rebuild, it should be re-emerged. (And according to dbus, I should run revdep-rebuild.) Re-emerging sys-devel/gcc-4.1.1-r1 fails. Emerging sys-devel/gcc-4.1.1-r3 fails with the same message. Reproducible: Always Steps to Reproduce: 1. emerge -v1 =sys-devel/gcc-4.1.1-r1 2. nedit /etc/portage/package.keywords 3. emerge -v1 =sys-devel/gcc-4.1.1-r3 Actual Results: mkdir java/lang/.libs /var/tmp/portage/gcc-4.1.1-r3/work/build/gcc/gcj -B/var/tmp/portage/gcc-4.1.1-r3/work/build/x86_64-pc-linux-gnu/libjava/ -B/var/tmp/portage/gcc-4.1.1-r3/work/build/gcc/ -fomit-frame-pointer -fclasspath= -fbootclasspath=/var/tmp/portage/gcc-4.1.1-r3/work/build/x86_64-pc-linux-gnu/libjava/classpath/lib --encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -O2 -pipe -D_ENABLE_SECRET_OPTIMIZATIONS -MT java/lang/Class.lo -MD -MP -MF java/lang/.deps/Class.Tpo -c /var/tmp/portage/gcc-4.1.1-r3/work/gcc-4.1.1/libjava/java/lang/Class.java -fPIC -o java/lang/.libs/Class.o gcj: can't specify '-D' without '--main' make[4]: *** [java/lang/Class.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r3/work/build/x86_64-pc-linux-gnu/libjava' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r3/work/build/x86_64-pc-linux-gnu/libjava' make[2]: *** [all-target-libjava] Error 2 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r3/work/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1-r3/work/build' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.1-r3 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile ebuild.sh, line 1255: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1537: Called gcc_do_make toolchain.eclass, line 1411: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. Expected Results: Expected it to finish compiling and to merge. (Is the "Expected Results" section on the bug report form applicable, in this case?) Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r5 x86_64) ================================================================= System uname: 2.6.18-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.6 Last Sync: Fri, 26 Jan 2007 06:01:01 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -fomit-frame-pointer -s -pipe -D_ENABLE_SECRET_OPTIMIZATIONS" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -fomit-frame-pointer -s -pipe -D_ENABLE_SECRET_OPTIMIZATIONS" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://mirror.gentoo.no http://mirror.uni-c.dk/gentoo" LDFLAGS="-Wl,-O1,-z,now" MAKEOPTS="-j2" 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.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib aiglx alsa alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol ansi arts asf avi bdf berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dk dlloader doc dri dvd dvdr dvdread editor eds elibc_glibc emboss encode esd exif fam ffmpeg firefox flac font-server foomaticdb fortran gcc64 gcj gdbm gif gnutls gpm gstreamer gtk gtk2 hal iconv imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jpeg kde kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text ldap libcaca libg++ linguas_da linguas_en linguas_pt_BR live logitech-mouse mad mikmod mng mozilla mozsvg mp3 mpeg mudflap mysql ncurses network nls nodrm nptl nptlonly nsplugin nvidia objc objc++ objc-gc ogg oggvorbis opengl oss pam pcre pdf perl png povray ppds pppd python qt qt3 qt4 quicktime readline reflection rle samba sdl se se_swedb session speex spell spl ssl svg tcpd tetex tga theora tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 vcd video_cards_nv video_cards_nvidia video_cards_s3 video_cards_v4l video_cards_vesa video_cards_vga video_cards_via vorbis wma xcomposite xine xml xorg xscreensaver xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
your flux capacitor is missing uranium -D_ENABLE_SECRET_OPTIMIZATIONS
Remove the crap from your C[XX]FLAGS; we don't care.