install error during merge of sys-devel/gcc-4.0.2_pre20050917 only submitted 'cause of msg in ebuild --- >> WORKDIR is up-to-date, keeping... >>> It appears that gcc is already compiled; skipping. >>> (clean to force compilation) >>> It appears that gcc has already been tested; skipping. >>> Install gcc-4.0.2_pre20050917 into /var/tmp/portage/gcc-4.0.2_pre20050917/image/ category sys-devel * Installing GCC... /bin/sh /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/mkinstalldirs /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr mkdir -p -- /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr make[1]: Entering directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build/fixincludes' rm -rf /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/libexec/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools /bin/sh /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/fixincludes/../mkinstalldirs /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/libexec/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools mkdir -p -- /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/libexec/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools /bin/sh /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/fixincludes/../mkinstalldirs /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/lib/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools/include mkdir -p -- /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/lib/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools/include /bin/install -c -m 644 /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/fixincludes/README-fixinc \ /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/lib/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools/include/README /bin/install -c fixinc.sh /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/libexec/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools/fixinc.sh /bin/install -c fixincl \ /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/libexec/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools/fixincl /bin/install -c mkheaders /var/tmp/portage/gcc-4.0.2_pre20050917/image//usr/libexec/gcc/i686-pc-linux-gnu/4.0.2-pre20050917/install-tools/mkheaders make[1]: Leaving directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build/fixincludes' make[1]: Entering directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build/gcc' gcc -O2 -march=pentium-m -pipe -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/gcc -I/var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/gcc/. -I/var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/gcc/../include -I/var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/gcc/../libcpp/include \ -DPREFIX=\"/usr\" \ -c /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/gcc/prefix.c -o prefix.o /var/tmp/portage/gcc-4.0.2_pre20050917/work/gcc-4.0.2-20050917/gcc/prefix.c:0: warning: `prefix.gcda' is version ` Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/gcc-4.0.2_pre20050917/temp/ccem8G3C.out file, please attach this to your bugreport. make[1]: *** [prefix.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gcc-4.0.2_pre20050917/work/build/gcc' make: *** [install-gcc] Error 2 !!! ERROR: sys-devel/gcc-4.0.2_pre20050917 failed. !!! Function gcc-compiler_src_install, Line 1413, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: merge stopped Expected Results: merge finished Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-s uspend2-r4 i686) ================================================================= System uname: 2.6.13-suspend2-r4 i686 Intel(R) Pentium(R) M processor 1500MHz Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share /config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kd e/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/ distributions/gentoo" LANG="de_DE.UTF-8" LINGUAS="de" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/sonix /usr/local/gentoo-de" SYNC="rsync://thunderbird/portage" USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts bluetooth cdr crypt cups curl directfb divx4linux dvd dvdr emboss encode fam fbcon fbspla sh flac foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 guile i8x0 icq imagem agick imlib ipv6 java jpeg junit kde kdeenablefinal ldap libcaca libg++ libwww m ad mikmod mmx mmxext motif mozilla mp3 mpeg mysql ncurses network nls nptl nptlo nly ogg oggvorbis opengl pam pcmcia pdflib perl png ppds python qt quicktime rea dline ruby samba sdl slang sse sse2 ssl svga tcltk tcpd tetex tiff truetype true type-fonts type1-fonts unicode usb vorbis win32codecs xine xml2 xmms xv zlib vid eo_cards_i830 linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Created attachment 68864 [details] Attachement wanted by ebuild maintainer
That is gcc-3.4.4 ICE'ing there. Could you please try upgrading to gcc-3.4.4-r1 and then give it another try.
It was done with 3.4.4-r1: -- gcc (GCC) 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) Copyright (C) 2004 Free Software Foundation, Inc.
Is this reproducable in the same spot everytime?
(In reply to comment #4) > Is this reproducable in the same spot everytime? My amd64 fails with the same error at the same place, so I think it is reproducible. # gcc -v Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/specs Configured with: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu Thread model: posix gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8) # emerge --info Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.11 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig cvs distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa apache2 avi bash-completion berkdb bitmap-fonts cdr crypt cups curl doc dvd eds emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde libwww lzw lzw-tiff mad motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl pda pdflib perl png pyste python qt quicktime readline ruby sdl slang spell ssl tcltk tcpd tetex tiff truetype-fonts type1-fonts unicode usb userlocales vorbis xine xml2 xmms xpm xprint xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
>> WORKDIR is up-to-date, keeping... >>> It appears that gcc is already compiled; skipping. >>> (clean to force compilation) >>> It appears that gcc has already been tested; skipping. that looks all screwed up ... run `rm -rf /var/tmp/portage` and then `emerge gcc` again
No Problems during merge with gcc-4.0.1 changed to fixed
The makefile for gcc-4.0.2 needs to be fixed, it shouldn't be calling the current system compiler.
*** Bug 107693 has been marked as a duplicate of this bug. ***
*** Bug 108161 has been marked as a duplicate of this bug. ***
*** Bug 108243 has been marked as a duplicate of this bug. ***
gcc -g -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wno-error -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-4.0.2-r1/work/gcc-4.0.2/gcc -I/var/tmp/portage/gcc-4.0.2-r1/work/gcc-4.0.2/gcc/. -I/var/tmp/portage/gcc-4.0.2-r1/work/gcc-4.0.2/gcc/../include -I/var/tmp/portage/gcc-4.0.2-r1/work/gcc-4.0.2/gcc/../libcpp/include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc/\" -DSTANDARD_LIBEXEC_PREFIX=\"/usr/libexec/gcc/\" -DDEFAULT_TARGET_VERSION=\"4.0.2\" -DDEFAULT_TARGET_MACHINE=\"x86_64-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/x86_64-pc-linux-gnu/gcc-bin/4.0.2/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c /var/tmp/portage/gcc-4.0.2-r1/work/gcc-4.0.2/gcc/gcc.c -o gcc.o) /var/tmp/portage/gcc-4.0.2-r1/work/gcc-4.0.2/gcc/gcc.c:0: warning: `gcc.gcda' is version ` Internal compiler error: Error reporting routines re-entered. Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/gcc-4.0.2-r1/temp/ccM2CX40.out file, please attach this to your bugreport. make: *** [gcc.o] Error 1 * Creating a hardened no-pie no-ssp gcc specs file /usr/portage/eclass/toolchain.eclass: line 603: ./xgcc: No such file or directory
I am also seeing this with 4.0.2 and 4.0.2-r1. Portage 2.0.53_rc4 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-gentoo-r2 i686) ================================================================= System uname: 2.6.13-gentoo-r2 i686 AMD Athlon(tm) XP 2700+ Gentoo Base System version 1.12.0_pre8 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 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 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -finline-functions -ftracer -fweb -maccumulate-outgoing-args -fprefetch-loop-arrays" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -finline-functions -ftracer -fweb -maccumulate-outgoing-args -fprefetch-loop-arrays -fvisibility-inlines-hidden" DISTDIR="/mnt/distfiles" FEATURES="autoconfig distcc distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com http://mirror.datapipe.net/gentoo" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aac aalib alsa apm avi bash-completion berkdb bitmap-fonts cairo cdr crypt cups curl dba dedicated doc dri dv dvd dvdr dvdread emboss encode esd exif faad fam ffmpeg firefox flac foomaticdb fortran gdbm gif glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib ipv6 java jpeg junit lcms ldap libg++ libwww mad matroska mikmod mmx mmx2 mono motif mozilla mp3 mpeg ncurses network nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png ppds python qt quicktime readline real samba sasl scanner sdl session slang spell sse ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb vhosts videos vorbis win32codecs wmf xine xml xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
ok, I am still having this problem, the status is reopened, does that mean there was a solution that worked for some people? if so can someone clarify what it was? I tried removing /var/tmp/portage and emerge -uDv world again, still happens. I know it only works for some people if there was a semi-solution, but inhopes of being one of thos epeople I would like to knwo what the workaround is. If there is no such workaround and I am mistaken then I appologise in advance and ask for a kind responce.
(In reply to comment #8) > The makefile for gcc-4.0.2 needs to be fixed, it shouldn't be calling the > current system compiler. Is there a upstream bugreport?
(In reply to comment #15) > (In reply to comment #8) > > The makefile for gcc-4.0.2 needs to be fixed, it shouldn't be calling the > > current system compiler. > > Is there a upstream bugreport? No, as this is a Gentoo specific problem. There are problems with how we are currently generating spec files for split_specs support. I'm going to take this out for now, which should resolve this for everyone, until we come up with a better solution.
Fixed in the tree. We have to come up with a better way to handle spec files with gcc-4, but that is another issue entirely.
This is not resolved fixed, reopen it. A gcc compiler should not be using built-in specs just because "it works". -Alex
i said reopen it.
i dont think there's much value in this old bug report gcc-4.x handling of specs has been superseded by kevquinn's work
This bug report is 2 years old. Now, GCC 4.2 is out since almost a month and gentoo has no ebuild available for it because of this bug. The ebuild is hard masked because of this bug. 1. Is this bug valid? 2. If not, why is the gcc 4.2 ebuild hard masked then? Please, let's get done this before gcc 4.3 is out ;-) Daniel (In reply to comment #20) > i dont think there's much value in this old bug report > > gcc-4.x handling of specs has been superseded by kevquinn's work >
this bug has nothing to do with the masking of gcc-4.2.0
From the gcc-4.2 ebuild: "hard disable until #106690 is fixed" (In reply to comment #22) > this bug has nothing to do with the masking of gcc-4.2.0 >
Way do we still have SPLIT_SPECS=no #${SPLIT_SPECS-true}... in the gcc-4.x ebuilds when we don't use it?
SPLIT_SPECS is still used in toolchain.eclass. if you have cleanups, take it up in a new bug. this one is ancient.