[ltt-dev] unable to link marker-lib - relocation R_X86_64_PC32	against `__stop___markers' can not be used when making a	shared object; recompile with -fPIC
    lshorbguard-ltt at yahoo.com 
    lshorbguard-ltt at yahoo.com
       
    Fri Nov  7 17:33:43 EST 2008
    
    
  
Hello,
I am unable to build markers-userspace-0.5 (or 0.6).  Here's what I get:
make -f Makefile_64
gcc -Wl,-Telf_x86_64.xmark -O2 -fPIC -DCONFIG_MARKERS -shared -o libtestlib.so testlib.c marker-lib.o
/usr/bin/ld: marker-lib.o: relocation R_X86_64_32 against
`__stop___markers' can not be used when making a shared object;
recompile with -fPIC
marker-lib.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libtestlib.so] Error 1
I have patched my elf_x86_64.x per the included patch.
clearly marker-lib.o is being built with the -fPIC option... Any suggestions?
X86_64 kernel 2.6.26.5, otherwise FC7 system. using gcc 4.1.2 
Any assistance appreciated.
Thanks,
Lance
    
    
More information about the lttng-dev
mailing list