Bug 1214506
| Summary: | libtool includes compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" which break mingw builds | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sandro Mani <manisandro> |
| Component: | libtool | Assignee: | Pavel Raiskup <praiskup> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | erik-fedora, mike, moez.roy, phracek, praiskup, rhbugs |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libtool-2.4.6-4.fc23 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-04-24 23:01:26 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: | 1192183 | ||
|
Description
Sandro Mani
2015-04-22 21:42:21 UTC
mingw-libgcrypt also fails to build on rawhide due to this issue: http://koji.fedoraproject.org/koji/taskinfo?taskID=9559968 Hi Erik, thanks for the report and sorry for the delay. (In reply to Sandro Mani from comment #0) > Description of problem: > If you do an autoreconf -if of a project and then built it with the mingw > toolchain, the libtool script copied into the project build dir contains > > compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld" Without big observation, this seems to be expected behavior. Otherwise the package hardening would not work for libtool-compiled packages. I believe this happens to you because Fedora Rawhide started to use _hardened_build by default. You need to %undefine _hardened_build, but its not unlikely that this is not definite solution yet, see the bug 1211296 for more info. Please reopen against libtool or redhat-rpm-config if you feel I'm wrong, thanks. Pavel This is not that bug, Pavel. libtool *ships* with the setting inside. The RPM macro does nothing, undefined or not. Ouch, thanks. Its IMO related bug, however from the different POV. Disabling hardened build for libtool should fix that, yes? That seems to have fixed it. Thanks. (In reply to Michael Cronenworth from comment #3) > This is not that bug, Pavel. > > libtool *ships* with the setting inside. The RPM macro does nothing, > undefined or not. (In reply to Pavel Raiskup from comment #4) > Ouch, thanks. Its IMO related bug, however from the different POV. > Disabling > hardened build for libtool should fix that, yes? Packages that use libtool will now not be hardened as intended by the RPM OPT FLAGS? (In reply to Moez Roy from comment #7) > (In reply to Pavel Raiskup from comment #4) > Packages that use libtool will now not be hardened as intended by the RPM > OPT FLAGS? No, packages which use libtool should run ./configure to generate its own script ./libtool from ltmain.sh (and the _configure_libtool_hardening_hack will apply to them). (In reply to Pavel Raiskup from comment #8) > (In reply to Moez Roy from comment #7) > > (In reply to Pavel Raiskup from comment #4) > > Packages that use libtool will now not be hardened as intended by the RPM > > OPT FLAGS? > > No, packages which use libtool should run ./configure to generate its own > script ./libtool from ltmain.sh (and the _configure_libtool_hardening_hack > will apply to them). Ok. Thanks for clarifying. |