Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 641960 - dev-qt/qtquickcontrols2-5.9 linking error
Summary: dev-qt/qtquickcontrols2-5.9 linking error
Status: RESOLVED DUPLICATE of bug 623566
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-21 19:10 UTC by Oruriz
Modified: 2017-12-22 09:20 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oruriz 2017-12-21 19:10:37 UTC
When trying to build my own app with Qt Quick controls 2 I get this in cmake log:

/usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `__bss_start'

I have this in my cmake:
find_package(Qt5 COMPONENTS Core Quick QuickControls2 REQUIRED)
add_executable(${PROJECT_NAME} "main.cpp" "qml.qrc")
target_link_libraries(${PROJECT_NAME} Qt5::Core Qt5::Quick Qt5::QuickControls2)

How to reproduce: Try to build any QuickControls2 example with system Qt:
https://doc.qt.io/qt-5/qtquickcontrols2-wearable-example.html

One more thing: I found this bug and patch on bugreports.qt.io 
https://bugreports.qt.io/browse/QTBUG-63083
It may be useful.

Using Qtcreator with included libs resolving the problem. But it`s wrong way.
Comment 1 Michael Palimaka (kensington) gentoo-dev 2017-12-22 09:20:22 UTC

*** This bug has been marked as a duplicate of bug 623566 ***