[Buildroot] [PATCH v1 2/3] package/libtomcrypt: compile with -fPIC to enable linking to dynamic libraries/exectuables
Peter Seiderer
ps.report at gmx.net
Mon Apr 12 20:40:42 UTC 2021
Hello Thomas,
On Mon, 12 Apr 2021 22:15:57 +0200, Thomas Petazzoni <thomas.petazzoni at bootlin.com> wrote:
> 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?
Failure with an custom project which links libtomcrpyt to/into a dynamic
library (x86_64)...., sorry no autobuilder failure (there is only one
libtomcrypt cosumer in buildroot until now, dopbear)...
Regards,
Peter
>
> Thomas
More information about the buildroot
mailing list