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
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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:

TM_DEFINES="" \
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" \
TARGET_CPU_DEFAULT="TARGET_CPU_DEFAULT_pentiumpro" \
/bin/sh /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/mkconfig.sh 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.3.3.20040420-r0, 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
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
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"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache emergemail fixpackages nostrip notitles sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
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 http://w1.894.telia.com/~u89404340/patches/packet/2.6/packet-2.6.6.patch.bz2

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: http://forums.gentoo.org/viewtopic.php?p=1275413#1275413
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.