[ltt-dev] libust link failure on Android

pplists at me.com pplists at me.com
Tue May 17 14:34:20 EDT 2011


Hi,

I'm trying to get ust working on Android, but got stuck:

out/[snip]/marker.o: In function `destroy_ust_marker':
/android-lttng/external/ust-posix/libust/marker.c:1463: undefined reference to `__start___ust_marker_ptrs'
out/[snip]/marker.o: In function `init_ust_marker':
/android-lttng/external/ust-posix/libust/marker.c:1458: undefined reference to `__start___ust_marker_ptrs'
/android-lttng/external/ust-posix/libust/marker.c:1458: undefined reference to `__stop___ust_marker_ptrs'
/android-lttng/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/arm-eabi/bin/ld:
out/[snip]/libust.so: hidden symbol `__stop___ust_marker_ptrs' isn't defined
/android-lttng/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/arm-eabi/bin/ld: 
final link failed: Nonrepresentable section on output


I suspect differences between gnu and android 'ld', but since I can't figure out where the missing symbols are supposed to come from, it's hard to work out a fix.

If anyone could shed some light on how and where the __start__xyz/__stop__xyz symbols are defined I'd very happy!

Regards,
Per
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.casi.polymtl.ca/pipermail/lttng-dev/attachments/20110517/2740b00a/attachment-0003.htm>


More information about the lttng-dev mailing list