Click to See Complete Forum and Search --> : can't emerge xorg-x11


carbuncofeliz
05-15-2006, 09:09 AM
I'm not able to emerge xorg-x11:

emerge xorg-x11

I get
s_tritemp.h: In function `flat_ci_triangle':
s_tritemp.h:1298: internal compiler error: Illegal instruction
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[6]: *** [s_triangle.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r7/work/xc/lib/GL/mesa/swrast'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r7/work/xc/lib/GL/mesa'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r7/work/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r7/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r7/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r7/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.2-r7 failed.
!!! Function build, Line 973, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message.

Here is some more information
>> emerge --info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r6 i686)
================================================== ===============
System uname: 2.6.16-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python: 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
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.22
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-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/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri eds emboss encode esd expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY

I've done a four days memtest without getting any errors so I guess the RAM is OK.

Any idea??

TIA.

hard candy
05-15-2006, 11:50 AM
How much RAM do you have? Do you have swap enabled? Do you have headers for a 2.6.11 kernel and source for a 2.6.16 kernel?

carbuncofeliz
05-15-2006, 03:15 PM
I've 512MB of RAM, the swap is enabled, my kernel is a 2.6.16 but I don't know what headers you mean. May they be the linux-headers?? if they are, they're already installed.
I've got no idea what to do...I've tried lots of things but nothing seems to work.

TIA.

hard candy
05-15-2006, 04:16 PM
Signal 11 (http://www.bitwizard.nl/sig11/) the former tells all the possible reasons for a Signal 11. If your RAM has two modules, take one out, start the xorg compilation again, see if it crashes at the same place. Then try the other RAM module by itself., if it does the crash at the same place it is a compiler problem.
See the entry about memtest at the bottom of the listed article.
As far as headers go, I was talking about kernel headers. "Kernel-headers includes the C header files for the Linux kernel. The header files define structures and constants that are needed for building most standard programs. The header files are also needed for rebuilding the kernel."
I noticed on the output in the second window it said "virtual/os-headers: 2.6.11-r2" and I did not know if that was reflecting the version of the kernel headers you have installed or if it was something else.

mrrangerman43
05-15-2006, 05:35 PM
Do you have your CFLAGS and CXXFLAGS setup right? They would be in # nano -w /mnt/gentoo/etc/make.conf look here http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?full=1#installing_portage

carbuncofeliz
05-15-2006, 07:16 PM
I've got only one module of RAM but I've tried with other modules as you suggest.
The signal 11 looks interesting I was told that maybe the speed of the RAM is the problem but...as I've already said a 4-days memtest reported 0 errors (?)

I'm not quite sure if I understand you about the headers, I come from debian where I know there's a package called kernel-headers-xxx but in gentoo emerge --search kernel-headers gives 0 matches.

Finally, my CFLAGS and CXXFLAGS have been changed so many times that I'm not sure If they are correct or not; but I'd bet they aren't the solution (an infimun bet it's understood)

Thanks a lot!

je_fro
05-16-2006, 01:53 AM
Is this a new install?
It looks like hardware error to me....

carbuncofeliz
05-16-2006, 04:16 AM
Indeed, it's a new installation. I agree with you: it's probably a hardware error.
I tried to drop the speed of the RAM but either the computer doesn't start or the emerge command gives a similar error.

PS. I was able to install gentoo on my ibook G4 quite easily...this situation is getting funny, isn't it?

TIA.