frida / frida-gum

Cross-platform instrumentation and introspection library written in C

Home Page:https://frida.re

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

frida_16.03~16.02-android-Gum-arm64 undefined reference to `__aarch64_ldset4_acq_rel'

GitChenCpp opened this issue · comments

NDK Version:
21.4.7075529

Frida Version:
frida-gum-devkit-16.0.3-android-arm64.a
&&
frida-gum-devkit-16.0.2-android-arm64.a
Compile Cpp Errors Info:
cpp/Third/frida/v16.0.3/Libs/libfrida-gum-arm64-v8a.a(guminterceptor.c.o): In function gum_interceptor_restore': /home/runner/work/frida/frida/build/tmp-android-arm64/frida-gum/../../../frida-gum/gum/guminterceptor.c:754: undefined reference to __aarch64_ldadd4_acq_rel'
cpp/Third/frida/v16.0.3/Libs/libfrida-gum-arm64-v8a.a(guminterceptor.c.o): In function _gum_function_context_begin_invocation': /home/runner/work/frida/frida/build/tmp-android-arm64/frida-gum/../../../frida-gum/gum/guminterceptor.c:1381: undefined reference to __aarch64_ldadd4_acq_rel'
...
...
The error log is basically similar to the above

Android Studio Version:
Android Studio Chipmunk | 2021.2.1 Patch 1
Build #AI-212.5712.43.2112.8609683, built on May 19, 2022
Runtime version: 11.0.12+7-b1504.28-7817840 amd64
VM: OpenJDK 64-Bit Server VM by Oracle Corporation
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 10240M
Cores: 16
Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false, cidr.max.intellisense.file.length=5000000
Non-Bundled Plugins: Dart (212.5744), org.jf.smalidea (0.06-dev), org.intellij.plugins.markdown (212.5457.16), org.jetbrains.kotlin (212-1.7.0-release-281-AS5457.46), io.flutter (69.0.2)

can u fix it?
frida-gum.a can not work on Linker Process!!!!

NDK Version: 21.4.7075529

Frida Version: frida-gum-devkit-16.0.3-android-arm64.a && frida-gum-devkit-16.0.2-android-arm64.a Compile Cpp Errors Info: cpp/Third/frida/v16.0.3/Libs/libfrida-gum-arm64-v8a.a(guminterceptor.c.o): In function gum_interceptor_restore': /home/runner/work/frida/frida/build/tmp-android-arm64/frida-gum/../../../frida-gum/gum/guminterceptor.c:754: undefined reference to __aarch64_ldadd4_acq_rel' cpp/Third/frida/v16.0.3/Libs/libfrida-gum-arm64-v8a.a(guminterceptor.c.o): In function _gum_function_context_begin_invocation': /home/runner/work/frida/frida/build/tmp-android-arm64/frida-gum/../../../frida-gum/gum/guminterceptor.c:1381: undefined reference to __aarch64_ldadd4_acq_rel' ... ... The error log is basically similar to the above

Android Studio Version: Android Studio Chipmunk | 2021.2.1 Patch 1 Build #AI-212.5712.43.2112.8609683, built on May 19, 2022 Runtime version: 11.0.12+7-b1504.28-7817840 amd64 VM: OpenJDK 64-Bit Server VM by Oracle Corporation Windows 10 10.0 GC: G1 Young Generation, G1 Old Generation Memory: 10240M Cores: 16 Registry: external.system.auto.import.disabled=true, ide.instant.shutdown=false, cidr.max.intellisense.file.length=5000000 Non-Bundled Plugins: Dart (212.5744), org.jf.smalidea (0.06-dev), org.intellij.plugins.markdown (212.5457.16), org.jetbrains.kotlin (212-1.7.0-release-281-AS5457.46), io.flutter (69.0.2)

can u fix it? frida-gum.a can not work on Linker Process!!!!

I'm using NDK that version is 23.1.7779620+,can link libfrida-gumjs.a file in android studio.
your NDK version is too low.