-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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 ARM64 - Search and file quick pick is broken #133993
Comments
The binary is indeed available in the server folder but the libc library it is linked with does not exist on the image.
|
Ripgrep should also build for |
I can add that, thanks |
Ripgrep couldn't build under that target. https://github.com/BurntSushi/ripgrep/blob/df83b8b44426b3f2179abe632eb183e8c8270524/crates/core/main.rs#L29 My understanding is… when building with musl, it uses jemalloc, jemalloc uses background_threads_runtime_support, and that doesn’t support our target. If we can figure out how to un set that flag on jemalloc that might work around it but i don’t know what consequences that would have https://github.com/gnzlbg/jemallocator/blob/master/jemalloc-sys/README.md#cargo-features |
@roblourens from gnzlbg/jemallocator#124 it is not sure whether the bug is in jemalloc config or cargo, but the immediate working solution is to build the crate with |
May I know if there is some workaround for this bug for users? If not, I do not think its good to ship Alpine ARM 64 builds with broken experience. |
It will require users to install libc6-compat package that will include the required libraries for the executable built using glibc.
|
Not with your PR, right @deepak1556? And thanks for the PR! |
Yup #133993 (comment) is not needed with the musl binary produced from the PR. |
I didn't put up a PR to adjust https://github.com/microsoft/vscode-ripgrep/blob/main/lib/postinstall.js to download |
Testing #133893
The text was updated successfully, but these errors were encountered: