You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Boehm Weiser Garbage Collector needs tkill to stop the world in threaded builds. Embeddable Common-Lisp depends on it, but libgc.a can't be linked because of:
/usr/share/src/ecl-16.1.2/src/bdwgc/pthread_stop_world.c:452: undefined reference to tkill'`
It seems, that libc.a has that symbol, but libc.so doesn't. In release r9b symbol is present in both files and compilation works fine.
Environment Details
NDK Version: 13.1.3345770
Build: standalone toolchain generated with $NDK/build/tools/make_standalone_toolchain.py --arch arm --api 9 --install-dir /opt/toolchains/arm-linux-androideabi/
ArchLinux
Compiler: GCC
NDK API level: 9
The text was updated successfully, but these errors were encountered:
(not sure if that's the sources that you bdwgc is built from, but I'm guessing it's similar)
This bug will need to be filed against the gc project. FWIW glibc doesn't have symbols defined for tkill either, so anything that works with glibc should also work for Android.
OK, thanks for the prompt response. It seems my sources are indeed outdated and tkill usage is wrapped in ifdef of PLATFORM_ANDROID while in upstream its in USE_TKILL_ON_ANDROID.
Description
Boehm Weiser Garbage Collector needs
tkill
to stop the world in threaded builds. Embeddable Common-Lisp depends on it, but libgc.a can't be linked because of:/usr/share/src/ecl-16.1.2/src/bdwgc/pthread_stop_world.c:452: undefined reference to
tkill'`It seems, that
libc.a
has that symbol, butlibc.so
doesn't. In releaser9b
symbol is present in both files and compilation works fine.Environment Details
$NDK/build/tools/make_standalone_toolchain.py --arch arm --api 9 --install-dir /opt/toolchains/arm-linux-androideabi/
The text was updated successfully, but these errors were encountered: