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

Bug 66477

Summary: emerge xorg-x11 failing: internal compiler error on gamma_texmem.c
Product: Gentoo Linux Reporter: Garth T Kidd <garthk>
Component: [OLD] UnspecifiedAssignee: Gentoo X packagers <x11>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Preprocessed source as requested.

Description Garth T Kidd 2004-10-05 17:58:16 UTC
When emerging xorg-x11, the compiler fails in gamma_texmem.c. 

Reproducible: Always
Steps to Reproduce:
1. emerge x11
Actual Results:  
rm -f gamma_texmem.o
gcc -c -O2 -march=pentium3 -fomit-frame-pointer -fno-strict-aliasing  -ansi -
pedantic -Wno-return-type -w  -I../../../../../../exports/include/X11 -I../../..
/../../../include/extensions -I../../../../../../extras/Mesa/src      -I../../..
/../../../lib/GL/mesa/src/drv/common           -I../../../../../../lib/GL/mesa/
src/drv/gamma -I../../../../../../lib/GL/dri              -I../../../../../../
lib/GL/glx          -I../../../../../../exports/include      -I../../../../../..
/exports/include/GL           -I../../../../../../programs/Xserver/GL/dri        
     -I../../../../../../programs/Xserver/hw/xfree86/os-support                -
I../../../../../../programs/Xserver/hw/xfree86/drivers/glint             -I../..
/../../../../programs/Xserver/hw/xfree86/common          -I../../../../../../
lib/GL/dri/drm                -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  -
DX_BYTE_ORDER=X_LITTLE_ENDIAN -DUSE_X86_ASM     -DXVENDORNAME='"The X.Org 
Foundation"' -DXVENDORNAMESHORT='"X.Org"'    -fPIC gamma_texmem.c
gamma_texmem.c: In function `gammaUploadTexLevel':
gamma_texmem.c:302: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/xorg-x11-6.7.0-r2/temp/
ccJ0rInZ.out file, please attach this to your bugreport.
make[6]: *** [gamma_texmem.o] Error 1
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/GL/
mesa/src/drv/gamma'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/GL/
mesa/src/drv'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib/GL'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.7.0-r2/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.7.0-r2 failed.
!!! Function src_compile, Line 584, Exitcode 2
!!! (no error message)


demolinux root # emerge info
Portage 2.0.50-r11 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.
8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 i686 Intel(R) Pentium(R) III CPU family      
1133MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X apm arts avi berkdb bitmap-fonts crypt cups encode foomaticdb gdbm gif 
gnome gpm gtk gtk2 imlib jpeg kde ldap libg++ libwww mad mikmod motif mpeg 
ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Garth T Kidd 2004-10-05 18:01:57 UTC
Created attachment 41190 [details]
Preprocessed source as requested.

Preprocessed source stored into
/var/tmp/portage/xorg-x11-6.7.0-r2/temp/ccJ0rInZ.out file, please attach this
to your bugreport.  

(compressed)
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-05 22:59:46 UTC
So, you're able to reproduce this consistently at gamma_texmem.c:302?
Comment 3 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-07 16:54:35 UTC

*** This bug has been marked as a duplicate of 20600 ***
Comment 4 Garth T Kidd 2004-10-10 21:50:09 UTC
Reverting to 2.4.26-gentoo-r9 fixed the problem.