Bug 1547515
| Summary: | atlas: Partial injection of Fedora build flags | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> |
| Component: | atlas | Assignee: | Jakub Martisko <jamartis> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 28 | CC: | c.david86, dakingun, fkluknav, jamartis, orion |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | atlas-3.10.3-5.fc28 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-30 21:17:54 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: | 1539083 | ||
Added RPM_LD_FLAGS. The last rawhide build [1] looks like this:
/usr/bin/x86_64-redhat-linux-gcc -g -Wa,--noexecstack -fPIC -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -m64 -shared -o libsatlas.so.3.10 \
\
-Wl,-soname,"libsatlas.so.3" \
-Wl,--whole-archive liblapack.a libf77blas.a libcblas.a libatlas.a /builddir/build/BUILD/ATLAS/liblapack_pic_pruned.a -Wl,--no-whole-archive -L/usr/lib/gcc/x86_64-redhat-linux/8 -lgfortran -lc -lpthread -lm -lgcc
Feel free to reopen if there are still any problems.
[1]: https://koji.fedoraproject.org/koji/buildinfo?buildID=1068839
Looks better, thanks. Would you please put this into Fedora 28 as well, via an update through Bodhi? atlas-3.10.3-5.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-1cff122c3d atlas-3.10.3-5.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-1cff122c3d atlas-3.10.3-5.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report. |
/usr/lib64/atlas/libsatlas.so.3.10 in atlas-3.10.3-3.fc28.x86_64 does not use the standard Fedora linker flags (LDFLAGS) from redhat-rpm-config. The linker invocations look like this: /usr/bin/x86_64-redhat-linux-gcc -g -Wa,--noexecstack -fPIC -m64 -shared -o libsatlas.so.3.10 \ \ -Wl,-soname,"libsatlas.so.3" \ -Wl,--whole-archive liblapack.a libf77blas.a libcblas.a libatlas.a /builddir/build/BUILD/ATLAS/liblapack_pic_pruned.a -Wl,--no-whole-archive -L/usr/lib/gcc/x86_64-redhat-linux/8 -lgfortran -lc -lpthread -lm -lgcc No LDFLAGS are used there. See https://src.fedoraproject.org/rpms/redhat-rpm-config/blob/master/f/buildflags.md for information on RPM macros and environment variables provided by the build environment.