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

wasi-sdk 8.0 libstdc++ required version is too high #98

Closed
acfoltzer opened this issue Jan 31, 2020 · 2 comments · Fixed by #123
Closed

wasi-sdk 8.0 libstdc++ required version is too high #98

acfoltzer opened this issue Jan 31, 2020 · 2 comments · Fixed by #123
Assignees

Comments

@acfoltzer
Copy link
Contributor

On an Ubuntu Xenial system, I see:

/opt/wasi-sdk/bin/clang: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.22\' not found (required by /opt/wasi-sdk/bin/clang)

This hasn't been an issue with past releases, and seems to be new since basing the Dockerfile on Debian stretch rather than Xenial. Could we consider switching back to Xenial, or an older version of Debian that would pull in a compatible libstdc++?

@sbc100
Copy link
Member

sbc100 commented Jan 31, 2020

Sure, we can try that. I hadn't realized when I submitted #65 and stretch was more recent than xenial. I guess we could try going back to jessie which pre-dates both of them.

@sbc100 sbc100 self-assigned this Jan 31, 2020
@acfoltzer
Copy link
Contributor Author

It's odd because Xenial is based on stretch (according to /etc/debian_version at least), but maybe stretch has gotten newer C++ libraries over the years?

sbc100 added a commit that referenced this issue Apr 11, 2020
sunfishcode pushed a commit that referenced this issue Apr 11, 2020
kildom pushed a commit to kildom/clang-wasi-port that referenced this issue Jul 14, 2021
These can vary between llvm version.  For example a recent upstream
change recently added __multi3 to the list:
https://reviews.llvm.org/D65143

Fixes WebAssembly#98
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

Successfully merging a pull request may close this issue.

2 participants