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

Compile frida-core to linux-arm64 #535

Open
yooo1999 opened this issue Jun 23, 2024 · 0 comments
Open

Compile frida-core to linux-arm64 #535

yooo1999 opened this issue Jun 23, 2024 · 0 comments

Comments

@yooo1999
Copy link

yooo1999 commented Jun 23, 2024

I want to compile frida-server to linux-arm64 (include the bootstrapper.c) because I want to debug that error ( here )

1)When I tried on raspberry pi the following commands:

docker pull ghcr.io/frida/x-tools-linux-arm64:latest
docker run -it ghcr.io/frida/x-tools-linux-arm64:latest

I got

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
standard_init_linux.go:239: exec user process caused: exec format error

Why is that ?

  1. When I tried on Intel CPU I run the following commands:
docker pull ghcr.io/frida/x-tools-linux-arm64:latest
docker run -it ghcr.io/frida/x-tools-linux-arm64:latest
cd /home
git clone --recurse-submodules https://github.com/frida/frida
cd frida
make core-linux-arm64

I got error:

INFO: autodetecting backend as ninja
ERROR: Can't invoke target `core-linux-aarch64`: target not found
Command '['/usr/bin/python3', '/home/frida/releng/meson/meson.py', 'compile', 'core-linux-aarch64']' returned non-zero exit status 1.
make: *** [Makefile:4: core-linux-aarch64] Error 1

After that error I want to compile the helpers (to compile bootstrapper.c to frida-server)
make -C frida-core/src/linux/helpers FRIDA_HOST=linux-arm64

How can I resolve that errors ?

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

No branches or pull requests

1 participant