[Debian-med-packaging] Bug#837490: libpapyrus3-dev: Please build libPapyrus3.a with -fPIC
Steve M. Robbins
steve at sumost.ca
Sun Oct 23 18:05:55 UTC 2016
On Mon, Sep 12, 2016 at 01:18:32AM +0200, Balint Reczey wrote:
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-linux-gnu/6/../../../../lib/libPapyrus3.a(PapyError3.c.o):
> relocation
> R_X86_64_32 against `.rodata.str1.8' can not be used when making a
> shared object; recompile with -fPIC
> ...
The Ubuntu notes [1] for this may apply:
Relocation Linking Failure
A dynamically linked program that pulls in a static library that was not built with -fPIC. These give an error like:
relocation R_X86_64_32 against '[SYMBOL]' can not be used when
making a shared object; recompile with -fPIC To address these
types of issues, the package providing the static object needs
to be rebuilt (usually just a no-change rebuild against the
pie-by-default compiler) before rebuilding the failed package.
Did you try rebuilding libpapyrus3-dev and then using that to build gdcm?
[1] https://wiki.ubuntu.com/SecurityTeam/PIE
-Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20161023/f5d8f865/attachment.sig>
More information about the Debian-med-packaging
mailing list