Worked fine to emerge gcc, but when I turned on the "fortran" USE-flag it failed to build. These are the flags: emerge -vp gcc [ebuild R ] sys-devel/gcc-4.1.1-r3 USE="doc fortran* gtk nls (-altivec) -bootstrap -build -gcj (-hardened) -ip28 -ip32r10k -mudflap (-multilib) -multislot (-n32) (-n64) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB Reproducible: Always Steps to Reproduce: 1.Add "fortran" to your USE flag 2.emerge gcc 3. Actual Results: . . . /usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/build/./gcc/xgcc -B/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/build/./gcc/ "" -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -DHAVE_CONFIG_H -I. -I/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/libgfortran -I. -iquote/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/libgfortran/io -I/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/libgfortran/../gcc -I/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/libgfortran/../gcc/config -I../.././gcc -D_GNU_SOURCE -std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings -O2 -march=athlon64 -O2 -pipe -fno-ident -c /usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/gcc-4.1.1/libgfortran/generated/pow_c8_i4.c -fPIC -DPIC -o .libs/pow_c8_i4.o xgcc: : No such file or directory make[4]: *** [pow_c8_i4.lo] Error 1 make[4]: Leaving directory `/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/build/x86_64-pc-linux-gnu/libgfortran' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/build/x86_64-pc-linux-gnu/libgfortran' make[2]: *** [all-target-libgfortran] Error 2 make[2]: Leaving directory `/usr/portage/tmp/portage/sys-devel/gcc-4.1.1-r3/work/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/portage/tmp/portage/sys-devel/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 1611: Called dyn_compile ebuild.sh, line 968: Called qa_call 'src_compile' environment, line 5334: Called src_compile ebuild.sh, line 1301: 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. !!! A complete build log is located at '/var/log/portage/sys-devel:gcc-4.1.1-r3:20070125-183127.log'. Expected Results: gcc-4.1.1-r3 emerged Portage 2.1.2-r4 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 x86_64) ================================================================= System uname: 2.6.19-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.9 Timestamp of tree: Thu, 25 Jan 2007 06:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.19.2-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fno-ident -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" 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="-march=athlon64 -O2 -pipe -fno-ident -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LINGUAS="en sv" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes" 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="/usr/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/xgl-coffee /usr/portage/local/layman/vmware" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acpi aim alsa amd64 amr apache2 avahi avi bash-completion beagle berkdb bitmap-fonts bluetooth browserplugin cairo calendar canvas cdparanoia cdr cli console cracklib crypt cups dbus dga dio directfb divx divx4linux dlloader doc dri dts dvd dvdr dvdread eds emboss encode exif fbcon fbdev ffmpeg fftw firefox foomaticdb fortran gdbm gif glade glibc-omitfp glitz glx gnome gphoto2 gpm gstreamer gtk gtk2 hal http iconv icq id3 imagemagick imlib ipv6 isdnlog jabber java javascript jpeg kdrive keyboard lame lzw lzw-tiff mad matroska mime mono mouse mozsvg mp3 mp4 mp4live mpeg msn mysql ncurses nls nptl nptlonly nsplugin nv nvidia obex offensive ogg oggvorbis opengl oscar pam pcre pdf perl player png pppd python qt3 qt4 quicktime readline realmedia reflection rtc ruby samba sdl seamonkey session spell spl sqlite3 ssl svg tcpd tga theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vesa vmmouse vmware vorbis wmf wmp x264 xcomposite xml xorg xpm xscreensaver xv xvid xvmc yahoo zlib zsh-completion" ALSA_CARDS="emu10k1 via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en sv" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS
I rebuilt it again without the flag, then built it with the flag, and now it went through. No idea what happened the first two times I tried to compile with the fortran flag, but anyway it worked now. Sorry for the bugzilla spamming..