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

Bump WABT version to 1.0.33 #2604

Conversation

lum1n0us
Copy link
Collaborator

No description provided.

@lum1n0us lum1n0us force-pushed the bump_wabt_version_in_test_script branch 3 times, most recently from 4c18504 to ec525ec Compare October 7, 2023 06:27
@lum1n0us
Copy link
Collaborator Author

lum1n0us commented Oct 8, 2023

It turns out ubuntu 20.04 doesn't support wabt 1.0.33 naturally.

$ ./wat2wasm -h
./wat2wasm: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by ./wat2wasm)
./wat2wasm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./wat2wasm)
./wat2wasm: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./wat2wasm)

$ strings  /lib/x86_64-linux-gnu/libstdc++.so.6 | grep GLIBCXX_3.4.2
GLIBCXX_3.4.2
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_3.4.26
GLIBCXX_3.4.27
GLIBCXX_3.4.28

@lum1n0us lum1n0us force-pushed the bump_wabt_version_in_test_script branch 2 times, most recently from ae97adb to 200da16 Compare October 8, 2023 03:57
@lum1n0us lum1n0us force-pushed the bump_wabt_version_in_test_script branch from 200da16 to add3e81 Compare October 9, 2023 00:49
@lum1n0us
Copy link
Collaborator Author

lum1n0us commented Oct 9, 2023

It seems there are two ways:

  • upgrade OS to 22.04
  • download and build and install from source code of glibc 2.34 or higher

@yamt
Copy link
Collaborator

yamt commented Dec 1, 2023

It seems there are two ways:

* upgrade OS to 22.04

* download and build and install from source code of [glibc 2.34](https://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.gz) or higher
  • build wabt from source
  • convince the wabt project to release binaries compatible with older glibc
  • use their wasi binary

@yamt
Copy link
Collaborator

yamt commented Dec 13, 2023

WebAssembly/wabt#2352

@lum1n0us lum1n0us closed this May 31, 2024
@lum1n0us lum1n0us deleted the bump_wabt_version_in_test_script branch May 31, 2024 03:20
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 this pull request may close these issues.

None yet

2 participants