Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53486 - Compiling gcc-3.3.3-r6 over distcc ends to a segmentation fault
Summary: Compiling gcc-3.3.3-r6 over distcc ends to a segmentation fault
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-10 00:03 UTC by Antti Kajander
Modified: 2004-08-26 16:14 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 Antti Kajander 2004-06-10 00:03:42 UTC
I get the following error messages:
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/ssa.c: In function `rename_equivalent_regs_in_insn':
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/ssa.c:2053: internal compiler error: Segmentation fault
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [ssa.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc'
make[1]: *** [stage2_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)

I tried to compile it with distcc on PC1, i586 pentium. On PC2 there was the distccd running, PC2 is an i686 pentium 4 (no ht). Both PCs run gentoo gnu/linux. PC2 had already the new gcc-3.3.3-r6 emerged. PC1 had and still sadly has gcc-3.3.2-r5.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r3)
=================================================================
System uname: 2.4.25-gentoo-r3 i586 Pentium 75 - 200
Gentoo Base System version 1.4.16
distcc 2.13 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium -pipe -fomit-frame-pointer"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.linux.ee/pub/gentoo/distfiles/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apm crypt gdbm ipv6 libg++ libwww ncurses nls pam perl readline slang spell
ssl svga tcpd x86 xml2 zlib"
Comment 1 Lisa Seelye (RETIRED) gentoo-dev 2004-06-10 12:25:47 UTC
can you reproduce this? use DISTCC_VERBOSE='1' DISTCC_LOG='/tmp/distcclog_gcc.txt' emerge gcc

be sure to post the error point (the invocaton of gcc where it segfaults)
Comment 2 Antti Kajander 2004-06-12 08:13:18 UTC
I already compiled it locally, it took two days but at least worked.
The error message shows where the problem should be, line 2053 in ssa.c.
Comment 3 solar (RETIRED) gentoo-dev 2004-08-26 16:14:32 UTC
Bug reporter failed to follow developer instructions and worked around problem in another way. 

Closing bug as WORKFORSOME.