-
Notifications
You must be signed in to change notification settings - Fork 824
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
alpine build error #1766
Comments
Hmm, I'm not sure what's wrong with libclang here but this is caused by our libffi dependency. You can install libffi yourself (looks like it's already installed) and pass the See the This seems most likely to be an issue with libffi itself. Though |
@phpstatic could it be possible to have the build script so we can try to reproduce the issue? That way it will be much easier to find a fix, thanks! |
I am try build a minimal size static library to link with php, so I pick features singlepass,wasi. I try upgrade to 1.0.0-alpha4, find out 1.0.0-alpha4 can not work with php extension because api change. so I build old version, then I can not get it build. (I also upgrade rustup toolchain) This is how I build wasmer. rustup default nightly || exit $?
rustup update nightly || exit $?
rustup target add x86_64-unknown-linux-musl --toolchain=nightly
git reset --hard 1.0.0-alpha3
cargo clean
cargo build --manifest-path lib/c-api/Cargo.toml --release --target x86_64-unknown-linux-musl --no-default-features --features singlepass,wasi,system-libff --verbose
error: Package `wasmer-c-api v1.0.0-alpha3 (/opt/build/php/build/wasmer/lib/c-api)` does not have these features: `system-libff` without system-libff get libclang.so.10 error. I also try build with other version, get same error. remove |
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
2003: chore: Build Wasmer on musl r=jubianchi a=jubianchi This patch adds a specific build for musl. Currently, it will only support JIT engine. I also changes the workflow definition a bit so we don't depend on the OS name but rather on the environment ID which is our convention. Closes #1482 Closes #1766 <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: jubianchi <[email protected]>
2003: chore: Build Wasmer on musl r=jubianchi a=jubianchi This patch adds a specific build for musl. Currently, it will only support JIT engine. I also changes the workflow definition a bit so we don't depend on the OS name but rather on the environment ID which is our convention. Closes #1482 Closes #1766 <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: jubianchi <[email protected]>
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
Closes wasmerio#1482 Closes wasmerio#1766
2003: chore: Build Wasmer on musl r=jubianchi a=jubianchi This patch adds a specific build for musl. Currently, it will only support JIT engine. I also changes the workflow definition a bit so we don't depend on the OS name but rather on the environment ID which is our convention. Closes #1482 Closes #1766 <!-- Prior to submitting a PR, review the CONTRIBUTING.md document for recommendations on how to test: https://github.com/wasmerio/wasmer/blob/master/CONTRIBUTING.md#pull-requests --> # Description <!-- Provide details regarding the change including motivation, links to related issues, and the context of the PR. --> # Review - [ ] Add a short description of the the change to the CHANGELOG.md file Co-authored-by: jubianchi <[email protected]>
Describe the bug
try build from alpine, get this error:
Steps to reproduce
build from alpine/edge, already install musl-dev clang-dev llvm-dev.
Expected behavior
expect build c-api static lib.
The text was updated successfully, but these errors were encountered: