Summary: | koffice-1.4.0_rc1 doesn't compile with gcc-686-pc-linux-gnu-3.4.4 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Schlesinger <schlesix> |
Component: | [OLD] KDE | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Schlesinger
2005-06-13 13:18:56 UTC
Please disable ccache, clean /var/tmp/portage and try again, there are chances that the error will disappear... *** This bug has been marked as a duplicate of 69475 *** Disabling ccache in the make.conf and cleaning /var/tmp/portage doesn't help for me. I get always an error. I've tried an "emerge koffice-meta" and run into an error, too: /bin/sh ../../../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=pentium-m -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o libmswordimport.la -rpath /usr/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib mswordimport.lo document.lo conversion.lo texthandler.lo tablehandler.lo graphicshandler.lo ../../../lib/kofficeui/libkofficeui.la ../../../lib/kofficecore/libkofficecore.la ../../../lib/store/libkstore.la -L/usr/lib -lwv2 -lgsf-1 -lgobject-2.0 -lxml2 -lpthread -lz -lm -lglib-2.0 .libs/mswordimport.o: In function `MSWordImport::convert(QCString const&, QCString const&)': mswordimport.cpp:(.text+0x9d9): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_Rep::_S_empty_rep_storage' mswordimport.cpp:(.text+0xd99): undefined reference to `__gnu_cxx::__exchange_and_add(int volatile*, int)' collect2: ld returned 1 exit status make[4]: *** [libmswordimport.la] Fehler 1 I'll check, if the other components of koffice-meta will build without problems and if so, I'll try to compile the failing kword without march=pentium-m. All other components except kword are emerging well, but emerging kword shows always the same error. Using march="pentium-m" or not doesn't make a difference. I could compile kword finally, but with gcc i686-pc-linux-gnu-3.3.5, not with gcc-686-pc-linux-gnu-3.4.4. I close this bug now, as gcc 3.4.4 is not the default gcc version used by Gentoo. Who has the problem, can find the solution here. Well, it's not fixed. Thomas: I bet the problem is mixing gcc-3.3 and 3.4. Their C++ ABI differs. When you upgrade, you have to rebuild all C++ stuff on your box, otherwise you see such breakages. When you want to stay with gcc-3.3, run `revdep-rebuild --soname libstdc++.so.6`, in case of gcc-3.4 `revdep-rebuild --soname libstdc++.so.5` Which package must I emerge to have revdep-rebuild on my machine? app-portage/gentoolkit is what you need. Ok, after revdep-rebuild re-emerged dozens of packages, koffice-1.4.0_rc1 built fine with gcc 3.4.4. Thanks for your support! |