Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

r11 clang: undefined reference to 'isnan' '__isinf' #44

Closed
osfans opened this issue Mar 24, 2016 · 2 comments
Closed

r11 clang: undefined reference to 'isnan' '__isinf' #44

osfans opened this issue Mar 24, 2016 · 2 comments

Comments

@osfans
Copy link

osfans commented Mar 24, 2016

jni/include/boost/math/special_functions/fpclassify.hpp:538: error: undefined reference to 'isnan'
/opt/android-ndk/sources/cxx-stl/llvm-libc++/libcxx/include/cmath:393: error: undefined reference to '__isinf'
/usr/local/google/buildbot/out_dirs/aosp-ndk-r11-release/build/tmp/build-5996/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../../android/support/src/stdio/strtod.c:3111: error: undefined reference to '__fpclassifyd'
/usr/local/google/buildbot/out_dirs/aosp-ndk-r11-release/build/tmp/build-5996/build-libc++/ndk/sources/cxx-stl/llvm-libc++/../../android/support/src/stdio/vfprintf.c:250: error: undefined reference to '__isfinite'

NDK_TOOLCHAIN_VERSION := clang
APP_PLATFORM := android-8
APP_STL := c++_static
@DanAlbert
Copy link
Member

First, try android-9. android-8 is not supported.

If the issues are still present, it's likely that those are private symbols (I can't remember which ones are and aren't in the math library since some of those are implemented with macros and the actual public definition is named like a private symbol).

@DanAlbert
Copy link
Member

Just checked, not a problem for the supported API levels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants