[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] libjit build errors
From: |
Marcus |
Subject: |
[Pnet-developers] libjit build errors |
Date: |
Fri, 11 Nov 2005 23:48:18 -0600 |
User-agent: |
KMail/1.9 |
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/bin/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/bin/ld:
final link failed: Bad value
I have tried adding -fPIC to CFLAGS, and that does not help.
The last couple commands executed were
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-I../include -I../include -I. -I. -fno-gcse -g -O2 -Wall -c -o jit-walk.lo
jit-walk.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse
-g -O2 -Wall -c jit-walk.c -fPIC -DPIC -o .libs/jit-walk.o
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I. -I. -fno-gcse
-g -O2 -Wall -c jit-walk.c -o jit-walk.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link gcc -I../include -I../include -I. -I.
-fno-gcse -g -O2 -Wall -L/usr/lib64 -L/usr/local/lib64 -o libjit.la
-rpath /usr/local/lib64 -version-info 0:0:0 jit-alloc.lo jit-apply.lo
jit-apply-arm.lo jit-apply-x86.lo jit-block.lo jit-cache.lo jit-context.lo
jit-cpuid-x86.lo jit-debugger.lo jit-dump.lo jit-elf-read.lo jit-elf-write.lo
jit-except.lo jit-function.lo jit-gen-arm.lo jit-insn.lo jit-init.lo
jit-interp.lo jit-intrinsic.lo jit-live.lo jit-memory.lo jit-meta.lo
jit-objmodel.lo jit-opcode.lo jit-pool.lo jit-reg-alloc.lo jit-rules.lo
jit-rules-interp.lo jit-rules-arm.lo jit-rules-x86.lo jit-string.lo
jit-symbol.lo jit-thread.lo jit-type.lo jit-value.lo jit-walk.lo -lpthread
-ldl -lm
gcc
-shared .libs/jit-alloc.o .libs/jit-apply.o .libs/jit-apply-arm.o
.libs/jit-apply-x86.o .libs/jit-block.o .libs/jit-cache.o .libs/jit-context.o
.libs/jit-cpuid-x86.o .libs/jit-debugger.o .libs/jit-dump.o
.libs/jit-elf-read.o .libs/jit-elf-write.o .libs/jit-except.o
.libs/jit-function.o .libs/jit-gen-arm.o .libs/jit-insn.o .libs/jit-init.o
.libs/jit-interp.o .libs/jit-intrinsic.o .libs/jit-live.o .libs/jit-memory.o
.libs/jit-meta.o .libs/jit-objmodel.o .libs/jit-opcode.o .libs/jit-pool.o
.libs/jit-reg-alloc.o .libs/jit-rules.o .libs/jit-rules-interp.o
.libs/jit-rules-arm.o .libs/jit-rules-x86.o .libs/jit-string.o
.libs/jit-symbol.o .libs/jit-thread.o .libs/jit-type.o .libs/jit-value.o
.libs/jit-walk.o
-L/usr/lib64 -L/usr/local/lib64 -lpthread -ldl -lm -Wl,-soname
-Wl,libjit.so.0 -o .libs/libjit.so.0.0.0
- [Pnet-developers] libjit build errors,
Marcus <=