Skip to content

Explicitly set LIBCXXABI_USE_LLVM_UNWINDER off#377

Closed
glandium wants to merge 1 commit into
WebAssembly:mainfrom
glandium:libunwind
Closed

Explicitly set LIBCXXABI_USE_LLVM_UNWINDER off#377
glandium wants to merge 1 commit into
WebAssembly:mainfrom
glandium:libunwind

Conversation

@glandium
Copy link
Copy Markdown
Contributor

Clang trunk has recently turned it on, and also now fails the build when libunwind is not built at the same time.

@glandium
Copy link
Copy Markdown
Contributor Author

I'm baffled that this breaks things, considering OFF was the default before...

@glandium
Copy link
Copy Markdown
Contributor Author

Ok, it's broken even without the patch: https://github.com/glandium/wasi-sdk/actions/runs/7550972389/job/20557473630#logs
Something has changed in the environment between the last green run on main and now, presumably wasmtime.

@abrown
Copy link
Copy Markdown
Collaborator

abrown commented Jan 17, 2024

Yeah, looks like a WASI signature change. I wonder if we should just pin Wasmtime for now or figure out how to recompile with the new signature.

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jan 18, 2024
…lding wasi-sdk. r=firefox-build-system-reviewers,sergesanspaille

Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.

Upstreamed in WebAssembly/wasi-sdk#377

Differential Revision: https://phabricator.services.mozilla.com/D198763
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jan 19, 2024
…lding wasi-sdk. r=firefox-build-system-reviewers,sergesanspaille

Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.

Upstreamed in WebAssembly/wasi-sdk#377

Differential Revision: https://phabricator.services.mozilla.com/D198763

UltraBlame original commit: a4bff50d95674a402744d071f9d2b97b482452bb
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jan 19, 2024
…lding wasi-sdk. r=firefox-build-system-reviewers,sergesanspaille

Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.

Upstreamed in WebAssembly/wasi-sdk#377

Differential Revision: https://phabricator.services.mozilla.com/D198763

UltraBlame original commit: a4bff50d95674a402744d071f9d2b97b482452bb
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jan 19, 2024
…lding wasi-sdk. r=firefox-build-system-reviewers,sergesanspaille

Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.

Upstreamed in WebAssembly/wasi-sdk#377

Differential Revision: https://phabricator.services.mozilla.com/D198763

UltraBlame original commit: a4bff50d95674a402744d071f9d2b97b482452bb
@abrown
Copy link
Copy Markdown
Collaborator

abrown commented Feb 10, 2024

Ok, it's broken even without the patch: https://github.com/glandium/wasi-sdk/actions/runs/7550972389/job/20557473630#logs Something has changed in the environment between the last green run on main and now, presumably wasmtime.

I believe #382 fixes this so a rebase on top of that (once it merges) should fix the test failure. It's related to the ABI of the preview1-to-preview2 adapter that Wasmtime uses.

Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.
@glandium
Copy link
Copy Markdown
Contributor Author

Merged in #393

@glandium glandium closed this Mar 12, 2024
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this pull request Mar 27, 2024
LLVM 18 enables this by default, which is not wanted here. This is
effectively a no-op for other LLVM versions.

Context: WebAssembly/wasi-sdk#377
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…lding wasi-sdk. r=firefox-build-system-reviewers,sergesanspaille

Clang trunk has recently turned it on, and also now fails the build when
libunwind is not built at the same time.

Upstreamed in WebAssembly/wasi-sdk#377

Differential Revision: https://phabricator.services.mozilla.com/D198763
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.

2 participants