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

Bug 2756

Summary: Xfree86 Compile Error: Internal Compiler Error ar Light.c
Product: Gentoo Linux Reporter: Bryan York <lovespizza>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: blocker CC: lovespizza
Priority: High    
Version: 1.1a   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bryan York 2002-05-15 12:23:18 UTC
I watched it compile and I knew it would crash and found where it went wrong. 
If anyone wants the complete lof file let me know and I could e-mail it. I will 
post the relevent parts:

I../../../../exports/include -I../../../../exports/include/X11 -
I../../../../include/extensions -I../../../../extras/Mesa/src -
I../../../../lib/GL/dri -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 -DUSE_X86_ASM -
DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_KATMAI_ASM imaging.c
rm -f light.o
gcc -c -march=i686 -O3 -pipe -ansi -I../../../../exports/include -
I../../../../exports/include/X11 -I../../../../include/extensions -
I../../../../extras/Mesa/src -I../../../../lib/GL/dri -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 -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -
DUSE_KATMAI_ASM light.c
light.c: In function `_mesa_GetMaterialfv':
light.c:1015: Internal compiler error in `convert_regs', at reg-stack.c:2885
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
cpp0: output pipe has been closed
make[5]: *** [light.o]

../../../../../lib/GL/mesa/src/light.o: No such file or directory
make[5]: *** [libOSMesa.a] Error 1
make[5]: Target `all' not remade because of errors.
rm -f libOSMesa.so.3.3~
+ cd .
+ gcc -o ./libOSMesa.so.3.3~ -shared -Wl,-soname,libOSMesa.so.3 osmesa.o

-L../../../../../exports/lib -lGL -lc
gcc: ../../../../../lib/GL/mesa/src/light.o: No such file or directory
+ rm -f libOSMesa.so.3
+ ln -s libOSMesa.so.3.3 libOSMesa.so.3
+ rm -f ../../../../../exports/lib/libOSMesa.so.3
+ cd ../../../../../exports/lib
+ ln -s ../../lib/GL/mesa/src/OSmesa/libOSMesa.so.3 .
rm -f libOSMesa.so.3.3
mv -f libOSMesa.so.3.3~ libOSMesa.so.3.3
mv: cannot stat `libOSMesa.so.3.3~': No such file or directory
make[5]: *** [libOSMesa.so.3.3] Error 1
make[5]: Target `all' not remade because of errors.
make[5]: Leaving directory 

../../../../../lib/GL/mesa/src/light.o: No such file or directory
make[4]: *** [libOSMesa.a] Error 1
make[4]: Leaving directory `/var/tmp/portage/xfree-4.2.0-
r9/work/xc/lib/GL/mesa/src/OSmesa'
make[3]: *** [install] Error 2
make[3]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r9/work/xc/lib/GL'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r9/work/xc/lib'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.2.0-r9/work/xc'
make: *** [install] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 2, Exitcode 2
!!! (no error message)

...done!
>>> emerge x11-base/xfree-4.2.0-r9 to /
>>> md5 ;-) X420src-1.tgz
>>> md5 ;-) X420src-2.tgz
>>> md5 ;-) X420src-3.tgz
>>> md5 ;-) 4.2.0-xlib-i18n-module.patch
>>> md5 ;-) 4.2.0-zlib-security.patch
>>> md5 ;-) 4.2.0-libGLU-bad-extern.patch
>>> md5 ;-) truetype.tar.gz
!!! emerge aborting on /usr/portage/x11-base/xfree/xfree-4.2.0-r9.ebuild .
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-05-15 12:31:34 UTC
This is very likely a hardware stability problem.  Xfree86 generally brings out
extreme stability problems like this.  Try memtest86 and cpuburn from freshmeat
to diagnose the problem.  it is probably due to bad memory or an undercooled
CPU.  This is almost certainly the problem if you emerge xfree again and it dies
in a slightly *different* place on your second try.