Bug 1458003
Summary: | linker failures with duplicate symbols | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rex Dieter <rdieter> |
Component: | binutils | Assignee: | Nick Clifton <nickc> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | 28 | CC: | fweimer, jakub, nickc, pierluigi.fiorini, zebob.m |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | binutils-2.28-8.fc27, binutils-2.29.1-21.fc28 binutils-2.29.1-23.fc28 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-05 20:33:40 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Rex Dieter
2017-06-01 18:09:58 UTC
Added workaround to Qt5 stack to avoid use of gold until this is sorted out: https://src.fedoraproject.org/cgit/rpms/qt5-qtbase.git/commit/?id=8b64b2c9321d3fd93065a40c91b1cb2545db9596 FYI, the patch referred to in comment #10 of BZ 21074 *is* already in the rawhide sources. So that is not the answer. Hi Reax, I am still waiting for the GOLD linker maintainers to fix this patch upstream. In the meantime however I have added a patch to the bfd linker so that it will no longer complain about the duplicate symbols. Please try: binutils-2.28-8.fc27 Cheers Nick This bug appears to have been reported against 'rawhide' during the Fedora 27 development cycle. Changing version to '27'. I'm experiencing similar issue while building Orion, a QT based Twitch client: g++ -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-rpath-link,/usr/lib64 -o orion main.o channelmanager.o channel.o fileutils.o networkmanager.o game.o jsonparser.o channellistmodel.o gamelistmodel.o runguard.o vod.o vodlistmodel.o vodmanager.o ircchat.o imageprovider.o badgeimageprovider.o badgecontainer.o viewersmodel.o settingsmanager.o httpserver.o power.o notificationmanager.o notificationsender.o qrc_qml.o moc_channel.o moc_channelmanager.o moc_networkmanager.o moc_game.o moc_channellistmodel.o moc_gamelistmodel.o moc_runguard.o moc_vodlistmodel.o moc_vodmanager.o moc_ircchat.o moc_imageprovider.o moc_httpserver.o moc_badgeimageprovider.o moc_badgecontainer.o moc_viewersmodel.o moc_settingsmanager.o moc_power.o moc_notificationmanager.o moc_notificationsender.o -lQt5Widgets -lQt5QuickControls2 -lQt5Quick -lQt5Multimedia -lQt5Gui -lQt5Qml -lQt5Network -lQt5DBus -lQt5Core -lGL -lpthread /usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `_end' /usr/lib64/libQt5QuickTemplates2.so.5:(*IND*+0x0): multiple definition of `__bss_start' collect2: error: ld returned 1 exit status It doesn't work in Rawhide and F28. Any help? Upstream bug: https://bugreports.qt.io/browse/QTBUG-65071 I solved it by passing "QMAKE_LFLAGS+=-fuse-ld=gold" Hi Robert-André, Ah - sorry - this wass my mistake. I failed to copy the patch I created for F27 into the sources for F28 and rawhide. (I had thought that the problem had been fixed in the newer upstream FSF sources, but this turns out to not be true). I have now applied the patch, so please try either binutils-2.29.1-21.fc28 or binutils-2.30-8.fc29. Cheers Nick I see no updates submitted for f28 yet at least, latest there is still binutils-2.29.1-20.fc28 I did test that binutils-2.29.1-23.fc28 (latest f28 build) works as advertised, thanks. ping, no f28 updates submitted yet , so default f28 builds are (still) seeing failures *** Bug 1566073 has been marked as a duplicate of this bug. *** How come the update has not been submitted yet despite Fedora 28 release being imminent? binutils-2.29.1-23.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-ddd80a6dbb binutils-2.29.1-23.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ddd80a6dbb binutils-2.29.1-23.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |