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

最新代码编译armv7的时候报错 #70

Closed
wj2008 opened this issue Jun 13, 2024 · 0 comments
Closed

最新代码编译armv7的时候报错 #70

wj2008 opened this issue Jun 13, 2024 · 0 comments
Labels
bug Something isn't working regression Something works before but not now

Comments

@wj2008
Copy link

wj2008 commented Jun 13, 2024

Execution failed for task ':core:buildCMakeRelWithDebInfo[armeabi-v7a][pine]'.

com.android.ide.common.process.ProcessException: ninja: Entering directory `/data/audio/pine/core/.cxx/RelWithDebInfo/2n2v71n4/armeabi-v7a'
[1/2] Building ASM object CMakeFiles/pine.dir/trampoline/arch/thumb2.S.o
FAILED: CMakeFiles/pine.dir/trampoline/arch/thumb2.S.o
/home/master/Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -target armv7-none-linux-androideabi19 --sysroot=/home/master/Android/Sdk/ndk/25.2.9519653/toolchains/llvm/prebuilt/linux-x86_64/sysroot -Dpine_EXPORTS -I/data/audio/pine/core/src/main/cpp/external/xz-embedded/linux/include/linux -I/data/audio/pine/core/src/main/cpp/external/xz-embedded/userspace -isystem /home/master/.gradle/caches/transforms-3/23079b8960c6a0dcc087349e8ecd9f25/transformed/cxx-1.2.0/prefab/modules/cxx/include -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security -arch armv7 -O2 -g -DNDEBUG -fPIC -MD -MT CMakeFiles/pine.dir/trampoline/arch/thumb2.S.o -MF CMakeFiles/pine.dir/trampoline/arch/thumb2.S.o.d -o CMakeFiles/pine.dir/trampoline/arch/thumb2.S.o -c /data/audio/pine/core/src/main/cpp/trampoline/arch/thumb2.S
clang: warning: argument unused during compilation: '-arch armv7' [-Wunused-command-line-argument]
/data/audio/pine/core/src/main/cpp/trampoline/arch/thumb2.S:78:9: error: expected ')'
LDVAR(r0, pine_thumb_method_jump_trampoline_dest_method)
^
/data/audio/pine/core/src/main/cpp/trampoline/arch/thumb2.S:79:9: error: expected ')'
LDVAR(pc, pine_thumb_method_jump_trampoline_dest_entry)
^
ninja: build stopped: subcommand failed.

C++ build system [build] failed while executing:
/home/master/Android/Sdk/cmake/3.22.1/bin/ninja
-C
/data/audio/pine/core/.cxx/RelWithDebInfo/2n2v71n4/armeabi-v7a
pine
from /data/audio/pine/core

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

汇编看不懂 gpt说这个没定义 LDVAR

@canyie canyie added bug Something isn't working regression Something works before but not now labels Jun 13, 2024
@canyie canyie closed this as completed in fe30408 Jun 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression Something works before but not now
Projects
None yet
Development

No branches or pull requests

2 participants