Summary: | xorg-x11, kdelibs, arts fail with undefined references to C++ symbols (libstdc++.so) with libGLU.so | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kamil Niewiarowski <kniewiar> |
Component: | [OLD] Server | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | beww, chtitux, gnarlin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Kamil Niewiarowski
2005-10-14 07:28:15 UTC
You can't mix libs built with different gcc versions as you like. *** This bug has been marked as a duplicate of 108542 *** I reemerged every single library on my system and the problem persists. I did the following thing: emerge -ep world | grep lib And emerged everything that was shown. Also the solution that worked for bug #108542 didn't help my case. Best regards, Kamil Niewiarowski Adding toolchain to advise, since previous solutions apparently haven't worked. those arent glibc symbols as i mentioned before in another bug, those are symbols provided by libstdc++.so and since libGLU.so *should* be linked against it, you should not be seeing those errors double check that ../../exports/lib/libGLU.so is linked against libstdc++.so in the build tree I ran the following command in the /var/tmp/portage/xorg-x11-6.8.2-r6/work/xc/lib/GLU directory: ldd libGLU.so Output was: linux-gate.so.1 => (0xffffe000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7ec1000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7df2000) libGL.so.1 => not found libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 (0xb7d22000) libm.so.6 => /lib/libm.so.6 (0xb7cff000) libc.so.6 => /lib/libc.so.6 (0xb7be5000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0xb7bdc000) libdl.so.2 => /lib/libdl.so.2 (0xb7bd7000) /lib/ld-linux.so.2 (0x80000000) Should libGLU.so really be linked against the libstdc++.so.6 from gcc? Shouldn't it be linked against the libstdc++-v3 package libraries? Can it be the cause? Does anybody know what should I do? Best regards, Kamil Niewiarowski Kamil: sorry, late response. Long solution, but it may be necessary: run "emerge -e world". This will rebuild everything on your machine. It could be a consistency issue somewhere in your current install, and hopefully this will get rid of it. Well, I have tried it already, no success there either... The xorg-x11 is on 47th position and it crashes there. I also tried: emerge -ep > xyz and then emerge --oneshot all packages from xyz but xorg-x11. Still no luck. That's really odd. Output of 'gcc-config -l' ? [1] i686-pc-linux-gnu-3.4.4 * [2] i686-pc-linux-gnu-3.4.4-hardened [3] i686-pc-linux-gnu-3.4.4-hardenednopie [4] i686-pc-linux-gnu-3.4.4-hardenednopiessp [5] i686-pc-linux-gnu-3.4.4-hardenednossp To answer your question earlier: the link to the 3.4.4 libs should be correct. Iirc, libstdc++-v3 is only used for binaries pre-compiled against gcc 3.3.x. The only other thing that comes to mind would be to create a backup of your xorg-x11 install, unmerge it completely, then re-merge it from scratch. Before you do that, it looks like you checked the wrong libGLU file in comment #5. I think you need to check xc/exports/lib/libGLU.so, although it could just be a symlink. *** Bug 113766 has been marked as a duplicate of this bug. *** I'm having the exact same problem, and after unmerging xorg-x11, was unable to reemerge it, resulting in the same problem as Kamil. Any more hints? I have the source tree, and can run a make all in xc/programs/glxinfo, and repeat the problem. I just don't know what to do from here. I'm going to try upgrading to XOrg 7 The make all script was running i686-pc-linux-gnu-gcc -o glxinfo -O3 -march=pentium4 -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 and failed. I added -rpath-link,/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/ to the linkers parameters, and it compiled. Is this a solution? I don't know how a normal system compiles XOrg, and what are the parameters to compile glxinfo, or how they are determined. The final command was: i686-pc-linux-gnu-gcc -o glxinfo -O3 -march=pentium4 -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,-rpath-link,/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/ Any hint on this? This shouldn't be required if libGLU is linked correctly, as it should already have the correct path to libstdc++.so. Still waiting for someone to post 'ldd' results on xc/exports/lib/libGLU.so . I've exactly the same problem when compiling xorg-x11. Here's the output of ldd for xc/exports/lib/libGLU.so : linux-gate.so.1 => (0xffffe000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e9e000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7dd2000) libGL.so.1 => /usr/lib/opengl/nvidia/lib/libGL.so.1 (0xb7d4f000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libstdc++.so.6 (0xb7c81000) libm.so.6 => /lib/libm.so.6 (0xb7c5e000) libc.so.6 => /lib/libc.so.6 (0xb7b46000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/libgcc_s.so.1 (0xb7b3d000) libdl.so.2 => /lib/libdl.so.2 (0xb7b38000) libGLcore.so.1 => /usr/lib/opengl/nvidia/lib/libGLcore.so.1 (0xb737b000) libnvidia-tls.so.1 => /usr/lib/opengl/nvidia/lib/libnvidia-tls.so.1 (0xb7379000) /lib/ld-linux.so.2 (0x80000000) Hmm, I'm a little suspicious of the nvidia links there. Have you tried merging with the xorg-x11 GL implementation first? eselect opengl set xorg-x11 or opengl-update xorg-x11 Other than that, C++ links look fine. SpanKY, any more ideas? same problem here and switching to the xorg-x11 gl didn't help it (In reply to comment #17) > same problem here and switching to the xorg-x11 gl didn't help it > Same problem with gcc 3.4.5 Is ther really no solution ? Please reopen if this remains an issue with modular X. Yes, the problem does remain.. Any ides anyone? Which modular X package does it die in? Please reopen when you reply. >>> Emerging (17 of 21) x11-apps/mesa-progs-6.4.2 to / >>> Downloading ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo/distfiles/MesaDemos-6.4.2.tar.bz2 --22:21:28-- ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo/distfiles/MesaDemos-6.4.2.tar.bz2 => `/usr/portage/distfiles/MesaDemos-6.4.2.tar.bz2' R >>> Emerging (17 of 21) x11-apps/mesa-progs-6.4.2 to / >>> Downloading ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo/distfiles/MesaDemos-6.4.2.tar.bz2 --22:21:28-- ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo/distfiles/MesaDemos-6.4.2.tar.bz2 => `/usr/portage/distfiles/MesaDemos-6.4.2.tar.bz2' Résolution de ftp.free.fr... 213.228.0.141 Connexion vers ftp.free.fr|213.228.0.141|:21...connecté. Ouverture de session en anonymous...Session établie! ==> SYST ... complété. ==> PWD ... complété. ==> TYPE I ... complété. ==> CWD /pub/Distributions_Linux/Gentoo/distfiles ... complété. ==> PASV ... complété. ==> RETR MesaDemos-6.4.2.tar.bz2 ... complété. Longueur: 814,178 (795K) (non certifiée) 100%[=======================================================================================================================================================================>] 814,178 958.41K/s 22:21:30 (956.01 KB/s) - « /usr/portage/distfiles/MesaDemos-6.4.2.tar.bz2 » sauvegardé [814178] >>> checksums files ;-) mesa-progs-6.4.2.ebuild >>> checksums files ;-) mesa-progs-6.5.ebuild >>> checksums files ;-) files/digest-mesa-progs-6.5 >>> checksums files ;-) files/digest-mesa-progs-6.4.2 >>> checksums src_uri ;-) MesaLib-6.4.2.tar.bz2 >>> checksums src_uri ;-) MesaDemos-6.4.2.tar.bz2 >>> Unpacking source... >>> Unpacking MesaLib-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work >>> Unpacking MesaDemos-6.4.2.tar.bz2 to /var/tmp/portage/mesa-progs-6.4.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/mesa-progs-6.4.2/work/Mesa-6.4.2 ... i686-pc-linux-gnu-gcc -I../../include -Wall -O2 -march=pentium4 -fomit-frame-pointer -pipe -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -std=c99 -ffast-math glxinfo.c -L../../lib -lglut -lGLU -lGL -lm -o glxinfo /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `operator delete(void*)@GLIBCXX_3.4' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `operator delete[](void*)@GLIBCXX_3.4' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `operator new[](unsigned int)@GLIBCXX_3.4' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `operator new(unsigned int)@GLIBCXX_3.4' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `__cxa_pure_virtual@CXXABI_1.3' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info@CXXABI_1.3' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3' /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so: undefined reference to `__gxx_personality_v0@CXXABI_1.3' collect2: ld a retourné 1 code d'état d'exécution make: *** [glxinfo] Erreur 1 !!! ERROR: x11-apps/mesa-progs-6.4.2 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile mesa-progs-6.4.2.ebuild, line 68: Called die !!! glxinfo failed !!! If you need support, post the topmost build error, and the call stack if relevant. REOPEN the bug, I can't do it... chtituxx wormux-0.7 # emerge --info Portage 2.1_pre7-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.17-rc1 i686) ================================================================= System uname: 2.6.17-rc1 i686 Intel(R) Pentium(R) 4 CPU 1500MHz Gentoo Base System version 1.6.14 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.free.fr/pub/Distributions_Linux/Gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://mir.zyrianes.net/gentoo-distfiles/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib activefilter alsa apache2 apm arts atm avi bidi bitmap-fonts cdda cddb cdio cdr cgi cli crypt ctype cups dba dbb dhcp divx4linux dri dts dvb dvd dvdread eds emboss encode esd expat fastbuild fbcon ffmpeg flac foomaticdb force-cgi-redirect fortran freetype ftp gd ggi gif gimp gimpprint gnutls gpm gstreamer gtk gtk2 hal httpd imap imlib ipv6 isdnlog java joystick jpeg lbcaca ldap libcaca libg++ libwww lirc live mad matroska mbox memlimit mikmod motif mozsvg mp3 mpeg mppe-mppc mysql ncurses nls nptl ogg opengl pam pcre pdflib perl php png posix pppd python qt quicktime radius readline real sdl session simplexml soap sockets spell spl sqlite ssl stream svg svga tcpd tetex theora threads tokenizer truetype truetype-fonts type1-fonts udev unicode v4l vcd vlm vorbis wxwindows xml xmms xosd xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_fr userland_GNU video_cards_nvidia video_cards_vesa video_cards_vga video_cards_nv! video_cards_fbdev" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTDIR_OVERLAY If that can help ... # ldd /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/../../../libGLU.so linux-gate.so.1 => (0xffffe000) libGL.so.1 => //usr/lib/opengl/xorg-x11/lib/libGL.so.1 (0xb7e85000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6 (0xb7dbb000) libm.so.6 => /lib/libm.so.6 (0xb7d99000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcc_s.so.1 (0xb7d90000) libc.so.6 => /lib/libc.so.6 (0xb7c7b000) libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b8d000) libXext.so.6 => /usr/lib/libXext.so.6 (0xb7b7e000) libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0xb7b79000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7b27000) libdl.so.2 => /lib/libdl.so.2 (0xb7b23000) libdrm.so.2 => /usr/lib/libdrm.so.2 (0xb7b1c000) /lib/ld-linux.so.2 (0x80000000) libXau.so.6 => /usr/lib/libXau.so.6 (0xb7b18000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7b13000) (In reply to comment #23) > REOPEN the bug, I can't do it... Done. The lines before the error : chtituxx ~ # emerge -av xorg-x11 These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] x11-apps/mesa-progs-6.4.2 0 kB [ebuild N ] x11-drivers/xf86-video-nv-1.0.2.0 USE="-debug" 270 kB [ebuild N ] x11-apps/xmodmap-1.0.0 USE="-debug" 87 kB [ebuild N ] x11-libs/libXv-1.0.1 USE="-debug" 219 kB [ebuild N ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="keyboard mo use -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elogra phics -evdev -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microto uch -mutouch -palmax -penmount -spaceorb -summa -synaptics -tek4957 -ur98 -vmmou se -void -wacom" VIDEO_CARDS="fbdev nv nvidia vesa vga -apm -ark -ati -chips -ci rrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mga -neomagic -nsc -r endition -s3 -s3virge -savage -siliconmotion -sis -sisusb -tdfx -tga -trident -t seng -v4l -via -vmware -voodoo" 0 kB Total size of downloads: 577 kB Do you want me to merge these packages? [Yes/No] Th Théophile reported the same problem with other packages in an email to me, so this is not an X issue. Error with arts : [ebuild U ] kde-base/arts-3.5.2 [3.5.1] USE="alsa arts esd mp3 vorbis -artswrappersuid -debug -jack* -kdeenablefinal -nas -xinerama" 0 kB Making all in gslpp make[3]: Entering directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow/gslpp' /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../mcop -I../../artsc -I../../flow -I../../flow/gsl -I../../flow -I../../mcop -I../../mcop -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I../../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -c -o datahandle.lo datahandle.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -o libgslpp.la datahandle.lo make[3]: Leaving directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow/gslpp' make[3]: Entering directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow' ../mcopidl/mcopidl -t ../flow/artsflow.idl ../mcopidl/mcopidl -t ../flow/artsflow.idl /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl) /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/../mcop/.libs/libmcop.so.1) /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/../mcop/.libs/libmcop.so.1) make[3]: *** [artsflow.cc] Erreur 1 make[3]: *** Attente des t Error with arts : [ebuild U ] kde-base/arts-3.5.2 [3.5.1] USE="alsa arts esd mp3 vorbis -artswrappersuid -debug -jack* -kdeenablefinal -nas -xinerama" 0 kB Making all in gslpp make[3]: Entering directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow/gslpp' /bin/sh ../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../mcop -I../../artsc -I../../flow -I../../flow/gsl -I../../flow -I../../mcop -I../../mcop -I../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I../../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointe r-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -c -o datahandle.lo datahandle.cpp /bin/sh ../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -fomit-frame-pointer -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -ftemplate-depth-99 -o libgslpp.la datahandle.lo make[3]: Leaving directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow/gslpp' make[3]: Entering directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow' ../mcopidl/mcopidl -t ../flow/artsflow.idl ../mcopidl/mcopidl -t ../flow/artsflow.idl /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl) /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/../mcop/.libs/libmcop.so.1) /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/../mcop/.libs/libmcop.so.1) make[3]: *** [artsflow.cc] Erreur 1 make[3]: *** Attente des tâches non terminées.... /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl) /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `CXXABI_1.3' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/../mcop/.libs/libmcop.so.1) /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4' not found (required by /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/../mcop/.libs/libmcop.so.1) make[3]: *** [artsflow.h] Erreur 1 make[3]: Leaving directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow' make[2]: *** [all-recursive] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2/flow' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/arts-3.5.2/work/arts-1.5.2' make: *** [all] Erreur 2 !!! ERROR: kde-base/arts-3.5.2 failed. Call stack: ebuild.sh, line 1526: Called dyn_compile ebuild.sh, line 923: Called src_compile arts-3.5.2.ebuild, line 67: Called kde_src_compile kde.eclass, line 113: Called kde_src_compile 'all' kde.eclass, line 230: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 226: Called die chtituxx flow # ldd /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcopidl/.libs/lt-mcopidl linux-gate.so.1 => (0xffffe000) libmcop.so.1 => /var/tmp/portage/arts-3.5.2/work/arts-1.5.2/mcop/.libs/libmcop.so.1 (0xb7e97000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7e72000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7e6e000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7def000) libdl.so.2 => /lib/libdl.so.2 (0xb7deb000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6 (0xb7d21000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libgcc_s.so.1 (0xb7d17000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7cc5000) libm.so.6 => /lib/libm.so.6 (0xb7ca3000) libc.so.6 => /lib/libc.so.6 (0xb7b8e000) /lib/ld-linux.so.2 (0xb7f46000) Great, I think I have succes to resolving that bug ... try # ls -l /usr/lib/libstdc++.so.6 If the link follow /usr/lib*libstdc++.so.2.9 do : # rm /usr/lib/libstdc++.so.6 # ln -s /usr/lib/gcc/i686-pc-linux-gnu/3.4.5/libstdc++.so.6 /usr/lib/libstdc++.so.6 retry # emerge xorg-x11 (or arts) you shouldnt have any libstdc++.so files in /usr/lib*/ if you do, remove then, and then try running `ldconfig` and then try emerging (In reply to comment #30) > you shouldnt have any libstdc++.so files in /usr/lib*/ > > if you do, remove then, and then try running `ldconfig` and then try emerging > I know that this is very inapropriate here, but I have to thank you profusedly. With this single tidbit of onformation you have removed a very longstanding problem that I never understood. Escpecially since some of the ebuilds would compile but others would not. This should definately be put into some faq or other. I think this happenes if one has used the same gentoo installation for a very long time. How else would those files get there? Anyway, sorry for posting this here. you can run `qfile /usr/lib/libstdc++.so` and find out if a package installed that lib (and if so, tell me who what package did it so we can fix it) seems to be sorted though |