[Buildroot] [PATCH v1 2/3] package/libtomcrypt: compile with -fPIC to enable linking to dynamic libraries/exectuables

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Apr 12 20:15:57 UTC 2021

On Mon, 12 Apr 2021 21:55:26 +0200
Peter Seiderer <ps.report at gmx.net> wrote:

> Fixes:
>   .../x86_64-buildroot-linux-gnu/bin/ld: .../host/x86_64-buildroot-linux-gnu/sysroot/usr/lib/libtomcrypt.a(md5.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
> Signed-off-by: Peter Seiderer <ps.report at gmx.net>

In which situations? Are there some autobuilder failures? If not, what
configuration fails?

Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering

More information about the buildroot mailing list