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

Preserve system library ordering even under EMCC_FORCE_STDLIBS=1 #22171

Merged
merged 1 commit into from
Jul 1, 2024

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jul 1, 2024

In particular EMCC_FORCE_STDLIBS=1 would previously place libc before libbulkmemory which don't work. libbulkmemory always needs to come first on the link line.

Fixes: #22161

@sbc100 sbc100 requested a review from kripken July 1, 2024 17:18
@sbc100 sbc100 force-pushed the force_stdlibs branch 2 times, most recently from df67369 to e10c580 Compare July 1, 2024 18:09
@Faless
Copy link
Contributor

Faless commented Jul 1, 2024

Thank you so much 💙 , I tested the PR, and confirmed it fixes Godot nothreads+dlink builds.

tools/system_libs.py Outdated Show resolved Hide resolved
@sbc100 sbc100 enabled auto-merge (squash) July 1, 2024 21:26
@sbc100 sbc100 merged commit 6ea5dd1 into emscripten-core:main Jul 1, 2024
28 checks passed
@sbc100 sbc100 deleted the force_stdlibs branch July 1, 2024 23:26
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.

_emscripten_memcpy_js runtime crash with MAIN/SIDE_MODULE + WASM_BIGINT
3 participants