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

How to compile amp as a static musl binary? #250

Open
lanceschi opened this issue Dec 20, 2021 · 1 comment
Open

How to compile amp as a static musl binary? #250

lanceschi opened this issue Dec 20, 2021 · 1 comment

Comments

@lanceschi
Copy link

Hello @jmacdonald,

and thanks 💯 for the awesome editor!

Is it possible to compile amp as a static musl binary?

Thanks in advance

@lanceschi
Copy link
Author

lanceschi commented Dec 21, 2021

I tried to compile amp with following flags:

cargo build --release --target x86_64-unknown-linux-musl

It compiles successfully but if launch amp, it crashes reporting with the following error:

fish: Job 1, './amp' terminated by signal SIGSEGV (Address boundary error)

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