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

Jan Blunck jblunck at infradead.org
Tue May 3 14:59:02 EDT 2011


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
IC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libust.la] Error 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .build.log
Type: text/x-log
Size: 31180 bytes
Desc: not available
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110503/b43265a8/attachment-0003.bin>


More information about the lttng-dev mailing list