Opened 8 years ago
#10227 new Bugs
Missing HAVE_SONAME causes SONAME to be omitted in qcc.jam
Reported by: | Owned by: | Vladimir Prus | |
---|---|---|---|
Milestone: | To Be Determined | Component: | build |
Version: | Boost 1.55.0 | Severity: | Problem |
Keywords: | soname | Cc: |
Description
In the "actions link.dll bind LIBRARIES" section of qcc.jam (lines 233-238), the link command includes the following arguments:
$(HAVE_SONAME)-Wl,-h$(SPACE)-Wl,$(<[1]:D=)
But, "HAVE_SONAME" is never defined in qcc.jam. Resulting in SONAME not getting added to the shared object. Subsequently, boost libraries that link against each other (thread) hardcode the relative path to the dependent library.
Adding 'HAVE_SONAME = "" ;' or removeing "$(HAVE_SONAME)" from qcc.jam fixes the issue.
Tested on Windows using the cross-compiler and on QNX in a virtual machine.
Note: I stumbled upon several postings on the mailing list that hint at this happening but all seem to have gone unresolved.