Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Errors Building armeabi-v7a NDK v10+ #14

Open
GoogleCodeExporter opened this issue Aug 24, 2015 · 4 comments
Open

Errors Building armeabi-v7a NDK v10+ #14

GoogleCodeExporter opened this issue Aug 24, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

TEMPORARY SOLUTION: Reverting back to NDK 9d will fix the issue.

armeabi-v7a build is broken with NDK version 10 and higher:

mcordaro@HAL1500L:~/musicapp/music-synthesizer-for-android/android$ ndk-build -B
... 
[armeabi-v7a] Compile++ thumb: synth <= synth_unit.cc 
[armeabi-v7a] Compile thumb  : synth <= neon_fm_kernel.s
[armeabi-v7a] Compile thumb  : synth <= neon_ladder.s
[armeabi-v7a] Compile thumb  : synth <= neon_fir.s
jni/../../cpp/src/neon_fir.s: Assembler messages:
jni/../../cpp/src/neon_fir.s: Error: .size expression for neon_halfrate_split 
does not evaluate to a constant
jni/../../cpp/src/neon_fir.s: Error: .size expression for neon_halfrate_combine 
does not evaluate to a constant
make: *** [obj/local/armeabi-v7a/objs/synth/neon_fir.o] Error 1

All other builds (mips, x86, arm64-v8a, x86_64, mips64) complete without errors.

Original issue reported on code.google.com by cordaro....@gmail.com on 13 Jan 2015 at 10:32

@GoogleCodeExporter
Copy link
Author

same problem

Original comment by yanfei19...@gmail.com on 9 Mar 2015 at 8:11

@GoogleCodeExporter
Copy link
Author

encountered this also

Original comment by ienchen...@gmail.com on 16 Mar 2015 at 5:41

@GoogleCodeExporter
Copy link
Author

Same problem

Original comment by d...@chonk.co.uk on 8 Jul 2015 at 4:19

@GoogleCodeExporter
Copy link
Author

This is caused by a typo in cpp/src/neon_fir.s. Here's the fix:

$ git diff HEAD~1
diff --git a/cpp/src/neon_fir.s b/cpp/src/neon_fir.s
index c0bcb20..61b99e2 100644
--- a/cpp/src/neon_fir.s
+++ b/cpp/src/neon_fir.s
@@ -334,7 +334,7 @@ neon_halfrate_split1:

        pop {r4}
        bx lr
-       .size neon_halfrate_split, .-.neon_halfrate_split
+       .size neon_halfrate_split, .-neon_halfrate_split

        .align 2
        .global neon_halfrate_combine
@@ -364,4 +364,4 @@ neon_halfrate_combine1:

        pop {r4}
        bx lr
-       .size neon_halfrate_combine, .-.neon_halfrate_combine
+       .size neon_halfrate_combine, .-neon_halfrate_combine

Original comment by d...@chonk.co.uk on 8 Jul 2015 at 4:59

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

No branches or pull requests

1 participant