Skip to content

Move __cxa_allocate_exception/__cxa_free_exception to native code. NFC - #18292

Merged
sbc100 merged 1 commit into
mainfrom
alloc_exception
Dec 3, 2022
Merged

Move __cxa_allocate_exception/__cxa_free_exception to native code. NFC#18292
sbc100 merged 1 commit into
mainfrom
alloc_exception

Conversation

@sbc100

@sbc100 sbc100 commented Dec 1, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

@sbc100
sbc100 force-pushed the alloc_exception branch 2 times, most recently from c6de899 to acdd703 Compare December 1, 2022 21:09
@sbc100
sbc100 requested a review from kripken December 1, 2022 21:10
@sbc100
sbc100 force-pushed the alloc_exception branch 2 times, most recently from 9aef9e9 to 05de39d Compare December 1, 2022 21:45
@sbc100
sbc100 requested a review from aheejin December 1, 2022 21:47
@sbc100 sbc100 changed the title Move __cxa_allocate_exception to native code. NFC Move __cxa_allocate/free_exception to native code. NFC Dec 1, 2022
@sbc100 sbc100 changed the title Move __cxa_allocate/free_exception to native code. NFC Move __cxa_allocate_exception/__cxa_free_exception to native code. NFC Dec 1, 2022
Comment thread system/lib/libcxxabi/src/cxa_exception_emscripten.cpp
Comment thread system/lib/libcxxabi/src/cxa_exception_emscripten.cpp
@sbc100
sbc100 force-pushed the alloc_exception branch 2 times, most recently from b0c3551 to 43b0c32 Compare December 1, 2022 22:42
Comment thread system/lib/libcxxabi/src/cxa_exception_emscripten.cpp
@sbc100
sbc100 enabled auto-merge (squash) December 2, 2022 00:34
@sbc100
sbc100 merged commit 68e3bb0 into main Dec 3, 2022
@sbc100
sbc100 deleted the alloc_exception branch December 3, 2022 03:20
@kripken

kripken commented Dec 5, 2022

Copy link
Copy Markdown
Member

Looks like this broke the binaryen emcc build, I bisected to here. See e.g. https://github.com/WebAssembly/binaryen/actions/runs/3622890462/jobs/6108128322 - now malloc is not defined there for some reason and closure errors on that.

@sbc100

sbc100 commented Dec 5, 2022

Copy link
Copy Markdown
Collaborator Author

Looks like this broke the binaryen emcc build, I bisected to here. See e.g. https://github.com/WebAssembly/binaryen/actions/runs/3622890462/jobs/6108128322 - now malloc is not defined there for some reason and closure errors on that.

I'll take a look. In general this is good since it forces us to be more precise about our dependencies.

kripken added a commit to WebAssembly/binaryen that referenced this pull request Dec 5, 2022
This should unbreak the build. This is an old problem but was just noticed due to
a recent emscripten change (emscripten-core/emscripten#18292).
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.

3 participants