Bug 2177728
| Summary: | Cannot link boost-program-options static library to a shared library due to not being compiled with -fPIC option | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hedayat Vatankhah <hedayatv> |
| Component: | boost | Assignee: | Jonathan Wakely <jwakely> |
| Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 37 | CC: | codonell, denis.arnaud_fedora, jwakely, laurent.rineau__fedora, mcermak, trodgers |
| Target Milestone: | --- | Keywords: | FutureFeature, Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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
Hedayat Vatankhah
2023-03-13 14:17:05 UTC
I don't think Boost's build system actually supports this: https://github.com/boostorg/build/issues/366 It might need to be done by patching the build in Fedora to force it to always use -fPIC. Then again, maybe it just needs something like: ./b2 cxxflags=-fPIC cflags=-fPIC https://lists.boost.org/boost-build/2016/08/28769.php |