Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54106 - xorg-x11-6.7.0-r1 fails to compile on amd64 platform using gcc 3.4
Summary: xorg-x11-6.7.0-r1 fails to compile on amd64 platform using gcc 3.4
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 11:21 UTC by Andrew Williams
Modified: 2004-06-21 02:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Williams 2004-06-16 11:21:51 UTC
Attempting to emerge xorg-x11-6.7.0-r1 on my amd64 fails. It compiles for a while and then dies with an error in the xorg-x11-6.7.0-r1/work/xc/lib/Xt directory. Might be gcc 3.4 related but I don't have version 3.3 installed to check.

Reproducible: Always
Steps to Reproduce:
1. emerge -u x11-base/xorg-x11
2.
3.
Actual Results:  
It compiles for a while until: 
 
gcc -c -ansi -pedantic -Wno-return-type -w    -I../.. -I../../exports/include   
-Dlinux -D__amd64__ -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      -DUSE_SNPRINTF 
-DLIBXT     -DXVENDORNAME='"The X.Org Foundation"' 
-DXVENDORNAMESHORT='"X.Org"'   -O2 -march=athlon64 -pipe -fomit-frame-pointer 
-fno-strict-aliasing   Convert.c -o unshared/Convert.o 
rm -f Convert.o 
gcc -c -O2 -march=athlon64 -pipe -fomit-frame-pointer -fno-strict-aliasing  
-ansi -pedantic -Wno-return-type -w    -I../.. -I../../exports/include   
-Dlinux -D__amd64__ -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      -DUSE_SNPRINTF 
-DLIBXT     -DXVENDORNAME='"The X.Org Foundation"' 
-DXVENDORNAMESHORT='"X.Org"'    -fPIC Convert.c 
rm -f Converters.o unshared/Converters.o 
gcc -c -ansi -pedantic -Wno-return-type -w    -I../.. -I../../exports/include   
-Dlinux -D__amd64__ -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      -DUSE_SNPRINTF 
-DLIBXT     -DXVENDORNAME='"The X.Org Foundation"' 
-DXVENDORNAMESHORT='"X.Org"'   -O2 -march=athlon64 -pipe -fomit-frame-pointer 
-fno-strict-aliasing   Converters.c -o unshared/Converters.o 
make[4]: *** [Converters.o] Killed 
make[4]: Leaving directory 
`/data/port_tmp/portage/xorg-x11-6.7.0-r1/work/xc/lib/Xt'make[3]: *** [all] 
Error 2 
make[3]: Leaving directory 
`/data/port_tmp/portage/xorg-x11-6.7.0-r1/work/xc/lib' 
make[2]: *** [all] Error 2 
make[2]: Leaving directory `/data/port_tmp/portage/xorg-x11-6.7.0-r1/work/xc' 
make[1]: *** [World] Error 2 
make[1]: Leaving directory `/data/port_tmp/portage/xorg-x11-6.7.0-r1/work/xc' 
make: *** [World] Error 2 
 
!!! ERROR: x11-base/xorg-x11-6.7.0-r1 failed. 
!!! Function src_compile, Line 702, Exitcode 2 
!!! (no error message) 
 

Expected Results:  
Emerged. 

ACCEPT_KEYWORDS="~amd64" 
CFLAGS="-O2 -march=athlon64 -mtune=athlon64 -pipe -maccumulate-outgoing-args 
-fomit-frame-pointer -fweb" 
CXXFLAGS="${CFLAGS}" 
 
GCC version 3.4.0-r6 
gcc34-amd64-2004.1 profile
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-20 22:38:24 UTC
I know you guys love to be on every bug that amd64 users have, so here ya go.
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-06-20 23:49:03 UTC
I just tried and 6.7.0-r1 compiled and installed fine. So let's check USE flags.

phi / # emerge info
Portage 2.0.51_pre10 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O2 -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache cvs sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://sigma/gentoo-portage"
USE="X aalib alsa amd64 apm arts artswrappersuid avi berkdb cdr crypt cups dvb dvd dvdr encode esd f77 foomaticdb freetype gdbm gif gpm gtk gtk2 guile imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mozilla moznocompose moznoirc mpeg multilib mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt qt-mt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype type1 v4l wmf wxwindows xml2 xmms xosd xv zlib"

Andrew: please add your emerge info as well.
Comment 3 Andrew Williams 2004-06-21 01:51:57 UTC
Well, something's happened in the time since I reported it as it compiles perfectly now. Hmmm.... I upgraded to gentoo-dev-sources-2.6.7. Can't think of anything else. Unless anyone else is having a similar problem you can probably consider this problem solved!
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2004-06-21 02:17:33 UTC
Thanks -- if it crops up again, feel free to reopen.