Bug 1543295
| Summary: | g-ir-scanner is passing -mcet -fcf-protection flags when CC=clang | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Philip Chimento <philip.chimento> |
| Component: | gobject-introspection | Assignee: | Colin Walters <walters> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 28 | CC: | acme, berrange, cfergeau, dcbw, ernestas, fmuellner, lantw44, otaylor, walters |
| Target Milestone: | --- | ||
| 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: | 2019-05-28 22:45:47 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: | |||
|
Description
Philip Chimento
2018-02-08 07:43:48 UTC
This isn't really a gobject-introspection problem to fix IMHO. The root cause is the redhat-rpm-config compiler flags were change to include flags which only work with GCC, where previously the flags were always compatible with both GCC and CLang. Ideally redhat-rpm-config cflags would remain compatible with clang by default, or it should provide a second macro that is compatible with clang that RPMs can opt-in to using. Can you forward it to the correct component then? This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle. Changing version to '28'. There's some upstream g-i bug where we switched to distutils - and it's Python's distutils that is capturing the compiler flags used to build it. IIRC, the mess here is that distutils works a lot better on Windows than what g-i as doing before. I have the same problems with tools/perf, have been fixing it with a dirty trick, checking if it is clang, tweaking the CFLAGS, but this trick explodes with python3 :-\ My setup.py: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/util/setup.py Trying now to do this more nicely, suggestions welcome. This message is a reminder that Fedora 28 is nearing its end of life. On 2019-May-28 Fedora will stop maintaining and issuing updates for Fedora 28. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '28'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 28 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |