Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35491 - emerge gcc-3.2.3-r3 fails
Summary: emerge gcc-3.2.3-r3 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-09 16:56 UTC by Peter Whiting
Modified: 2004-04-18 22:40 UTC (History)
2 users (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 Whiting 2003-12-09 16:56:25 UTC
The end of the emerge looks like this;

make GCC_FOR_TARGET="./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include" \
  HOST_PREFIX="" HOST_PREFIX_1="ignore-" \
  AR_FOR_TARGET="` if [ -f
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ar ] ; then echo
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ar ; else if [
"i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ar; else
t='s,^,i686-pc-linux-gnu-,'; echo ar | sed -e $t ; fi; fi`" \
  AR_CREATE_FOR_TARGET="` if [ -f
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ar ] ; then echo
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ar ; else if [
"i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ar; else
t='s,^,i686-pc-linux-gnu-,'; echo ar | sed -e $t ; fi; fi`  rc" \
  AR_FLAGS_FOR_TARGET="" \
  CFLAGS="-O2 -march=athlon-xp -pipe -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long" \
  RANLIB_FOR_TARGET="` if [ -f
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ranlib ] ; then echo
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ranlib ; else if [
"i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ranlib; else
t='s,^,i686-pc-linux-gnu-,'; echo ranlib | sed -e $t ; fi; fi`" \
  RANLIB_TEST_FOR_TARGET="[ -f ` if [ -f
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ranlib ] ; then echo
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/ranlib ; else if [
"i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo ranlib; else
t='s,^,i686-pc-linux-gnu-,'; echo ranlib | sed -e $t ; fi; fi` ] || ( [
"i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] && [ -f /usr/bin/ranlib -o -f
/bin/ranlib ] )" \
  NM_FOR_TARGET="` if [ -f ./nm ] ; then echo ./nm ; elif [ -f
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/nm-new ] ; then echo
/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc/../binutils/nm-new ; else if [
"i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo nm; else
t='s,^,i686-pc-linux-gnu-,'; echo nm | sed -e $t ; fi; fi`" AWK="gawk" \
  LIBGCC2_CFLAGS="-O2  -DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -isystem ./include  -fPIC -DHAVE_SYSLOG -g
-DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED " \
  INCLUDES="-I. -I. -I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/.
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include" \
  CONFIG_H="tconfig.h " MACHMODE_H="machmode.h machmode.def" \
  LIB1ASMSRC='' \
  MAKEOVERRIDES= \
  -f libgcc.mk all
make[3]: Entering directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
for d in libgcc; do \
  if [ -d $d ]; then true; else /bin/sh
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/mkinstalldirs $d; fi; \
done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem
/usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 
-DIN_GCC    -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-isystem ./include  -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I.
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/.
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/config
-I/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/../include  -DL_muldi3 -c
/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/libgcc2.c -o libgcc/./_muldi3.o
xgcc: Internal error: Segmentation fault (program collect2)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [libgcc/./_muldi3.oS] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make[2]: *** [libgcc.a] Error 2
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.2.3-r3 failed.
!!! Function src_compile, Line 411, Exitcode 2
!!! (no error message)

================================================
emerge info gives this;

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r6)
=================================================================
System uname: 2.4.20-gentoo-r6 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode gif gpm jpeg libg++ libwww mad mikmod mpeg
ncurses nls pdflib png quicktime slang spell truetype xml2 xmms xv zlib directfb
gdbm berkdb readline arts bonobo svga java mysql postgres sdl tcpd pam ssl perl
python esd imlib oggvorbis motif opengl cdr X qt kde -gtk -gnome -alsa cups
foomaticdb ppds"


Reproducible: Always
Steps to Reproduce:
1. emerge system (gcc was first or second in the list)
2.
3.
Comment 1 Alexander Gabert (RETIRED) gentoo-dev 2004-03-04 05:23:09 UTC
did you manage to emerge a more recent version of gcc and may we close this problem now for you?

thanks,

Alex
Comment 2 Peter Whiting 2004-03-11 07:34:11 UTC
Yes, I've emerged a newer version now, so you can close this.  Thanks.
Comment 3 SpanKY gentoo-dev 2004-04-18 22:40:41 UTC
reporter says all is well :)