[Bug 183239] New: KDELibs fails to build when limit of inlining is increased
Arfrever Frehtes Taifersar Arahesis
Arfrever.FTA at GMail.Com
Wed Feb 4 22:42:14 GMT 2009
http://bugs.kde.org/show_bug.cgi?id=183239
Summary: KDELibs fails to build when limit of inlining is
increased
Product: kde
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: unassigned-bugs at kde.org
ReportedBy: Arfrever.FTA at GMail.Com
Version: (using KDE 4.2.0)
Compiler: GCC 4.3.3
OS: Linux
Installed from: Gentoo Packages
KDELibs fails to build when CXXFLAGS contains -finline-limit=1800.
Current source code assumes that some functions marked with 'inline' word
aren't actually inlined.
findLibraryInternal is defined in kdecore/util/kpluginloader.cpp with 'inline'
keyword, but is also referenced in kdecore/util/klibrary.cpp with 'extern'
keyword.
[ 21%] Building CXX object kdecore/CMakeFiles/kdecore.dir/io/klockfile_unix.o
[ 21%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kshell_unix.o
[ 21%] Building CXX object kdecore/CMakeFiles/kdecore.dir/util/kuser_unix.o
[ 21%] Building CXX object
kdecore/CMakeFiles/kdecore.dir/util/kmacroexpander_unix.o
[ 21%] Building C object kdecore/CMakeFiles/kdecore.dir/fakes.o
Linking CXX shared library ../lib/libkdecore.so
CMakeFiles/kdecore.dir/util/klibrary.o: In function `findLibrary(QString
const&, KComponentData const&)':
klibrary.cpp:(.text+0x135): undefined reference to `findLibraryInternal(QString
const&, KComponentData const&)'
CMakeFiles/kdecore.dir/util/klibrary.o: In function `KLibrary::KLibrary(QString
const&, int, KComponentData const&, QObject*)':
klibrary.cpp:(.text+0x168): undefined reference to `findLibraryInternal(QString
const&, KComponentData const&)'
CMakeFiles/kdecore.dir/util/klibrary.o: In function `KLibrary::KLibrary(QString
const&, int, KComponentData const&, QObject*)':
klibrary.cpp:(.text+0x1f8): undefined reference to `findLibraryInternal(QString
const&, KComponentData const&)'
CMakeFiles/kdecore.dir/util/klibrary.o: In function `KLibrary::KLibrary(QString
const&, KComponentData const&, QObject*)':
klibrary.cpp:(.text+0x27d): undefined reference to `findLibraryInternal(QString
const&, KComponentData const&)'
CMakeFiles/kdecore.dir/util/klibrary.o: In function `KLibrary::KLibrary(QString
const&, KComponentData const&, QObject*)':
klibrary.cpp:(.text+0x2fd): undefined reference to `findLibraryInternal(QString
const&, KComponentData const&)'
CMakeFiles/kdecore.dir/util/klibrary.o:klibrary.cpp:(.text+0x375): more
undefined references to `findLibraryInternal(QString const&, KComponentData
const&)'follow
collect2: ld returned 1 exit status
make[2]: *** [lib/libkdecore.so.5.2.0] Error 1
make[1]: *** [kdecore/CMakeFiles/kdecore.dir/all] Error 2
make: *** [all] Error 2
--
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Unassigned-bugs
mailing list