Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 62607

Summary: USE="f77" emerge gcc-3.3.2-r5 crashed
Product: Gentoo Linux Reporter: Pawel Dluzewski <pdluzew>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WORKSFORME    
Severity: normal CC: eradicator
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Pawel Dluzewski 2004-09-02 04:53:25 UTC
I can't emerge f77 by
USE="f77" emerge gcc

Reproducible: Always
Steps to Reproduce:
1. I can not emerge f77. Many times I gave 
USE="f77" emerge gcc
After a "correct" rebuliding of gcc I still had not g77.
 
2. Making a subsequent trial I gave mistakenly  emerge gcc

3. Next, when emerging gcc had been finished sucessfully I gave again 
USE="f77" emerge gcc

And I have obtained: 
...
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[2]: *** [combine.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make: *** [bootstrap-lean] Error 2

More details are below
Actual Results:  
...
echo timestamp > s-codes
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/builtins.c -o builtins.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/caller-save.c -o caller-save.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/calls.c -o calls.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfg.c -o cfg.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfganal.c -o cfganal.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfgbuild.c -o cfgbuild.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfgcleanup.c -o cfgcleanup.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfglayout.c -o cfglayout.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfgloop.c -o cfgloop.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/cfgrtl.c -o cfgrtl.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -I.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/genattr.c -o genattr.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/   -march=pentium4 -pipe -O2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long   -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genattr \
 genattr.o rtl.o read-rtl.o bitmap.o ggc-none.o gensupport.o insn-conditions.o
print-rtl1.o \
    errors.o ../libiberty/libiberty.a
./genattr /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config/i386/i386.md >
tmp-attr.h
/bin/sh /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/move-if-change
tmp-attr.h insn-attr.h
echo timestamp > s-attr
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c   -march=pentium4 -pipe
-O2 -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.2-r5/work/gcc-3.3.2/gcc
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/.
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/config
-I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/../include
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c -o combine.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c: In function
`make_compound_operation':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/gcc/combine.c:6815: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproduceable, so it is likely a hardware or OS problem
make[2]: *** [combine.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.2-r5 failed.
!!! Function src_compile, Line 435, Exitcode 2


Expected Results:  
It seems to me that there exist some problem with emerging f77 for gcc3.3. 
I had instaled Gentoo over three months ago and as yet I never have achieved
succes in emerging g77. Many times giving  USE="f77" emerge gcc the instalation
was carried out (correctly? -reporting some empty directories) but after that
bash reported that g77 command was not found while gcc was.

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.26)
=================================================================
System uname: 2.4.26 i686 Intel(R) Pentium(R) 4 CPU 1.80GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo
http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif
gnome gphoto2 gpm gtk gtk2 imlib java jpeg kde kerberos leim libg++ libwww mad
mikmod motif mozilla mpeg mule ncurses nls oggvorbis opengl oss pam pdflib perl
plotutils png ppds python qt quicktime readline scanner sdl slang spell ssl svga
tcpd tetex tiff truetype usb wmf x86 xml2 xmms xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 01:46:07 UTC
Are you still having this problem with versions of gcc in portage?
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 19:49:57 UTC
Upgrade to the newest stable version of GCC.