bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/4398] relocation R_X86_64_PC32 against 'funcx'; recompile with


From: evilight at gmail dot com
Subject: [Bug ld/4398] relocation R_X86_64_PC32 against 'funcx'; recompile with -fPIC
Date: 20 Apr 2007 10:01:07 -0000

------- Additional Comments From evilight at gmail dot com  2007-04-20 11:01 
-------
(In reply to comment #2)
> You must use a PIC call.

Could you please describe more details? 
I also tried this:
compile the assemble code with gcc


gcc -fPIC -o a.o -c a.s
gcc -fPIC -o b.o -c b.c
ld -shared a.o b.o -o libtest.so
ld: a.o: relocation R_X86_64_PC32 against `int_this_is_a_test_k8_64_body' can 
not be used when making a shared object; recompile with -fPIC
ld: final link failed: Bad value
make: *** [libtest.so] Error 1

it is still the same.

-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4398

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]