Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 28890 - gcc-3.3.1-r2 compile fails
Summary: gcc-3.3.1-r2 compile fails
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on: 28875
Blocks:
  Show dependency tree
 
Reported: 2003-09-16 09:08 UTC by Tassilo Horn
Modified: 2003-10-02 00:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tassilo Horn 2003-09-16 09:08:51 UTC
The compilation of gcc-3.3.1-r2 fails with the error: 
Bootstrap complete - make "quickstrap" to redo last build, 
or "cleanstrap" to redo the bootstrap from scratch. 
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.1-r2/work/build/gcc' 
Comparing stage2 and stage3 of the compiler 
make[1]: Entering directory `/var/tmp/portage/gcc-3.3.1-r2/work/build/gcc' 
rm -f .bad_compare 
case "compare-lean" in compare | compare-lean ) stage=2 ;; * ) stage=`echo 
compare-lean | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \ 
for file in *.o; do \ 
  tail -c +16 ./$file > tmp-foo1; \ 
  tail -c +16 stage$stage/$file > tmp-foo2 \ 
    && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >> .bad_compare) || 
true; \ 
done 
case "compare-lean" in compare | compare-lean ) stage=2 ;; * ) stage=`echo 
compare-lean | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \ 
for dir in tmp-foo intl cp f java objc; do \ 
  if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \ 
    for file in $dir/*.o; do \ 
      tail -c +16 ./$file > tmp-foo1; \ 
      tail -c +16 stage$stage/$file > tmp-foo2 \ 
        && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >> .bad_compare) 
|| true; \ 
    done; \ 
  else true; fi; \ 
done 
rm -f tmp-foo* 
case "compare-lean" in compare | compare-lean ) stage=2 ;; * ) stage=`echo 
compare-lean | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \ 
if [ -f .bad_compare ]; then \ 
  echo "Bootstrap comparison failure!"; \ 
  cat .bad_compare; \ 
  exit 1; \ 
else \ 
  case "compare-lean" in \ 
    *-lean ) rm -rf stage$stage ;; \ 
    *) ;; \ 
  esac; true; \ 
fi 
Bootstrap comparison failure! 
genpreds.o differs 
make[1]: *** [compare-lean] Error 1 
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.1-r2/work/build/gcc' 
make: *** [bootstrap-lean] Error 2 
 
!!! ERROR: sys-devel/gcc-3.3.1-r2 failed. 
!!! Function src_compile, Line 331, Exitcode 2 
!!! (no error message) 
 
 
emerge info says: 
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.40GHz 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs sandbox ccache" 
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ 
ftp://gentoo.inode.at/source/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" 
USE="x86 apm avi crypt cups encode gif jpeg mad mikmod mmx mpeg ncurses nls 
pdflib png quicktime spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline 
arts tetex svga tcltk java guile ruby mysql X sdl gpm tcpd pam libwww ssl perl python 
imlib oggvorbis gtk qt kde opengl ldap cdr apache2 dvd emacs flash gtk2 icc icc-pgo 
imagemagick imap innodb jack jikes kerberos krb4 lcd maildir mbox music offensive 
pcmcia pnp samba sasl slp socks5 sox sse tiff transcode usb videos wmf wxwindows 
xosd xvid -oss -foomaticdb -gnome -libg++ -aalib -esd -motif"
Comment 1 Brian Friday 2003-09-16 14:55:05 UTC
GCC 3.3.1-r2 is now a known bad ebuild. Please see bug #28875
http://bugs.gentoo.org/show_bug.cgi?id=28875

You will need to downgrade to gcc-3.3.1-r1 or gcc-3.2.3-r(3? latest version of this one). Also be aware that you will likely need to recompile any applications built by 3.3.1-r2. For more information on how to recover see the bug above.

Comment 2 Joshua Kinard gentoo-dev 2003-10-02 00:16:16 UTC
Resolving as WONTFIX.  gcc-3.3.1-r2 is a bad version.  gcc-3.3.1-r4 is available
in portage, so please use that.

For reference, see Bug #28875 for the solution to gcc-3.3.1-r2.