Bug 66222
Summary: | linking with libbfd isn't compatible across minor releases | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | David Mansfield <bugzilla> |
Component: | binutils | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.3 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-06-06 15:29:33 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Mansfield
2002-06-06 15:29:27 UTC
Nope. As you can see, the version is not after .so, like libbfd.so.2.11.93.0.2, but before, which means the whole version is part of the SONAME (and for good reason, libbfd is changing every few days and doesn't maintain binary compatibility). In fact it is shared only so that it can be shared between as, ld, nm, objdump, ar, strip, ... which all come from the same package. If you need to use bfd in some application, you need to link it statically in (e.g. -Bstatic -lbfd -Bdynamic) or be prepared for recompiling it every time binutils are upgraded. |