View previous topic :: View next topic |
Author |
Message |
thorne Apprentice
Joined: 19 Sep 2002 Posts: 177
|
Posted: Sun Jan 22, 2006 7:00 am Post subject: xorg-x11 will not compile - segfault [solved] |
|
|
xorg-x11 will not compile. I've tried without and with PAM, also without opengl, xv, etc. This is a new install, so no previous version of x11 is installed.
Code: | emerge --info
Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 AMD Duron(tm) Processor
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2
sys-apps/sandbox: 1.2.11
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.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.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="x86 X alsa apm arts avi berkdb bitmap-fonts bzip2 crypt cups eds emboss encode expat foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imlib ipv6 jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pdflib perl png python quicktime readline samba sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY |
Code: | cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 7
model name : AMD Duron(tm) Processor
stepping : 1
cpu MHz : 1394.143
cache size : 64 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
bogomips : 2760.70 |
Code: | CFLAGS:
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
|
Code: | Emerge
i686-pc-linux-gnu-gcc -c -ansi -pedantic -Wno-return-type -w -I../../../../exports/include/X11 -I../../../../extras/Mesa/src/mesa/glapi -I../../../../extras/Mesa/src/mesa/math -I../../../../extras/Mesa/src/mesa/shader -I../../../../extras/Mesa/src/mesa/main -I../../../../extras/Mesa/src/mesa -I../../../../lib/GL/dri -I../../../../extras/Mesa/include -I../../../../lib/GL/include -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 -DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DMALLOC_0_RETURNS_NULL -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -O2 -mcpu=i686 -pipe -fno-strict-aliasing rastpos.c -o unshared/rastpos.o
rastpos.c: In function `compute_texgen':
rastpos.c:389: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
i686-pc-linux-gnu-gcc: Internal error: Segmentation fault (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[6]: *** [rastpos.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib/GL/mesa/main'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib/GL/mesa'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc'
make: *** [World] Error 2
!!! ERROR: x11-base/xorg-x11-6.8.2-r6 failed.
!!! Function build, Line 973, Exitcode 2
!!! make World failed
!!! If you need support, post the topmost build error, NOT this status message. |
_________________ Stupid bug, you go squish now!
-Homer Simpson
Registered linux user #287718
Last edited by thorne on Sun Jan 22, 2006 10:42 am; edited 1 time in total |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Sun Jan 22, 2006 8:12 am Post subject: |
|
|
Split from x11-base/xorg-x11-6.8.2-r6 failed to emerge as this is a seperate problem.
Segfaults while compiling often mean there is a hardware problem somewhere. Have you tried running memtest86+ for a few hours? It's on the livecd - type memtest at the boot: prompt. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
thorne Apprentice
Joined: 19 Sep 2002 Posts: 177
|
Posted: Sun Jan 22, 2006 9:12 am Post subject: |
|
|
Good idea. I had an address failure in the first 10 seconds of memtest86 running. I reseated the memory and am re-running memtest86. No failures so far. Hopefully that will do the trick. I'll let it run for a few hours, and if I don't see any anomalies I'll try emerging xorg-x11 again.
<edit>
It appears one of the 512MB memory sticks is defective. Hopefully pqi will honor the warranty since I only purchased them less than 6 months ago, and they come with a life time warranty. Also, the system seems to be running fine with only the remaining memory stick, and memtest86 has not reported any failures. I think it's time to start compiling again.
Thanks for your suggestion!
</edit> _________________ Stupid bug, you go squish now!
-Homer Simpson
Registered linux user #287718 |
|
Back to top |
|
|
thorne Apprentice
Joined: 19 Sep 2002 Posts: 177
|
Posted: Sun Jan 22, 2006 10:43 am Post subject: |
|
|
xorg-x11 compiled without errors once I removed the defective memory. _________________ Stupid bug, you go squish now!
-Homer Simpson
Registered linux user #287718 |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|