[ltt-dev] ust-0.12: relocation R_X86_64_PC32 against `__start ___markers_ptrs'

Jan Blunck jblunck at infradead.org
Wed May 4 04:15:36 EDT 2011


On Tue, May 3, 2011 at 10:50 PM, Mathieu Desnoyers
<compudj at krystal.dyndns.org> wrote:
> * Jan Blunck (jblunck at infradead.org) wrote:
>> I have a problem building ust-0.12 on RHEL5 and I'm too blind to spot
>> the problem. It builds (and works fine) on SLES though. Any ideas?
>>
>> libtool: link: gcc -shared  .libs/libust_la-marker.o .libs/libust_la-tracepoint.
>> o .libs/libust_la-trace_event.o .libs/libust_la-channels.o .libs/libust_la-marke
>> r-control.o .libs/libust_la-buffers.o .libs/libust_la-tracer.o .libs/libust_la-t
>> racercore.o .libs/libust_la-serialize.o .libs/libust_la-tracectl.o .libs/libust_
>> la-type-serializer.o  -Wl,--whole-archive ../snprintf/.libs/libustsnprintf.a ../
>> libustcomm/.libs/libustcomm.a -Wl,--no-whole-archive  -lpthread -lrt -lurcu-bp
>> -m64 -mtune=generic   -Wl,-soname -Wl,libust.so.0 -o .libs/libust.so.0.0.0
>> /usr/bin/ld: .libs/libust_la-marker.o: relocation R_X86_64_PC32 against `__start
>> ___markers_ptrs' can not be used when making a shared object; recompile with -fP
>
> I think we fixed that in the git HEAD. Can you try ?
>

Do you mean making the section writable? This does not fix the problem.

Probably it is the inline asm that is incorrect. I see that you
replaced that in master. Currently I can test with master since I'm
not able to clone with git protocol from where I am.

Jan




More information about the lttng-dev mailing list