This is reproducable on my system x86 K6 with 196M RAM, 500M Swap space, 27gb free disk space and due to blocking packages I couldn't get rid of I used USE="-X -xorg-x11" emerge -vun system. I guess should have enough RAM :) After emerging about 163 packages I get: Assembler messages: FATAL: can't create libgcc/./_muldi3.o: No such file or directory make[3]: *** [libgcc/./_muldi3.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make[2]: *** [libgcc.a] Error 2 make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make[1]: *** [stageprofile_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.1.1 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 1535: Called gcc_do_make toolchain.eclass, line 1409: Called die !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, and the call stack if relevant. Gentoo Base System version 1.6.14 Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i586) ================================================================= System uname: 2.6.15-gentoo-r1 i586 AMD-K6(tm) 3D+ Processor Last Sync: Mon, 16 Oct 2006 03:20:01 +0000 ccache version 2.3 [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.12 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-r1 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-O2 -mcpu=i586 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/rc.d /etc/terminfo /etc/wget" CXXFLAGS="-O2 -mcpu=i586 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distcc distlocks keeptemp keepwork metadata-transfer noclean notitles sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ LINGUAS="de@euro" 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.europe.gentoo.org/gentoo-portage" USE="x86 X alsa berkdb bitmap-fonts bzip2 cairo cdr cli crypt cups dbase dbus dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd ethereal fam firefox fortran ftp gdbm gif gphoto2 gpm gstreamer gtk gtk2 hal ieee1394 imagemagick input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kernel_linux ldap lesstif libg++ linguas_de@euro mad mikmod mng mp3 mpeg mplayer ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline recode reflection sasl scanner sdl session smartcard sndfile sox spell spl ssl svga tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l vcd video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis win32codecs xine xinerama xml xmms xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Please note the CXXFLAGS set are ** NOT ** system specific, just plain i586 !! I have searched bugzilla before with my summary above but could not find anything related except one post pointing to skrewed up hardware. I am doing "emerge -vu system" on my other systems to see if bug show up there.
run `emerge gcc >& log` and post the log as an attachment
Unable to add attachment due to reproducable ATTACHMENT bug, see following error: Internal Error Link: Top [IMG] Home | Docs | Forums | Lists | Bugs | Planet | Store | GWN | Get Gentoo! Internal Error Bugzilla has suffered an internal error. Please save this page and send it to bugzilla@gentoo.org with details of what you were doing at the time this message appeared. undef error - Undefined subroutine Fh::slice at data/template/template/en/custom/global/hidden-fields.html.tmpl line 58 Bugzilla Version 2.20+ Actions: Home | New | Search | bug # _______ [ Find ] | Reports | Requests | New Account | Log In http://bugs.gentoo.org/ I have been getting this bug earlier with other bug report attachment posting trials but cannot report to bugzilla because no commandline mail functionality available (I use thunderbird on another system and haven't yet managed to get mail working under linux due to lack of knowledge, HOWTO appreciated on this). This ATTACHMENT bug is reproducable via links, lynx and mozilla-browser. I will send the logfile for BUG 151773 to vapier@gentoo.org directly, hoping to have his allowance for this special case. Logfile is too long to post here.
Created attachment 99993 [details] gcc-log.bz2
log attached
I had the same problem during rebuilding the toolchain. I continued with the rest (libtool,portage,libstdc++), then deleted the workdir of gcc (keepwork was enabled), then emerged gcc, and now it works.
does gcc-3.4.6 work ?
Is this still a problem for you? I can't reproduce it.