Closed leleliu008 closed 3 years ago
version: 0.7.3
toolchain: Android NDK
build for arch: x86(i686)
error log:
/usr/local/opt/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/bin/i686-linux-android21-clang --sysroot /usr/local/opt/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Qunused-arguments -Dftello=ftell -Dfseeko=fseek --sysroot /usr/local/opt/android-sdk/ndk-bundle/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Qunused-arguments -Os -fpic -fno-gnu89-inline -fno-builtin -fPIC -march=i686 -m32 -std=c99 -Wall -I/private/var/folders/jw/7vmz4m1970932zln9tb1whxr0000gn/T/tmp.x7Fae6Yw -I/private/var/folders/jw/7vmz4m1970932zln9tb1whxr0000gn/T/tmp.x7Fae6Yw/include -I/private/var/folders/jw/7vmz4m1970932zln9tb1whxr0000gn/T/tmp.x7Fae6Yw/i387 -I/private/var/folders/jw/7vmz4m1970932zln9tb1whxr0000gn/T/tmp.x7Fae6Yw/src -DASSEMBLER -D__BSD_VISIBLE -Wno-implicit-function-declaration -I/private/var/folders/jw/7vmz4m1970932zln9tb1whxr0000gn/T/tmp.x7Fae6Yw/ld80 -c src/s_cosl.c -o src/s_cosl.c.o src/s_cosl.c:44:2: error: "Unsupported long double format" #error "Unsupported long double format" ^ 1 error generated. gmake: *** [Make.inc:162: src/s_cosl.c.o] Error 1 gmake: Leaving directory '/private/var/folders/jw/7vmz4m1970932zln9tb1whxr0000gn/T/tmp.x7Fae6Yw'
relevant code
reason:LDBL_MANT_DIG macro is not defined
LDBL_MANT_DIG
LDBL_MANT_DIGmacro is defined in toolchain internal. I have resolved this problem by using LONG_DOUBLE_NOT_DOUBLE=0 makefile variable.
LONG_DOUBLE_NOT_DOUBLE=0
version: 0.7.3
toolchain: Android NDK
build for arch: x86(i686)
error log:
relevant code
reason:
LDBL_MANT_DIG
macro is not defined