Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56454 - build of gcc-3.3.3-r6 fails at main.c
Summary: build of gcc-3.3.3-r6 fails at main.c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-08 07:04 UTC by Markus Baumgartl
Modified: 2004-07-16 03:04 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 Markus Baumgartl 2004-07-08 07:04:28 UTC
While gcc-3.3.3-r5 has been build without any problems, the r6 version doesnt like to:

gcc   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/config -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/../include \
-DPREFIX=\"/usr\" \
  -c /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/prefix.c -o prefix.o
gcc -c   -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/config -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/../include /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/mbchar.c -o mbchar.o
rm -rf libcpp.a
ar rc libcpp.a cpplib.o cpplex.o cppmacro.o cppexp.o cppfiles.o cpptrad.o cpphash.o cpperror.o cppinit.o cppdefault.o cppmain.o hashtable.o line-map.o mkdeps.o prefix.o mbchar.o
ranlib libcpp.a
make[2]: *** No rule to make target `main.c', needed by `main.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 568, Exitcode 2
!!! (no error message)

Further Informations about the system:

# emerge info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3.20040420-r0, 2.4.22-gentoo-r7)
=================================================================
System uname: 2.4.22-gentoo-r7 i686 AMD Duron(tm) processor
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="apm arts avi berkdb crypt cups encode foomaticdb gd gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 solar (RETIRED) gentoo-dev 2004-07-08 07:58:53 UTC
rare freaky bug... emerge rsync ; clean your cache ; can your /var/tmp/portage/gcc* and try again..

We have hundreds of people that have built this gcc version fine.
Comment 2 Alexander Gabert (RETIRED) gentoo-dev 2004-07-08 12:43:02 UTC
can you remove the -march=athlon and change the -O 3 to -O 2, then change the MAKEOPTS to -j 1 please and report back?

thanks,

Alex
Comment 3 Markus Baumgartl 2004-07-09 07:09:16 UTC
Im gonna try this as soon as I get near the machine. This will be by the middle of next week. Thanks for your help by now.
Comment 4 Markus Baumgartl 2004-07-16 03:04:53 UTC
Ok! Now it worked. (Using -O2 and -j1)
Seems as if the Duron on that machine has problems with bigger optimizations.