Regardless of glx setting, eselect opengl set xorg or nvidia, cannot get xorg-x11-6.8.2-r6 to successfully build. Have tried removing the source and downloading again, removing the /var/tmp/portage/xorg-x11-6.8.2-r6 (everytime). Reproducible: Always Steps to Reproduce: 1. rm -rf /var/tmp/portage/xorg-x11-6.8.2-r6 && rm -rf /usr/portage/distfiles/xorg* 2. emerge --ask --update --deep --newuse system 3. xorg-x11-6.8.2-r6 is included Actual Results: output: --------------------- making all in programs/glxinfo... make[4]: Entering directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/glxinfo' i686-pc-linux-gnu-gcc -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -fno-strict-aliasing -ansi -pedantic -Wno-return-type -w -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 -DDO_GLU -c -o glxinfo.o glxinfo.c rm -f glxinfo i686-pc-linux-gnu-gcc -o glxinfo -march=athlon-tbird -O3 -pipe -fomit-frame-pointer -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 ../../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 `operator new[](unsigned int)@GLIBCXX_3.4' ../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned int)@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 `__gxx_personality_v0@CXXABI_1.3' collect2: ld returned 1 exit status make[4]: *** [glxinfo] Error 1 make[4]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs/glxinfo' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/programs' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc' make[1]: *** [World] Error 2 make[1]: Leaving directory `/var/tmp/portage/xorg-x11-6.8.2-r6/work/xc' make: *** [World] Error 2 !!! ERROR: x11-base/xorg-x11-6.8.2-r6 failed. !!! Function build, Line 975, Exitcode 2 !!! make World failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: Successful build... abq distfiles # emerge --info Portage 2.0.53_rc4 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.13-gentoo-r3 i686) ================================================================= System uname: 2.6.13-gentoo-r3 i686 AMD Athlon(tm) processor Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.ccccom.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow X aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 calendar cdr clamav cli cpdflib crypt cscope ctype cups curl dba dbx dio doc eds emacs emacs-w3 emboss encode examples fam flac foomaticdb fortran gcj gd gdbm gif gnutls gpm gstreamer gtk gtk2 hpoj icq imap imlib innodb ipv6 ithreads java jpeg junit kde kdeenablefinal kdexdeltas kerberos ldap lesstif libg++ libwww mad maildir mikmod mmx motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl nptlonly oav odbc offensive ogg oggvorbis opengl oscar oss pam pam-mysql pcntl pcre pdflib pdo-external pear perl php plotutils png posix postgres ppds python qt quicktime readline sasl scanner sdl sharedext slp soap spell spl sqlite sse ssl svg svga symlink tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts usb usepackagedmakefiles vhosts vorbis x86 xine xml xml2 xmms xv yahoo zip zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Did you rebuild all c++ stuff after upgrading to gcc 3.4?
I have run revdep-rebuild multiple times... Is that what you mean "rebuilt c++..."?
That won't necessarily do it. After upgrading GCC I usually run emerge -e world. There might be a less time-expensive way of doing it that I'm unaware of... Adding toolchain so they can advise.
need a more complete buildlog libGLU.so should be linked against libstdc++: $ readelf -d /usr/lib64/libGLU.so | grep libstdc++ 0x0000000000000001 (NEEDED) Shared library: [libstdc++.so.6] according to the output you posted, your local libGLU.so wasnt generated with g++ but rather gcc ... run `emerge xorg-x11 >& log` and post the log as an attachment
Created attachment 70212 [details] Last build log of xorg-x11-6.8.2-r6
I don't have an /usr/lib64 this is only an Athlon-tbird. Also, I don't have an /usr/lib/libGLL.so. Do I need to reinstall something?
(In reply to comment #3) >There might be a less time-expensive way of doing it that I'm unaware of... revdep-rebuild --soname libstdc++.so.5
Thank you! revdep-rebuild --soname libstdc++.so.5 worked. For grins I followed that with revdep-rebuild --soname libstdc++.so.6 (which also worked), then xorg-x11 emerged without a hitch! Thanks alot everyone.
SpanKY: Would you please add an a "ewarn advice" to the gcc-3.4 ebuild?! I'm really fed by these invalid bug reports, when people mix libs compiled with different C++ ABI. It's not one or two, I see them regularly.
*** Bug 109276 has been marked as a duplicate of this bug. ***