| Summary: | pcp pmda shared libraries should use -fvisibility=hidden | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Frank Ch. Eigler <fche> |
| Component: | pcp | Assignee: | Nathan Scott <nathans> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | fche, mgoodwin, nathans, pcp, scox |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-03-19 01:23:49 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
Frank Ch. Eigler
2013-11-01 10:12:37 UTC
Struggling to find docs on this gcc option. There is only one symbol the DSO PMDAs need to export, I *think* - the xxx_init function that pmcd/dbpmda/libpcp-local-context calls initially. Everything else is called-by-function-pointer. So we should instead restrict 'em to just that one symbol. Quick test of the gcc option mentioned here suggests nothing at all is exported, and shared library PMDAs would be broken by it... Log for pmcd on smash started Mon Nov 11 15:52:53 2013 Couldn't find init function `mmv_init' in mmv DSO ... An alternative may be getting -Wl,--version-script,xxx into *all* the pcp shared libraries - including the PMDAs. It could be generated as part of the build for shared library PMDAs, and would be good to have for libpcp and libpcp_pmda I think (may force us to begin more disciplined soname use, AIUI - not sure tho). Thoughts? | ... may force us to begin more disciplined soname use. On closer inspection, no, doesn't help - the ABI version numbers from a versions-script file doesn't relate to soname version in any way (AFAICT). Wider issues now understood, this issue is tackled in upstream git commit de90a013. pcp-3.8.9-1.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/pcp-3.8.9-1.fc20 pcp-3.8.9-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/pcp-3.8.9-1.fc19 pcp-3.8.9-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/pcp-3.8.9-1.fc18 pcp-3.8.9-1.el6 has been submitted as an update for Fedora EPEL 6. https://admin.fedoraproject.org/updates/pcp-3.8.9-1.el6 pcp-3.8.9-1.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/pcp-3.8.9-1.el5 pcp-3.8.9-1.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.8.9-1.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.8.9-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.8.9-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. pcp-3.8.9-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |