Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103874 - gcc 3.4.4 finishes bootstrapping with errors
Summary: gcc 3.4.4 finishes bootstrapping with errors
Status: RESOLVED DUPLICATE of bug 73422
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-26 21:27 UTC by Vadim
Modified: 2006-01-17 14:59 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 Vadim 2005-08-26 21:27:30 UTC
I tried to gentoo on AMD64 from stage1 using Gentoo Linux AMD64 Handbook. I
tried to progress from stage1 to stage2 but finished with an error in i386.c. I
tried to bootstrap again and it finished sucsessfuly. When I tried to go to
stage3 I recieved an error Segmentation fault. I tried several times but it
didn`t work. Then I desided to rebootstrap. But recieved almost same error from gcc.
/bin/sh /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/move-if-change
tmp-attrtab.c insn-attrtab.c
echo timestamp > s-attrtab
stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/    -march=athlon64 -O2
-pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition    
-DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/.
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include  -c insn-attrtab.c \
  -o insn-attrtab.o
insn-attrtab.c: In function `internal_dfa_insn_code':
insn-attrtab.c:22564: internal compiler error: Bus error
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [insn-attrtab.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2

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


/bin/sh /var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/move-if-change tmp-recog.c
insn-recog.c
echo timestamp > s-recog
stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/    -march=athlon64 -O2
-pipe -fprofile-generate -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition    
-DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/.
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include  -c insn-recog.c \
  -o insn-recog.o
insn-recog.c: In function `recog_19':
insn-recog.c:29493: 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 reproducible, so it is likely a hardware or OS problem.
make[2]: *** [insn-recog.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stageprofile_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2

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

stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c    -march=athlon64 -O2
-pipe -fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition    
-DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/.
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include 
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/final.c -o final.o
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/final.c: In function
`final_start_function':
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/final.c:1348: error: stray '\160'
in program
make[2]: *** [final.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2

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

stage1/xgcc -Bstage1/ -B/usr/x86_64-pc-linux-gnu/bin/ -c    -march=athlon64 -O2
-pipe -fprofile-use -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition    
-DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/.
-I/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/../include 
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/reload.c -o reload.o
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/reload.c: In function
`find_reloads_address_1':
/var/tmp/portage/gcc-3.4.4/work/gcc-3.4.4/gcc/reload.c:5446: 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 reproducible, so it is likely a hardware or OS problem.
make[2]: *** [reload.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make[1]: *** [stagefeedback_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc'
make: *** [profiledbootstrap] Error 2

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



Reproducible: Couldn't Reproduce
Steps to Reproduce:
1.Reproducibility is impossible(to my mind) because the errors are different
2.
3.




emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6
                                                                            
.11-gentoo-r3-k8 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3-k8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
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="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
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="amd64 X alsa avi berkdb bitmap-fonts crypt cups eds encode foomaticdb fortr
                                                                             an
gif gpm gstreamer gtk2 imlib ipv6 jpeg kde lzw lzw-tiff mp3 mpeg ncurses nls   
                                                                          
opengl pam pdflib perl png python qt quicktime readline sdl spell ssl tcpd tiff
                                                                             
truetype-fonts type1-fonts usb userlocales xpm xv zlib userland_GNU kernel_linux
                                                                             
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2005-12-11 20:50:13 UTC

*** This bug has been marked as a duplicate of 20600 ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-01-17 14:59:00 UTC
Reopen to dupe properly...
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-17 14:59:21 UTC

*** This bug has been marked as a duplicate of 73422 ***