Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 115653 - xorg compilation makes gcc crash
Summary: xorg compilation makes gcc crash
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-15 06:24 UTC by Julien Bigot
Modified: 2005-12-16 15: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 Julien Bigot 2005-12-15 06:24:42 UTC
I first managed to emerge xorg.  
I haven't changed neither CFLAGS nor compiler but emerge -e world or emerge  
xorg-x11 now fails. 

Reproducible: Always
Steps to Reproduce:
emerge xorg-x11  
  
(I tried to set locale to en_US but errors are still in french, sorry about 
that) 
Actual Results:  
make[5]: Entering directory 
`/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib/GLU/libnurbs/internals' 
rm -f arc.o unshared/arc.o 
c++ -m32 -c   -I../nurbtess     -I../../libutil         -I../../include        
-I../../../../include    -I../../../../include/GL -I../../../.. 
-I../../../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                     
-D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE 
-D_SVID_SOURCE                             -D_GNU_SOURCE                             
-D_EXTENSIONS_ -DLIBRARYBUILD -DNDEBUG       -march=athlon-xp -O2 -pipe 
-fno-strict-aliasing   arc.cc -o unshared/arc.o 
c++: Erreur internal error: Instruction ill
Comment 1 Julien Bigot 2005-12-15 06:24:42 UTC
I first managed to emerge xorg.  
I haven't changed neither CFLAGS nor compiler but emerge -e world or emerge  
xorg-x11 now fails. 

Reproducible: Always
Steps to Reproduce:
emerge xorg-x11  
  
(I tried to set locale to en_US but errors are still in french, sorry about 
that) 
Actual Results:  
make[5]: Entering directory 
`/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib/GLU/libnurbs/internals' 
rm -f arc.o unshared/arc.o 
c++ -m32 -c   -I../nurbtess     -I../../libutil         -I../../include        
-I../../../../include    -I../../../../include/GL -I../../../.. 
-I../../../../exports/include  -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L                     
-D_POSIX_SOURCE -D_XOPEN_SOURCE                          -D_BSD_SOURCE 
-D_SVID_SOURCE                             -D_GNU_SOURCE                             
-D_EXTENSIONS_ -DLIBRARYBUILD -DNDEBUG       -march=athlon-xp -O2 -pipe 
-fno-strict-aliasing   arc.cc -o unshared/arc.o 
c++: Erreur internal error: Instruction illégale (programme cc1plus) 


# emerge info 
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.14-gentoo-r2 i686) 
================================================================= 
System uname: 2.6.14-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3200+ 
Gentoo Base System version 1.6.13 
dev-lang/python:     2.3.5-r2, 2.4.2 
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="-march=athlon-xp -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/pam.d /etc/splash /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig candy distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://delirium.ens.insa-rennes.fr/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.gentoo.skynet.be/pub/gentoo/" 
LANG="en_US.UTF8" 
LC_ALL="en_US.UTF8" 
LINGUAS="fr" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
SYNC="rsync://delirium.ens.insa-rennes.fr/gentoo-portage" 
USE="x86 16bit 3dnow 3dnowex 3dnowext X aac acpi acpi4linux alsa amarok apm asf 
audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cap cdio 
cdr cdrom chroot crypt css curl dbus dga divx4linux dlloader dv dvb dvd dvdr 
dvdread emboss encode erandom exif expat fam fbcon fbdev ffmpeg font-server 
foomaticdb freetype fs gif gmp gphoto2 gpm gtk2 hal i8x0 idn imagemagick imap 
imlib java jpeg kde kdeenablefinal lcms libg++ libwww lirc lufsusermount mad 
mikmod mjpeg mmx mmxext mng mozilla mp3 mpeg musepack musicbrainz ncurses nls 
nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis ooo-kde opengl 
openssh pam pcre pdflib perl pic png python qt quicktime readline real sdl 
sndfile spell sql sse ssl subversion tcpd tetex tiff transcode truetype 
truetype-fonts type1-fonts udev unicode usb userlocales v4l videos 
visualization vorbis win32codecs xine xml2 xv xvid zeroconf zlib linguas_fr 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-12-15 15:39:56 UTC
Most likely you ran out of memory or your hardware is broken (bad ram,
overheating box,...). Does it fail in the same line, when you try to emerge xorg
again?
Comment 3 Julien Bigot 2005-12-15 16:50:20 UTC
yes I tried to emerge 3 times, 3 times the same error. 
 
Maybe a hardware problem which caused gcc to be broken due to an error during 
its own compilation. 
(I said it is after an emerge -e world that this has firstly happend) 
 
I am currently reemerging gcc, will post reports when finished. 
Comment 4 Julien Bigot 2005-12-16 15:59:46 UTC
Ok, recompiled gcc and xorg has correctly compiled.
Sorry, my fault.