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

Bug 64954

Summary: xorg-x11 6.8.0-r1 compile error using gcc 3.4.1-r3
Product: Gentoo Linux Reporter: Ji-Young Kim <netmagic>
Component: [OLD] UnspecifiedAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED DUPLICATE    
Severity: normal CC: x11
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ji-Young Kim 2004-09-22 04:39:06 UTC
I got error emerge xorg-x11-6.8.0-r1 used by gcc 3.4.1-r3.
error is
--------------------------------------------------------
gcc -O2 -march=pentium-m -fomit-frame-pointer -mno-sse2 -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w    -fno-merge-constants -I. -I../../../../../../programs/Xserver/hw/xfree86/common -I../../../../../../programs/Xserver/hw/xfree86/os-support -I../../../../../../programs/Xserver/Xext            -I../../../../../../programs/Xserver/mfb -I../../../../../../programs/Xserver/mi -I../../../../../../programs/Xserver/cfb -I../../../../../../programs/Xserver/fb -I../../../../../../programs/Xserver/hw/xfree86/xaa            -I../../../../../../programs/Xserver/hw/xfree86/vgahw -I../../../../../../programs/Xserver/hw/xfree86/ramdac       -I../../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c         -I../../../../../../programs/Xserver/hw/xfree86/rac -I../../../../../../programs/Xserver/hw/xfree86/int10   -I../../../../../../programs/Xserver/hw/xfree86/xf24_32bpp -I../../../../../../include/fonts     -I../../../../../../programs/Xserver/hw/xfree86/xf8_32bpp -I../../../../../../programs/Xserver/hw/xfree86/xf1bpp            -I../../../../../../programs/Xserver/hw/xfree86/xf4bpp -I../../../../../../programs/Xserver/include -I../../../../../../exports/include/X11         -I../../../../../../programs/Xserver/hw/xfree86/ddc -I../../../../../../programs/Xserver/hw/xfree86/i2c -I../../../../../../include/extensions -I../../../../../../programs/Xserver/GL/dri -I../../../../../../lib/GL/dri -I../../../../../../extras/drm/shared         -I../../../../../../programs/Xserver/hw/xfree86/shadowfb -I../../../../../../programs/Xserver/hw/xfree86/fbdevhw        -I../../../../../../programs/Xserver/hw/xfree86/vbe     -I../../../../../../programs/Xserver/render  -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                           -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP       -DXCSECURITY -DTOGCUP   -DXF86BIGFONT -DDPMSExtension    -DPIXPRIV -DPANORAMIX   -DRENDER -DRANDR       -DXFIXES -DDAMAGE -DCOMPOSITE -DXEVIE -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH    -DXFreeXDGA -DXvExtension                                -DXFree86LOADER  -DXFree86Server                                -DXF86VIDMODE                          -DXvMCExtension                          -DSMART_SCHEDULE -DXResExtension                                 -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DXORG_VERSION_CURRENT="(((6) * 10000000) + ((8) * 100000) + ((0) * 1000) + 0)" -DNDEBUG   -DFUNCPROTO=15 -DNARROWPROTO  -DIN_MODULE -DXFree86Module -DGLXEXT -DXF86DRI -DGLX_DIRECT_RENDERING -DGLX_USE_DLOPEN -DGLX_USE_MESA -DPPC_MMIO_IS_BE -DSPARC_MMIO_IS_BE   -c glint_dri.c
glint_dri.c: In function `GLINTDRISwapContext':
glint_dri.c:1856: 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.8.0-r1/temp/ccVgJ4On.out file, please attach this to your bugreport.
make[7]: *** [glint_dri.o] error 1
make[7]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs/Xserver/hw/xfree86/drivers/glint'
make[6]: *** [all] error 2
make[6]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs/Xserver/hw/xfree86/drivers'
make[5]: *** [all] error 2
make[5]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs/Xserver/hw/xfree86'
make[4]: *** [hw/xfree86] error 2
make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs/Xserver'
make[3]: *** [all] error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc/programs'make[2]: *** [all] error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc'
make[1]: *** [World] error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r1/work/xc'
make: *** [World] error 2
-----------------------------------------------------------------------

Reproducible: Always
Steps to Reproduce:
1. USE="ipv6" emerge -b xorg-x11
2.
3.

Actual Results:  
compile error

Expected Results:  
emerge completed

Portage 2.0.51_rc1 (default-x86-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r0,
2.6.8-gentoo-r4 i686)
=================================================================
System uname: 2.6.8-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.70GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.91.0.2
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mtune=pentium-m -march=pentium-m -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mtune=pentium-m -march=pentium-m -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.gentoo.or.kr/ ftp://ftp2.tnc.edu.tw/pub1/Gentoo/
ftp://ftp.isu.edu.tw/pub/Linux/Gentoo http://ftp.isu.edu.tw/pub/Linux/Gentoo
http://www.zentek-international.com/mirrors/gentoo/
http://mirror.averse.net/pub/gentoo/ ftp://mirror.averse.net/pub/gentoo
http://gentoo.scphost.com ftp://mirrors.tds.net/gentoo http://mirror.gentoo.gr.jp"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi acpi4linux alsa arts avi berkdb bitmap-fonts cdr cjk crypt cups
directfb doc encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib
java jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline ruby sdl
slang spell sse sse2 ssl svga tcltk tcpd truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Joe McCann (RETIRED) gentoo-dev 2004-09-22 04:55:10 UTC
internal compiler error: segmentation fault.

This is usually caused by either bad hardware or a broken gcc install.
Comment 2 Donnie Berkholz (RETIRED) gentoo-dev 2004-09-22 11:25:51 UTC
Looks like a dup of #20600 if it's not reproduceable at exactly the same place. Is it?
Comment 3 Ji-Young Kim 2004-09-22 17:15:25 UTC
I tried compile used by gcc 3.3.4-r2 and success.
It seems that gcc 3.4 problem or xorg-x11 was not proper gcc 3.4 version.


*** This bug has been marked as a duplicate of 20600 ***