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
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
_______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
