Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1366725
Summary: | Add explicit -latomic on 32-bit MIPS | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Toman <michal.toman> | ||||||
Component: | qt5-qttools | Assignee: | Rex Dieter <rdieter> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | rawhide | CC: | jgrulich, jreznik, me, michal.toman, rdieter, rnovacek, than | ||||||
Target Milestone: | --- | Keywords: | Patch | ||||||
Target Release: | --- | ||||||||
Hardware: | mips32 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | qt5-qttools-5.7.0-3.fc25 | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2016-08-27 10:34:05 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1242747 | ||||||||
Attachments: |
|
Will we need to carry this indefinitely or is it temporary? If permanent, can you please briefly explain why this is needed? qt5-qttools-5.7.0-3.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-fe0f406edf Created attachment 1190774 [details]
build.log
It is likely permanent. 32-bit MIPS is not able to perform 64-bit atomics in hardware. GCC is smart enough to detect that and use the implementation from libatomic but the linker needs explicit -latomic to link properly:
/usr/bin/ld: .obj/qtdiag.o: undefined reference to symbol '__atomic_load_8@@LIBATOMIC_1.0'
/lib/libatomic.so.1: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Attaching build log.
More packages suffer from this issue and 32-bit MIPS is the only affected architecture.
thanks. qt5-qttools-5.7.0-3.fc25 has been pushed to the Fedora 25 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-2016-fe0f406edf qt5-qttools-5.7.0-3.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1190492 [details] Add-explicit-latomic-on-32-bit-MIPS.patch Description of problem: We are trying to bring Fedora to MIPS platform and this requires updating qt5-qttools to add explicit -latomic on 32-bit MIPS. Actual results: Build fails because linker is missing libatomic on 32-bit MIPS. Expected results: Build passes. Additional info: Attaching dist-git patch. It would be nice to have this in F25 as well.