Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53463 - gcc-3.3.3-r6 fails to compile
Summary: gcc-3.3.3-r6 fails to compile
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
Depends on:
Reported: 2004-06-09 15:59 UTC by Peter Ruskin
Modified: 2004-08-27 03:20 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ruskin 2004-06-09 15:59:21 UTC
Can't find hwint.h (included in system.h) - funny, it builds OK on my other, similar box.  Here's the last of the log:

HEADERS="auto-host.h ansidecl.h  i386/i386.h i386/unix.h i386/att.h dbxelf.h elfos.h svr4.h linux.h i386/linux.h defaults.h" XM_DEFINES="POSIX" \
/bin/sh /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/ hconfig.h
hconfig.h is unchanged
make[2]: *** No rule to make target `hwint.h', needed by `gengenrtl.o'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.3-r6 failed.
!!! Function src_compile, Line 553, Exitcode 2
!!! (no error message)

# emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-, 2.6.7-rc2)
System uname: 2.6.7-rc2 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CONFIG_PROTECT="/etc /sbin /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O2 -pipe"
FEATURES="autoaddcvs ccache emergemail fixpackages nostrip notitles sandbox"
USE="X aalib acpi apm arts artswrappersuid avi berkdb cdr crypt cups doc dvd dvdr encode esd faad fbcon foomaticdb ggi gif gimp gimpprint gpm gtk gtk2 gtkhtml imlib innodb java joystick jpeg kde libg++ libwww linguas_en_GB mad maildir mbox mikmod mmx motif mozilla moznoirc mozsvg mpeg mysql ncurses nls nocardbus odbc oggvorbis ooo-kde opengl oss pam pdflib perl png postgres ppds python qt quicktime readline samba scanner sdl slang spell sse svg tcltk tcpd tetex tiff truetype unicode usb wmf x86 xml2 xmms xv xvid zlib"
Comment 1 Brandon Hale (RETIRED) gentoo-dev 2004-06-09 19:49:04 UTC
That is pretty odd.. could you rm -rf /var/tmp/portage/*
and try to make it fail again?
Comment 2 Peter Ruskin 2004-06-10 01:35:43 UTC
quote: could you rm -rf /var/tmp/portage/* and try to make it fail again?

I did that and failure is identical.
Comment 3 solar (RETIRED) gentoo-dev 2004-06-10 08:33:22 UTC
tseng there sorta seems to be a common thread here. 
It's 2.6.x users (probably headers?) that are reporting problems with the toolchain.
Comment 4 Peter Ruskin 2004-06-10 17:10:34 UTC
I got it to build after building development-sources-2.6.7_rc3.  The kernel options when gcc failed were:
-  no pre-emption
-  packet-writing patch

With preemption selected and no packet-writing patch, the kernel enabled gcc to build.  I don't know which is the culprit but I suspect the packet-writing.
Comment 5 Robert Baxter 2004-06-24 08:54:57 UTC
I had this exact error message when trying to update gcc while running 2.6.5-gentoo-r1/i686. After trying literally everything, I upgraded the kernel to 2.6.7-gentoo-r5/i686 and gcc compiled perfectly fine. More info available here:
Comment 6 solar (RETIRED) gentoo-dev 2004-08-26 16:37:34 UTC
gcc-3.3.4-rX is the current stable. 
Please emerge rsync and test with that.
Comment 7 Peter Ruskin 2004-08-27 03:20:43 UTC
gcc-3.3.4-r1 builds OK here, but I'm not currently using the packet-writing patch.