[haiku-3rdparty-dev] Re: Makefile engine for drivers in x86_64

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Mon, 14 Oct 2019 18:59:01 -0400

On Mon, Oct 14, 2019, 5:55 PM Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

Hi there,

I'm trying to build a 64-bit version of a driver that uses the standard
makefile-engine. However, linking is failing with this error:

relocation R_X86_64_32S against `.bss' can not be used when making a
shared object; recompile with -fPIC


Note that the relocation ends in "32S". This usually indicates you've
compiled objects in -m32 mode. If that's the case here, that's likely your
problem :)

-waddlesplash


Other related posts: