Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6647 - GCC 3.2 Update: Mosfet & pixieplus keep failing
Summary: GCC 3.2 Update: Mosfet & pixieplus keep failing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matthew Kennedy (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-17 13:17 UTC by Rigo
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
Output of epm -qGa | sort (epm.output,23.94 KB, text/plain)
2002-08-18 08:03 UTC, Rigo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rigo 2002-08-17 13:17:15 UTC
After compiling a lot I keep running into this one (mosfet & pixie, same errors:


c++ -DNDEBUG -DNO_DEBUG -O2 -march=i686 -O3 -pipe -fno-exceptions -fno-check-new
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -o libpixie_qimageutil.la.closure
.libs/libpixie_qimageutil_la_closure.o .libs/qimageutil.o .libs/effectdialogs.o
 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.1/lib
/usr/kde/3.1/lib/libkdeui.so -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../../i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../.. -L/usr/i686-pc-linux-gnu/bin
-L/usr/i686-pc-linux-gnu/lib
-L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/gcc-lib/i686-pc-linux-gnu/3.1
-L/usr/lib /usr/kde/3.1/lib/libkdefx.so -lXrender /usr/kde/3.1/lib/libkdecore.so
/usr/kde/3.1/lib/libDCOP.so -lqt-mt -lpng -lz -lX11 -lSM -lICE -lpthread -ldl
-lXext -lresolv -lXinerama /usr/lib/libart_lgpl_2.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so -lm -lc -lgcc_s -Wl,--rpath
-Wl,/usr/kde/3.1/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2
-Wl,--rpath -Wl,/usr/kde/3.1/lib -Wl,--rpath
-Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2 -Wl,--rpath -Wl,/usr/qt/3/lib
-Wl,--rpath -Wl,/usr/X11R6/lib
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `vtable for
__cxxabiv1::__vmi_class_type_info@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdefx.so: undefined reference to `std::ios_base::Init::~Init
[in-charge]()@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdefx.so: undefined reference to
`std::ios_base::Init::Init[in-charge]()@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `__dynamic_cast@CXXABI_1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `operator
delete(void*)@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `operator
new[](unsigned)@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `operator
delete[](void*)@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `__cxa_pure_virtual@CXXABI_1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `vtable for
__cxxabiv1::__si_class_type_info@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `operator
new(unsigned)@GLIBCPP_3.1'
/usr/kde/3.1/lib/libkdeui.so: undefined reference to `vtable for
__cxxabiv1::__class_type_info@GLIBCPP_3.1'
collect2: ld returned 1 exit status
make[2]: *** [libpixie_qimageutil.la.closure] Error 1
make[2]: Leaving directory
`/var/tmp/portage/pixieplus-kde-0.3-r1/work/pixieplus-kde-0.3/qimageutils'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/pixieplus-kde-0.3-r1/work/pixieplus-kde-0.3'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -6657, Exitcode 2
!!! died running emake, kde_src_compile:make

!!! emerge aborting on 
/usr/portage/media-gfx/pixieplus-kde/pixieplus-kde-0.3-r1.ebuild .


Never had them before though...
Comment 1 Rigo 2002-08-17 13:27:13 UTC
Have to tell that I had to make the following symlink it was complaining about:

kgesture # ls -al /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so.4
lrwxrwxrwx    1 root     root           18 Aug 17 17:18
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/libstdc++.so.4 -> libstdc++.so.5.0.0
kgesture # 
Comment 2 Nicholas Wourms 2002-08-17 20:21:59 UTC
No, actually this is *not* a bug, it is there on purpose.  The new gcc-3.2 c++
ABI breaks compatiblity with all previous versions of g++.  That means you need
to recompile any shared libraries and binaries which linked against libstdc++
prior to your upgrade.  In particular, you will need to rebuild the entire
QT/KDE set.  There is no work around for this, because it is intentional. 
However, if you use grep and search your entire hdd for items that match
'GLIBCPP_3\.1' , you should be able to determine every package which needs to be
rebuilt.  You would do this by using "epm -qf" on the results of the grep
search.  Worked for me...
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2002-08-17 22:24:42 UTC
Nicholas is right. This is not a bug with mosfet/kde/whatever. You have to
re-emerge packages which are affected by the C++ ABI change. You can look in the
mail archives for a simple shell script supplied by spider for this purpose.
Comment 4 Rigo 2002-08-18 04:01:38 UTC
If it's not a bug, then why oh why, everything kde-related recompiles, exept
these two ? (Read: almost finished with recompiling the whole shebang ;)...
Comment 5 Rigo 2002-08-18 04:02:57 UTC
Did anybody had succes recompiling those then ?
Comment 6 Nicholas Wourms 2002-08-18 07:25:40 UTC
I don't know, but it could be that they use a non-kde/qt c++ library.  Also,
make sure you don't have older qt libraries still around.  Use "epm -qGa | sort"
to get a list of all versions of all packages installed.  Also, you *will* have
to recompile X if your apps use {Open/Mesa}GL, as the GL API is c++.  Other then
that, run the suggest grep on /usr/* or find that script by Spider.
Comment 7 Rigo 2002-08-18 07:52:43 UTC
Did that ;)...got 10 to go 8-D (incl 3/4 locals) --> Boy what a pain with > 800
ebuilds  ;)

Start thinking on unemerging those ;)


Could it be related to the fact I made the symlink from .so.4 / .so.5.0.0 (See
post earlier ?) 
Comment 8 Rigo 2002-08-18 08:03:44 UTC
Created attachment 3195 [details]
Output of epm -qGa | sort

;-)
Comment 9 Rigo 2002-08-18 08:04:57 UTC
lappy portage # wc -l /home/lemar/epm.output 
    938 /home/lemar/epm.output

Holy Moly ;) 
Comment 10 Rigo 2002-08-18 10:25:16 UTC
Ah, after again a recompile of kdelibs-2.2 & 3.0 I'm finally there !


8-D !
Comment 11 Rigo 2002-08-18 10:26:00 UTC
Almost forgot...Thanx Matthew !