projectNe10 / Ne10

An open optimized software library project for the ARM® Architecture
Other
1.46k stars 408 forks source link

fail to build ne10 Arm64-v8a with NDK r20 #239

Open hxxfff opened 5 years ago

hxxfff commented 5 years ago

successed with armeabi-v7a, while failed with Arm64-v8a, when build ne10 with NDK r20.

F:\work\NE10>ndk-build all [armeabi-v7a] Compile arm : ne10 <= NE10_abs.c [armeabi-v7a] Compile arm : ne10 <= NE10_addc.c [armeabi-v7a] Compile arm : ne10 <= NE10_addmat.c [armeabi-v7a] Compile arm : ne10 <= NE10_add.c [armeabi-v7a] Compile arm : ne10 <= NE10_cross.c [armeabi-v7a] Compile arm : ne10 <= NE10_detmat.c [armeabi-v7a] Compile arm : ne10 <= NE10_divc.c [armeabi-v7a] Compile arm : ne10 <= NE10_div.c [armeabi-v7a] Compile arm : ne10 <= NE10_dot.c [armeabi-v7a] Compile arm : ne10 <= NE10_identitymat.c [armeabi-v7a] Compile arm : ne10 <= NE10_invmat.c [armeabi-v7a] Compile arm : ne10 <= NE10_len.c [armeabi-v7a] Compile arm : ne10 <= NE10_mla.c [armeabi-v7a] Compile arm : ne10 <= NE10_mlac.c [armeabi-v7a] Compile arm : ne10 <= NE10_mulcmatvec.c [armeabi-v7a] Compile arm : ne10 <= NE10_mulc.c [armeabi-v7a] Compile arm : ne10 <= NE10_mulmat.c [armeabi-v7a] Compile arm : ne10 <= NE10_mul.c [armeabi-v7a] Compile arm : ne10 <= NE10_normalize.c [armeabi-v7a] Compile arm : ne10 <= NE10_rsbc.c [armeabi-v7a] Compile arm : ne10 <= NE10_setc.c [armeabi-v7a] Compile arm : ne10 <= NE10_subc.c [armeabi-v7a] Compile arm : ne10 <= NE10_submat.c [armeabi-v7a] Compile arm : ne10 <= NE10_sub.c [armeabi-v7a] Compile arm : ne10 <= NE10_transmat.c [armeabi-v7a] Compile arm : ne10 <= NE10_init_math.c [armeabi-v7a] Compile arm : ne10 <= NE10_init.c [armeabi-v7a] Compile arm : ne10 <= NE10_abs.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_addc.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_addmat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_add.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_cross.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_detmat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_divc.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_div.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_dot.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_identitymat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_invmat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_len.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_mla.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_mlac.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_mulcmatvec.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_mulc.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_mulmat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_mul.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_normalize.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_rsbc.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_setc.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_subc.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_submat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_sub.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_transmat.asm.s [armeabi-v7a] Compile arm : ne10 <= NE10_add.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_addc.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_addmat.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_divc.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_mlac.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_mulc.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_rsbc.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_setc.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_subc.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_submat.neon.c [armeabi-v7a] Compile arm : ne10 <= NE10_abs.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_cross.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_detmat.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_div.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_dot.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_identitymat.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_invmat.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_len.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_mla.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_mulcmatvec.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_mulmat.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_mul.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_normalize.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_sub.neon.s [armeabi-v7a] Compile arm : ne10 <= NE10_transmat.neon.s [armeabi-v7a] SharedLibrary : libne10.so [armeabi-v7a] Install : libne10.so => libs/armeabi-v7a/libne10.so [arm64-v8a] Compile : ne10 <= NE10_abs.c [arm64-v8a] Compile : ne10 <= NE10_addc.c [arm64-v8a] Compile : ne10 <= NE10_addmat.c [arm64-v8a] Compile : ne10 <= NE10_add.c [arm64-v8a] Compile : ne10 <= NE10_cross.c [arm64-v8a] Compile : ne10 <= NE10_detmat.c [arm64-v8a] Compile : ne10 <= NE10_divc.c [arm64-v8a] Compile : ne10 <= NE10_div.c [arm64-v8a] Compile : ne10 <= NE10_dot.c [arm64-v8a] Compile : ne10 <= NE10_identitymat.c [arm64-v8a] Compile : ne10 <= NE10_invmat.c [arm64-v8a] Compile : ne10 <= NE10_len.c [arm64-v8a] Compile : ne10 <= NE10_mla.c [arm64-v8a] Compile : ne10 <= NE10_mlac.c [arm64-v8a] Compile : ne10 <= NE10_mulcmatvec.c [arm64-v8a] Compile : ne10 <= NE10_mulc.c [arm64-v8a] Compile : ne10 <= NE10_mulmat.c [arm64-v8a] Compile : ne10 <= NE10_mul.c [arm64-v8a] Compile : ne10 <= NE10_normalize.c [arm64-v8a] Compile : ne10 <= NE10_rsbc.c [arm64-v8a] Compile : ne10 <= NE10_setc.c [arm64-v8a] Compile : ne10 <= NE10_subc.c [arm64-v8a] Compile : ne10 <= NE10_submat.c [arm64-v8a] Compile : ne10 <= NE10_sub.c [arm64-v8a] Compile : ne10 <= NE10_transmat.c [arm64-v8a] Compile : ne10 <= NE10_init_math.c [arm64-v8a] Compile : ne10 <= NE10_init.c [arm64-v8a] Compile : ne10 <= NE10_abs.asm.s jni/modules/math/NE10_abs.asm.s:1:1: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:2:1: error: unexpected token at start of statement @ Copyright 2011-16 ARM Limited and Contributors. ^ jni/modules/math/NE10_abs.asm.s:3:1: error: unexpected token at start of statement @ All rights reserved. ^ jni/modules/math/NE10_abs.asm.s:4:1: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:5:1: error: unexpected token at start of statement @ Redistribution and use in source and binary forms, with or without ^ jni/modules/math/NE10_abs.asm.s:6:1: error: unexpected token at start of statement @ modification, are permitted provided that the following conditions are met: ^ jni/modules/math/NE10_abs.asm.s:7:1: error: unexpected token at start of statement @ Redistributions of source code must retain the above copyright ^ jni/modules/math/NE10_abs.asm.s:8:1: error: unexpected token at start of statement @ notice, this list of conditions and the following disclaimer. ^ jni/modules/math/NE10_abs.asm.s:9:1: error: unexpected token at start of statement @ Redistributions in binary form must reproduce the above copyright ^ jni/modules/math/NE10_abs.asm.s:10:1: error: unexpected token at start of statement @ notice, this list of conditions and the following disclaimer in the ^ jni/modules/math/NE10_abs.asm.s:11:1: error: unexpected token at start of statement @ documentation and/or other materials provided with the distribution. ^ jni/modules/math/NE10_abs.asm.s:12:1: error: unexpected token at start of statement @ Neither the name of ARM Limited nor the ^ jni/modules/math/NE10_abs.asm.s:13:1: error: unexpected token at start of statement @ names of its contributors may be used to endorse or promote products ^ jni/modules/math/NE10_abs.asm.s:14:1: error: unexpected token at start of statement @ derived from this software without specific prior written permission. ^ jni/modules/math/NE10_abs.asm.s:15:1: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:16:1: error: unexpected token at start of statement @ THIS SOFTWARE IS PROVIDED BY ARM LIMITED AND CONTRIBUTORS "AS IS" AND ^ jni/modules/math/NE10_abs.asm.s:17:1: error: unexpected token at start of statement @ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ^ jni/modules/math/NE10_abs.asm.s:18:1: error: unexpected token at start of statement @ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ^ jni/modules/math/NE10_abs.asm.s:19:1: error: unexpected token at start of statement @ DISCLAIMED. IN NO EVENT SHALL ARM LIMITED AND CONTRIBUTORS BE LIABLE FOR ANY ^ jni/modules/math/NE10_abs.asm.s:20:1: error: unexpected token at start of statement @ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ^ jni/modules/math/NE10_abs.asm.s:21:1: error: unexpected token at start of statement @ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ^ jni/modules/math/NE10_abs.asm.s:22:1: error: unexpected token at start of statement @ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ^ jni/modules/math/NE10_abs.asm.s:22:47: error: unexpected token in argument list @ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ^ jni/modules/math/NE10_abs.asm.s:23:1: error: unexpected token at start of statement @ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ^ jni/modules/math/NE10_abs.asm.s:24:1: error: unexpected token at start of statement @ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ^ jni/modules/math/NE10_abs.asm.s:25:1: error: unexpected token at start of statement @ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ^ jni/modules/math/NE10_abs.asm.s:26:1: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:28:1: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:29:1: error: unexpected token at start of statement @ NE10 Library : math/NE10_abs.asm.s ^ jni/modules/math/NE10_abs.asm.s:30:1: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:33:9: error: unknown directive .syntax unified ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:1:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:2:1: error: unexpected token at start of statement @ Copyright 2011-16 ARM Limited and Contributors. ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:3:1: error: unexpected token at start of statement @ All rights reserved. ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:4:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:5:1: error: unexpected token at start of statement @ Redistribution and use in source and binary forms, with or without ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:6:1: error: unexpected token at start of statement @ modification, are permitted provided that the following conditions are met: ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:7:1: error: unexpected token at start of statement @ Redistributions of source code must retain the above copyright ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:8:1: error: unexpected token at start of statement @ notice, this list of conditions and the following disclaimer. ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:9:1: error: unexpected token at start of statement @ Redistributions in binary form must reproduce the above copyright ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:10:1: error: unexpected token at start of statement @ notice, this list of conditions and the following disclaimer in the ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:11:1: error: unexpected token at start of statement @ documentation and/or other materials provided with the distribution. ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:12:1: error: unexpected token at start of statement @ Neither the name of ARM Limited nor the ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:13:1: error: unexpected token at start of statement @ names of its contributors may be used to endorse or promote products ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:14:1: error: unexpected token at start of statement @ derived from this software without specific prior written permission. ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:15:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:16:1: error: unexpected token at start of statement @ THIS SOFTWARE IS PROVIDED BY ARM LIMITED AND CONTRIBUTORS "AS IS" AND ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:17:1: error: unexpected token at start of statement @ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:18:1: error: unexpected token at start of statement @ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:19:1: error: unexpected token at start of statement @ DISCLAIMED. IN NO EVENT SHALL ARM LIMITED AND CONTRIBUTORS BE LIABLE FOR ANY ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:20:1: error: unexpected token at start of statement @ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:21:1: error: unexpected token at start of statement @ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:22:1: error: unexpected token at start of statement @ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:22:47: error: unexpected token in argument list @ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:23:1: error: unexpected token at start of statement @ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:24:1: error: unexpected token at start of statement @ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:25:1: error: unexpected token at start of statement @ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:26:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:28:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:29:1: error: unexpected token at start of statement @ NE10 Library : common/NE10header.s ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:30:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:1:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:2:1: error: unexpected token at start of statement @ Copyright 2011-16 ARM Limited and Contributors. ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:3:1: error: unexpected token at start of statement @ All rights reserved. ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:4:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:5:1: error: unexpected token at start of statement @ Redistribution and use in source and binary forms, with or without ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:6:1: error: unexpected token at start of statement @ modification, are permitted provided that the following conditions are met: ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:7:1: error: unexpected token at start of statement @ Redistributions of source code must retain the above copyright ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:8:1: error: unexpected token at start of statement @ notice, this list of conditions and the following disclaimer. ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:9:1: error: unexpected token at start of statement @ Redistributions in binary form must reproduce the above copyright ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:10:1: error: unexpected token at start of statement @ notice, this list of conditions and the following disclaimer in the ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:11:1: error: unexpected token at start of statement @ documentation and/or other materials provided with the distribution. ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:12:1: error: unexpected token at start of statement @ Neither the name of ARM Limited nor the ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:13:1: error: unexpected token at start of statement @ names of its contributors may be used to endorse or promote products ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:14:1: error: unexpected token at start of statement @ derived from this software without specific prior written permission. ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:15:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:16:1: error: unexpected token at start of statement @ THIS SOFTWARE IS PROVIDED BY ARM LIMITED AND CONTRIBUTORS "AS IS" AND ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:17:1: error: unexpected token at start of statement @ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:18:1: error: unexpected token at start of statement @ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:19:1: error: unexpected token at start of statement @ DISCLAIMED. IN NO EVENT SHALL ARM LIMITED AND CONTRIBUTORS BE LIABLE FOR ANY ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:20:1: error: unexpected token at start of statement @ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:21:1: error: unexpected token at start of statement @ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:22:1: error: unexpected token at start of statement @ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:22:47: error: unexpected token in argument list @ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:23:1: error: unexpected token at start of statement @ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:24:1: error: unexpected token at start of statement @ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:25:1: error: unexpected token at start of statement @ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:26:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:28:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:29:1: error: unexpected token at start of statement @ NE10 Library : common/versionheader.s ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:30:1: error: unexpected token at start of statement @ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:32:1: error: unexpected token at start of statement @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:33:1: error: unexpected token at start of statement @ version information ^ Included from jni/modules/math/NE10_abs.asm.s:35: Included from jni/common/\NE10header.s:32: jni/common/\versionheader.s:34:1: error: unexpected token at start of statement @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:34:1: error: unexpected token at start of statement @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:35:1: error: unexpected token at start of statement @ constant values that are used across the library ^ Included from jni/modules/math/NE10_abs.asm.s:35: jni/common/\NE10header.s:36:1: error: unexpected token at start of statement @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ^ jni/modules/math/NE10_abs.asm.s:39:9: error: unknown directive .thumb ^ jni/modules/math/NE10_abs.asm.s:40:9: error: unknown directive .thumb_func ^ jni/modules/math/NE10_abs.asm.s:43:9: error: unexpected token at start of statement @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ^ jni/modules/math/NE10_abs.asm.s:44:9: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:45:9: error: unexpected token at start of statement @ arm_result_t ne10_abs_float(arm_float_t dst, ^ jni/modules/math/NE10_abs.asm.s:46:9: error: unexpected token at start of statement @ arm_float_t src, ^ jni/modules/math/NE10_abs.asm.s:47:9: error: unexpected token at start of statement @ unsigned int count) ^ jni/modules/math/NE10_abs.asm.s:48:9: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:49:9: error: unexpected token at start of statement @ r0: dst ^ jni/modules/math/NE10_abs.asm.s:50:9: error: unexpected token at start of statement @ r1: *src ^ jni/modules/math/NE10_abs.asm.s:51:9: error: unexpected token at start of statement @ r2: int count ^ jni/modules/math/NE10_abs.asm.s:52:9: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:53:9: error: unexpected token at start of statement @ r2: loop counter ^ jni/modules/math/NE10_abs.asm.s:54:9: error: unexpected token at start of statement @ ^ jni/modules/math/NE10_abs.asm.s:55:9: error: unexpected token at start of statement @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ ^ jni/modules/math/NE10_abs.asm.s:57:17: error: invalid operand for instruction cbz r2, .LoopEndFloat ^ jni/modules/math/NE10_abs.asm.s:58:17: error: invalid operand for instruction mov r3, #0 ^ jni/modules/math/NE10_abs.asm.s:59:9: error: unrecognized instruction mnemonic, did you mean: fmov, mov, movi, movk, movn, movz, smov, umov? vmov s2, r3 ^ jni/modules/math/NE10_abs.asm.s:62:43: error: unexpected token in argument list vldr s1, [r1] @ Load s1 = src[i] ^ jni/modules/math/NE10_abs.asm.s:63:45: error: invalid variant 'move' add r1, r1, #4 @ move to the next item ^ jni/modules/math/NE10_abs.asm.s:64:43: error: unexpected token in argument list vabs.f32 s1, s1 @ get the absolute value; s1 = abs(s1 - 0) ^ jni/modules/math/NE10_abs.asm.s:64:77: error: unexpected token vabs.f32 s1, s1 @ get the absolute value; s1 = abs(s1 - 0) ^ jni/modules/math/NE10_abs.asm.s:65:43: error: unexpected token in argument list vstr s1, [r0] @ Store it back into the main memory; dst[i] = s1 ^ jni/modules/math/NE10_abs.asm.s:65:88: error: unexpected token in argument list vstr s1, [r0] @ Store it back into the main memory; dst[i] = s1 ^ jni/modules/math/NE10_abs.asm.s:66:45: error: invalid variant 'move' add r0, r0, #4 @ move to the next entry ^ jni/modules/math/NE10_abs.asm.s:67:45: error: invalid variant 'count' subs r2, r2, #1 @ count down using the current index (i--) ^ jni/modules/math/NE10_abs.asm.s:68:45: error: invalid variant 'Continue' bne .LoopBeginFloat @ Continue if "i < count" ^ jni/modules/math/NE10_abs.asm.s:71:43: error: invalid variant 'Return' mov r0, NE10_OK @ Return NE10_OK ^ jni/modules/math/NE10_abs.asm.s:72:9: error: unrecognized instruction mnemonic, did you mean: b, bl, br, tbx? bx lr ^ make: *** [obj/local/arm64-v8a/objs/ne10/modules/math/NE10_abs.asm.o] Error 1

phaetrick commented 5 years ago

Try -fno-integrated-as compile flag.

hxxfff commented 5 years ago

Hi, it make no difference. Thanks

On 11/04/2019 03:03, phaetrick wrote: Try -fno-integrated-as as compile flag.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/projectNe10/Ne10/issues/239?email_source=notifications\u0026email_token=ABYU4QAJSMNKZQYXUEBILATQR4OAJA5CNFSM4I7UWNX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC52GLQ#issuecomment-549167918", "url": "https://github.com/projectNe10/Ne10/issues/239?email_source=notifications\u0026email_token=ABYU4QAJSMNKZQYXUEBILATQR4OAJA5CNFSM4I7UWNX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC52GLQ#issuecomment-549167918", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

phaetrick commented 5 years ago

Ok sorry, the above may resolve issues when compiling for armv7. In your case it should not try to compile that file for armv8, because it's for armv7. Try to comment it out in cmakelists.txt which is in the modules dir.

hxxfff commented 5 years ago

hi, how to use it in armv8?

hxxfff@sina.com

From: phaetrick Date: 2019-11-09 03:06 To: projectNe10/Ne10 CC: hxxfff; Author Subject: Re: [projectNe10/Ne10] fail to build ne10 Arm64-v8a with NDK r20 (#239) Ok sorry, the above may resolve issues when compiling for armv7. In your case it should not try to compile that file for armv8, because it's for armv7. Try to comment it out in cmakelists.txt which is in the modules dir. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

phaetrick commented 5 years ago

You cannot use the asm version of that function on armv8 because it is written for armv7. Go with the c version. In fact, the only functions in this library that seem to have armv8 optimized asm versions are some of the fft functions.

hxxfff commented 5 years ago

Arm v8 is a must for Android now

On 11/09/2019 12:39, phaetrick wrote: You cannot use the asm version of that function on armv8 because it is written for armv7. Go with the c version. In fact, the only functions in this library that seem to have armv8 optimized asm versions are some of the fft functions.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe. [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/projectNe10/Ne10/issues/239?email_source=notifications\u0026email_token=ABYU4QGTM7METC7B2SINQ53QSY5G3A5CNFSM4I7UWNX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT5VOI#issuecomment-552065721", "url": "https://github.com/projectNe10/Ne10/issues/239?email_source=notifications\u0026email_token=ABYU4QGTM7METC7B2SINQ53QSY5G3A5CNFSM4I7UWNX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDT5VOI#issuecomment-552065721", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]