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.
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.