Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115906 - Gcc 3.4.4-r1 fails to compile with gcc 3.3.6
Summary: Gcc 3.4.4-r1 fails to compile with gcc 3.3.6
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-17 22:35 UTC by Jordan Thoms
Modified: 2005-12-19 13:26 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 Jordan Thoms 2005-12-17 22:35:29 UTC
./genpeep /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-peep.c
/bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-peep.c insn-peep.c
echo timestamp > s-peep
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.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include  -c insn-peep.c \
  -o insn-peep.o
gcc -c    -O -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.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include  /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/genrecog.c -o genrecog.o
gcc    -O -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long    -DHAVE_CONFIG_H -DGENERATOR_FILE  -o genrecog \
        genrecog.o rtl.o read-rtl.o bitmap.o ggc-none.o min-insn-modes.o gensupport.o insn-conditions.o print-rtl1.o \
        errors.o ../libiberty/libiberty.a
./genrecog /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md > tmp-recog.c
/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/config/i386/i386.md:16308: warning: operand 1 missing mode?
/bin/sh /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/move-if-change tmp-recog.c insn-recog.c
echo timestamp > s-recog
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.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include  -c insn-recog.c \
  -o insn-recog.o
insn-recog.c: In function `recog_25':
insn-recog.c:37121: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/gcc-3.4.4-r1/temp/ccfFZXSg.out file, please attach this to your bugreport.
make[2]: *** [insn-recog.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc'
make: *** [profiledbootstrap] Error 2

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

/var/tmp/portage/gcc-3.4.4-r1/temp/ccfFZXSg.out : at http://www.sitesled.com/members/shadowservices/ccfFZXSg.out


gcc --version : gcc (GCC) 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)

bluebox jords # emerge --info
Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 AMD Sempron(tm)   2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.netnitco.net"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 AC3 X aalib alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups curl directfb dvd eds emboss encode esd exif expat fam ffmpeg foomaticdb fortran gd gdbm gif glut gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 jpeg junit kde lcms libg++ libwww mad mhash mikmod mng motif mp3 mpeg mysql ncurses nls nvidia ogg oggvorbis openal opengl oss pam pcre pdflib perl png python qt quicktime readline recode samba sdl slang spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

bluebox jords # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6 *
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
bluebox jords #
Comment 1 Jordan Thoms 2005-12-17 22:38:39 UTC
oops, that url does'nt work. When I try to attach it I get a empty file error. Try to attach it more later when I have time
Comment 2 Jordan Thoms 2005-12-18 00:22:33 UTC
Okay, I've piped the output from cat'ing the .out file into a normal text file- http://www.sitesled.com/members/shadowservices/ccfFZXSg.out.txt
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-18 01:02:28 UTC
Is this reproducibla, i.e. - does it fail again *exactly* at the same place?
Comment 4 Jordan Thoms 2005-12-18 12:01:41 UTC
Yes, it's always at the same place with same error.
Comment 5 Mark Loeser (RETIRED) gentoo-dev 2005-12-18 12:19:16 UTC
I can not reproduce this with the preprocessed output you gave us.  Have you tried recompiling gcc-3.3.6 and then trying gcc-3.4.4 again?
Comment 6 Jordan Thoms 2005-12-18 22:07:54 UTC
No, I'll try that and see if it fixes the problem
Comment 7 Jordan Thoms 2005-12-19 02:02:26 UTC
Very weird - Gcc 3.3.6 segfaulted while compiling 3.3.6, in the same file (but different line number)  as it fails when compiling 3.4.4-r1.

3.6/work/gcc-3.3.6/gcc -I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/. -I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/config -I/var/tmp/portage/gcc-3.3.6/work/gcc-3.3.6/gcc/../include -c insn-recog.c \
  -o insn-recog.o
insn-recog.c: In function `recog_1':
insn-recog.c:1373: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/gcc-3.3.6/temp/ccJGZqgg.out file, please attach this to your bugreport.
make[2]: *** [insn-recog.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.6/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.6 failed.


This seems to be just a problem caused by something on my system in paticular, but what that is I don't know.
Comment 8 Jordan Thoms 2005-12-19 13:26:04 UTC
Oka I replaced the gcc on my system with a binary gcc temporalily, compilied the new gcc  with it, and switched to that. The problem was probably just me goofing somewhere.