Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80479 - xorg-x11-6.8.0-r3 fails to emerge on amd64, gets error at glxinfo
Summary: xorg-x11-6.8.0-r3 fails to emerge on amd64, gets error at glxinfo
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-02 08:26 UTC by Greg Kuhn
Modified: 2005-07-06 08:07 UTC (History)
0 users

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 Greg Kuhn 2005-02-02 08:26:33 UTC
When attempting to emerge xorg-x11 on amd64, it fails at glxinfo

Reproducible: Always
Steps to Reproduce:
1.emerge xorg-x11
2.
3.

Actual Results:  
make[5]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/xphelloworld/xpsimplehelloworld'
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/xphelloworld'
making all in programs/scripts...
make[4]: Entering directory
`/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/scripts'
rm -f xon._man
if test -z "true" ; then \
   cd `dirname xon` && \
   ln -s `basename xon.man` `basename xon._man`; \
else \
             cpp -traditional  -D__apploaddir__=/usr/X11R6/lib/X11/app-defaults
-D__appmansuffix__=1x -D__filemansuffix__=5x -D__libmansuffix__=3x
-D__miscmansuffix__=7x -D__drivermansuffix__=4x -D__adminmansuffix__=8
-D__projectroot__=/usr/X11R6 -D__xconfigfile__=xorg.conf
-D__xconfigdir__=/etc/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg
-D__xorgversion__='"" ""' -D__vendorversion__="`echo 6 8 0 | sed -e 's/ /./g' -e
's/^/Version\\\ /'` X.Org"  \
     < xon.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d'                     -e
'/^#line  *[0-9][0-9]*  *.*$/d'                      -e '/^[        
]*XCOMM$/s/XCOMM/#/'                      -e '/^[        
]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/'                        -e '/^[        
]*XHASH/s/XHASH/#/'                     -e '/\@\@$/s/\@\@$/\\/' >xon._man; \
fi
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/scripts'
making all in programs/glxinfo...
make[4]: Entering directory
`/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/glxinfo'
x86_64-pc-linux-gnu-gcc -march=k8 -O3 -fomit-frame-pointer -pipe
-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    -DDO_GLU    -c -o glxinfo.o glxinfo.c
rm -f glxinfo
x86_64-pc-linux-gnu-gcc -o glxinfo -march=k8 -O3 -fomit-frame-pointer -pipe
-fno-strict-aliasing -ansi -pedantic -Wno-return-type -w     -L../../exports/lib
  glxinfo.o -lGLU -lGL -lXext -lX11  -lpthread -lm  
-Wl,-rpath-link,../../exports/lib
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
warning: libstdc++.so.6, needed by ../../exports/lib/libGLU.so, not found (try
using -rpath or -rpath-link)
../../exports/lib/libGLU.so: undefined reference to `operator
delete(void*)@GLIBCXX_3.4'
../../exports/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `operator
delete[](void*)@GLIBCXX_3.4'
../../exports/lib/libGLU.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `operator new[](unsigned
long)@GLIBCXX_3.4'
../../exports/lib/libGLU.so: undefined reference to
`__gxx_personality_v0@CXXABI_1.3'
../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned
long)@GLIBCXX_3.4'
collect2: ld returned 1 exit status
make[4]: *** [glxinfo] Error 1
make[4]: Leaving directory
`/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs/glxinfo'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc/programs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc'
make[1]: *** [World] Error 2
make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.0-r3/work/xc'
make: *** [World] Error 2

!!! ERROR: x11-base/xorg-x11-6.8.0-r3 failed.
!!! Function src_compile, Line 631, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
emerged xorg-x11

Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 FX-53 Processor
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Feb  1 2005, 23:54:51)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -fomit-frame-pointer -funit-at-a-time -ftracer -fweb
-frename-registers -fprefetch-loop-arrays -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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=k8 -O3 -fomit-frame-pointer -funit-at-a-time -ftracer -fweb
-frename-registers -fprefetch-loop-arrays -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://twmlinux.raleigh.ibm.com/gentoo
ftp://dsse.con.can.ibm.com/gentoo ftp://gentoo.mirrors.pair.com/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://www.gtlib.cc.gatech.edu/pub/gentoo"
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 aac aalib acpi aim alsa amd64 avi bash-completion berkdb bitmap-fonts
cdparonia cdr cjk crypt cscope cups dga directfb divx4linux dvd dvdr dvdread
encode esd f77 fam fbcon flac font-server foomaticdb fortran ftp gif gphoto2 gpm
gtk gtk2 icq imagemagik imlib ipv6 ithreads java jp2 jpeg lcms lm_sensors lzw
lzw-tiff mad mikmod mozxmlterm mp3 mpeg msn multilib nas ncurses nls nptl ogg
oggvorbis opengl oscar oss pam perl pic png ppds pthreads python quicktime
readline samba scanner sdl slang spell ssl svg tcpd tiff truetype truetype-fonts
type1-fonts usb userlocales xine xinerama xml2 xmms xosd xpm xprint xrandr xv
xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-02 23:10:58 UTC
Looks like the gcc bug from earlier -- bug #80434. I hit nearly the exact same error from that.
Comment 2 Greg Kuhn 2005-02-02 23:20:33 UTC
I may "fixed" the problem for my situation. After much aggrevation of not being able to compile anything, I decided to emerge gcc. It compiled successfully. I then started an emerge -e world, which had been failing in the past. I am now on count 155 of 301. This whole problem started because the fonts were displayed  incorrectly in X. So I started digging and found an error in my make.conf. I made the change but still no go on remerging xorg-x11. I hope this is useful and makes some sense.
Comment 3 Greg Kuhn 2005-02-02 23:21:40 UTC
by the way this is a new install, only 5 or 6 days old.
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2005-02-05 00:54:55 UTC
Removing x11, see comment #1.
Comment 5 justin moser 2005-03-10 18:49:05 UTC
i'm just a regular user, however i might have a suggestion:

"CXXFLAGS="-march=k8 -O3 -fomit-frame-pointer -funit-at-a-time -ftracer -fweb
-frename-registers -fprefetch-loop-arrays -pipe ""

if these are the use flags in make.conf, consider throttling them down for your install of xorg-x11. i've had trouble with cflags that are claimed to be safe but on occasion causes an emerge to fail miserably. i've been told cflags in amd64 are especially shady.

if these are just what the ebuild added on itself, then disregard my suggestion. 
Comment 6 Simon Stelling (RETIRED) gentoo-dev 2005-06-19 08:40:59 UTC
does it still fail with 6.8.2?
Comment 7 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-07-06 08:07:09 UTC
Resolving because of lack of response.  Please reopen if it still fails.