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

Dont work on mac m3 (arm) #24

Open
Lostsoulfl opened this issue Jul 31, 2024 · 1 comment
Open

Dont work on mac m3 (arm) #24

Lostsoulfl opened this issue Jul 31, 2024 · 1 comment

Comments

@Lostsoulfl
Copy link

Hello

I'm trying to use paserver in mac m3, but debug mode is not working.

When I start delphi 12.1 app, the got the error "unable to create process: ''A' packet returned an error -1"

Its NOT working:

  • Image from https://hub.docker.com/r/radstudio/paserver with command: "docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -it -e PA_SERVER_PASSWORD=securepass -p 64211:64211 -p 8082:8082 radstudio/paserver:latest"
  • Manual install on oracle linux 9 docker image, same error

Tested with docker option --platform linux/amd64 too.

It's working

  • Manual install on fresh VM with oracle linux 9 on OCI --> It's work's after soft link adjust on python3.so.
  • Manual install on a Docker image inside the same VM with oracle linux 9 on OCI --> It's work's after soft link adjust on python3.so.

I can deploy and start app on docker in all images, but cant debug.

The problems seems to be in mac M3 arm.

Delphi 12.1
PAServer 23.0 (updated version to Delphi 12.1)

Can you help me?

Thanks
Fabio Lobo

@azapater
Copy link
Member

azapater commented Aug 2, 2024

Thanks for such a detailed report, Fabio.

Currently, our Delphi Linux compiler is only compatible with AMD64, which means that PAServer is not natively available for Linux ARM. That makes Docker running on Apple Silicon (theoretically) incompatible with this PAServer image. We provide a specific PAServer version compatible with Apple Silicon, but of course, that's for compiling MacOS/iOS binaries, not Linux ones.

Is your OCI VPS Ampere or AMD based? If it's Ampere, I recommend you try with an AMD one if possible.

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

2 participants