Summary: | dev-qt/qtwebkit-5.6.1: collect2: error: ld returned 1 exit status | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Beetle B. <usefuljunk> |
Component: | Current packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | toolchain, usefuljunk |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Build Log (too bug to attach as text) |
Description
Beetle B.
2016-08-16 03:57:12 UTC
Created attachment 443438 [details]
Build Log (too bug to attach as text)
Try without -ggdb Same problem. -ggdb doesn't seem to be an issue since mine wasn't using that flag. make[1]: Entering directory '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source' ( test -e Makefile.api || /usr/lib64/qt5/bin/qmake /var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/api.pri CONFIG+=release CONFIG-=debug 'QMAKE_AR=x86_64-pc-linux-gnu-ar cqs' QMAKE_CC=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C=x86_64-pc-linux-gnu-gcc QMAKE_LINK_C_SHLIB=x86_64-pc-linux-gnu-gcc QMAKE_CXX=x86_64-pc-linux-gnu-g++ QMAKE_LINK=x86_64-pc-linux-gnu-g++ QMAKE_LINK_SHLIB=x86_64-pc-linux-gnu-g++ QMAKE_OBJCOPY=x86_64-pc-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP=x86_64-pc-linux-gnu-strip 'QMAKE_CFLAGS=-march=native -O2 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-march=native -O2 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= -o Makefile.api ) && make -f Makefile.api make[2]: Entering directory '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source' rm -f libQt5WebKit.so.5.6.1 libQt5WebKit.so libQt5WebKit.so.5 libQt5WebKit.so.5.6 x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined -Wl,--no-undefined -fdebug-types-section -fuse-ld=gold -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5WebKit.so.5 -o libQt5WebKit.so.5.6.1 -lQt5Gui -lQt5Core -lpthread -lQt5Network -lQt5Core -lpthread -lQt5Core -lpthread -lpthread -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebKit/ -Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebKit2/ -lrt -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebCore/ -lz -lXrender -lXcomposite -lXrender -lleveldb -lmemenv -ljpeg -lpng -Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/ThirdParty/ANGLE/ -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/JavaScriptCore/ -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WTF/ -lpthread -lXext -lX11 -lm -lX11 -lxslt -lxml2 -lz -lm -ldl -lm -lxml2 -lxml2 -lsqlite3 -licui18n -licuuc -licudata -lQt5Quick -lQt5Qml -lQt5Gui -lQt5Network -lQt5Core -lpthread -lQt5Qml -lQt5Network -lQt5Core -lpthread -lQt5Network -lQt5Core -lpthread -lQt5Gui -lQt5Core -lpthread -lQt5Sql -lQt5Core -lpthread -L/usr/lib64/mysql -lQt5Core -lpthread -lGL /var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebCore//libWebCore.a(/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebCore//.obj/platform/leveldb/LevelDBDatabase.o):LevelDBDatabase.cpp:function WebCore::openDB(leveldb::Comparator*, leveldb::Env*, WTF::String const&, leveldb::DB**) [clone .constprop.35]: error: undefined reference to 'leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)' /var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebCore//libWebCore.a(/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source/WebCore//.obj/platform/leveldb/LevelDBDatabase.o):LevelDBDatabase.cpp:function WebCore::LevelDBDatabase::destroy(WTF::String const&): error: undefined reference to 'leveldb::DestroyDB(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::Options const&)' collect2: error: ld returned 1 exit status make[2]: *** [Makefile.api:96: ../lib/libQt5WebKit.so.5.6.1] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source' make[1]: *** [Makefile.QtWebKit:44: sub-api-pri-make_first-ordered] Error 2 make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1/Source' make: *** [Makefile:308: sub-Source-QtWebKit-pro-make_first-ordered] Error 2 * ERROR: dev-qt/qtwebkit-5.6.1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-qt/qtwebkit-5.6.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebkit-5.6.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1' * S: '/var/tmp/portage/dev-qt/qtwebkit-5.6.1/work/qtwebkit-opensource-src-5.6.1' (In reply to Adam Coyne from comment #3) > Same problem. No, now it's a completely different problem. You're hitting bug 572474. Rebuild leveldb. > -ggdb doesn't seem to be an issue since mine wasn't using that > flag. > Your emerge --info and build log disagree. Closing INVALID (OOM) David, You're responding to two different people! I'm the bug submitter and I just tried -ggdb. It worked! I'm not sure why you closed it as INVALID, though... |