[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pnet-developers] libjit build errors
From: |
Rhys Weatherley |
Subject: |
Re: [Pnet-developers] libjit build errors |
Date: |
Sat, 12 Nov 2005 19:16:30 +1000 |
User-agent: |
KMail/1.4.3 |
On Saturday 12 November 2005 03:48 pm, Marcus wrote:
> I'm trying to build libjit on X86_64, and I am getting the error
>
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bi
>n/ld: .libs/jit-apply.o: relocation R_X86_64_PC32 against `jit_memcpy' can
> not be used when making a shared object; recompile with -fPIC
> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.5/../../../../x86_64-suse-linux/bi
>n/ld: final link failed: Bad value
It's just a #define to memcpy. Weird. You could try removing the #define's
in jit-memory.h and see if that helps. If not, try changing jit-memory.c to
avoid using memcpy, memset, etc. i.e. remove a bit at a time until the
problem goes away, and whatever was removed last might be the problem.
Cheers,
Rhys.