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

Attachment: signature.asc
Description: PGP signature

Reply via email to