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

Bug 21779

Summary: scripts/bootsrap.sh fails on Athlon XP/VIA KT333
Product: Gentoo Linux Reporter: Andrew V. Plekhanoff <ky3bmu4>
Component: [OLD] GCC PortingAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: High    
Version: 1.4_rc4   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Portage log
/etc/make.conf

Description Andrew V. Plekhanoff 2003-05-27 13:12:07 UTC
When I run bootstrap script, gcc3 compilling fails.

Last strings from /var/log/portage/927-gcc-3.2.3-r1.log

stage2/xgcc -Bstage2/ -B/usr/i686-pc-linux-gnu/bin/ -c -DIN_GCC    -
mcpu=athlon-xp -O3 -pipe -W -Wall -Wwrite-strings -Wstrict-prototypes -
Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long  -
DHAVE_CONFIG_H    -I. -I. -I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc -
I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/. -I/var/tmp/portage/gcc-
3.2.3-r1/work/gcc-3.2.3/gcc/config -I/var/tmp/portage/gcc-3.2.3-r1/work/gcc-
3.2.3/gcc/../include /var/tmp/portage/gcc-3.2.3-r1/work/gcc-
3.2.3/gcc/builtins.c -o builtins.o
/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/builtins.c: In function 
`expand_builtin_memcpy':
/var/tmp/portage/gcc-3.2.3-r1/work/gcc-3.2.3/gcc/builtins.c:4172: Internal 
compiler error in make_decl_rtl, at varasm.c:821
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [builtins.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc'
make[1]: *** [stage3_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r1/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.2.3-r1 failed.
!!! Function src_compile, Line 345, Exitcode 2
!!! (no error message)

It is bootspapping with USE settings:

USE="3dnow acpi alsa arts avi cdr cups doc emacs esd fbcon flash gif gnome gpm 
gtk gtk2 gtkhtml java jpeg kde mmx mozilla mpeg mule ncurces nls oggvorbis 
opengl oss pdflib perl png python qt quicktime scanner sse svga tcltk tiff 
truetype usb X Xaw3d xml xml2 xmms xv zlib"

and CFLAGS="-mcpu=athlon-xp -O3 -pipe"

If I change /etc/make.conf USE setting with other parameters, I have other 
fail with gcc3. 

Sorry for my poor english.
Comment 1 Andrew V. Plekhanoff 2003-05-27 13:19:06 UTC
Created attachment 12463 [details]
Portage log
Comment 2 Andrew V. Plekhanoff 2003-05-27 13:20:54 UTC
Created attachment 12464 [details]
/etc/make.conf

View USE settings!
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-31 06:49:09 UTC
Try with:  CFLAGS="-mcpu=athlon -O2 -pipe"

Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-06-30 14:59:32 UTC
No feedback.
Comment 5 Martin Schlemmer (RETIRED) gentoo-dev 2003-10-26 14:06:38 UTC
Still no feedback.