| Summary: | Missing symbol versioning in dynamic libraries | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Lukas Slebodnik <lslebodn> |
| Component: | redhat-rpm-config | Assignee: | Florian Festi <ffesti> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | awilliam, dzickus, ffesti, jonathan, jpazdziora, pmatilai, praiskup, rdieter |
| 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: | 2016-12-09 21:37:14 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: | |
|
Description
Lukas Slebodnik
2016-12-03 18:08:16 UTC
FYI, here is a change between -59 and -60
diff -u -r 59/usr/lib/rpm/redhat/macros 60/usr/lib/rpm/redhat/macros
--- 59/usr/lib/rpm/redhat/macros 2016-12-03 19:11:47.961580325 +0100
+++ 60/usr/lib/rpm/redhat/macros 2016-12-03 19:11:58.676645157 +0100
@@ -147,7 +147,7 @@
%__global_compiler_flags -O2 -g -pipe -Wall -Werror=format-security -Wp,-_hardened_cflags}
-%__global_cflags %{optflags}
+%__global_cflags %{optflags} -Werror=implicit-function-declaration -Werro
%__global_cxxflags %{optflags}
%__global_fflags %{optflags} -I%_fmoddir
%__global_fcflags %{optflags} -I%_fmoddir
Extra compiler error flags caused that -Wl,--version was not recognized by some build systems. The detection should be fixed in all affected packages. So feel free to close this bug.
For posterity, if these extra -Werror flags were defined by their own macro, then it would be easier for packages to opt-out of them.
maybe something like:
%__global_cflags_werror -Werror=implicit-function-declaration ...
%__global_cflags %{optflags} %{?__global_cflags_werror}
The macro change has been reverted for now, and ldb and tdb rebuilt to get their symbols back. Next compose should work OK. *** Bug 1402275 has been marked as a duplicate of this bug. *** |