Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81897 - emerge of gcc-3.3.1-r5 fails with Segmentation fault
Summary: emerge of gcc-3.3.1-r5 fails with Segmentation fault
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:
: 81901 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-13 12:15 UTC by id_prog
Modified: 2005-02-18 09:48 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 id_prog 2005-02-13 12:15:50 UTC
the "emerge --update --deep world" breaks at the step of installing gcc-3-3-1-r5

Reproducible: Always
Steps to Reproduce:
1.emerge --update --deep world
2.
3.

Actual Results:  
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c    -O2 -march=pentium2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/config
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/../include
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/sched-vis.c -o sched-vis.o
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/sched-rgn.c: In function
`is_conditionally_protected':
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/sched-rgn.c:1665: internal
compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c    -O2 -march=pentium2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/config
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/../include
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/sdbout.c -o sdbout.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c    -O2 -march=pentium2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/config
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/../include
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/sibcall.c -o sibcall.o
stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c    -O2 -march=pentium2
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wtraditional -pedantic -Wno-long-long   -DHAVE_CONFIG_H    -I. -I.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/.
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/config
-I/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/../include
/var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/gcc/simplify-rtx.c -o simplify-rtx.o
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [sched-rgn.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.5-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.5-r1 failed.
!!! Function gcc_do_make, Line 1093, Exitcode 2
!!! emake failed with bootstrap-lean
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
emerge without errors

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r13 i686)
=================================================================
System uname: 2.6.9-gentoo-r13 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 19:18:16)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups dvd encode esd
f77 fam flac font-server foomaticdb fortran gdbm gif gpm gtk2 imagemagick imlib
ipv6 java jpeg kde libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis
opengl oss pam pdflib perl png python qt quicktime readline sdl spell ssl svga
tcpdtiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-02-13 12:36:51 UTC
*** Bug 81901 has been marked as a duplicate of this bug. ***
Comment 2 id_prog 2005-02-18 09:48:27 UTC
1. emerge sync (rerun)
2. etc-update
3. emerge --update --deep world (rerun)

gcc emerge successfully !

i set the bug to resolved status.