Skip to content

"Bootstrap Error" in 0.3.1541, regression from 0.3.1533 #14981

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

Closed
gabiganam opened this issue Jun 5, 2023 · 3 comments
Closed

"Bootstrap Error" in 0.3.1541, regression from 0.3.1533 #14981

gabiganam opened this issue Jun 5, 2023 · 3 comments
Labels
C-bug Category: bug

Comments

@gabiganam
Copy link

I'm using the extension on an AL2 machine, with ldd (GNU libc) 2.26.
Latest version 0.3.1541 fails with:

Bootstrap error [Error: Failed to execute /home/user/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.1541-linux-x64/server/rust-analyzer --version
/home/user/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.1541-linux-x64/server/rust-analyzer: /lib64/libm.so.6: version `GLIBC_2.27' not found (required by /home/user/.vscode-server/extensions/rust-lang.rust-analyzer-0.3.1541-linux-x64/server/rust-analyzer)

Rolled back to 0.3.1533 and it's working fine.

@gabiganam gabiganam added the C-bug Category: bug label Jun 5, 2023
@lnicola
Copy link
Member

lnicola commented Jun 5, 2023

The binaries are built in a pretty outdated Ubuntu 18.04 container. It looks like they upgraded to GLIBC 2.27 recently.

I suggest building from source instead.

@Timmmm
Copy link
Contributor

Timmmm commented Mar 19, 2024

Kind of a pain if you're using RHEL 8. IMO it would make more sense to support the oldest version of glibc that Rust supports, which is 2.17.

This article has a simple thing to try that might make it quite easy to do.

@lnicola
Copy link
Member

lnicola commented Mar 19, 2024

We now require GLIBC 2.31, see #16793.

@lnicola lnicola closed this as not planned Won't fix, can't repro, duplicate, stale Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

3 participants