-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
1.38.46-upstream regression on sdl2 build #9510
Comments
sbc100
added a commit
that referenced
this issue
Sep 26, 2019
Without `-c` emscripten will try to run lld on the object files its given to produce another object file. We should probably disable that for the single build case. This breakage was introduced in #9444 and we should probably address it, but compiling without `-c` is also broken so fixing here. Fixes #9510
sbc100
added a commit
that referenced
this issue
Sep 26, 2019
Without `-c` emscripten will try to run lld on the object files its given to produce another object file. We should probably disable that for the single build case. This breakage was introduced in #9444 and we should probably address it, but compiling without `-c` is also broken so fixing here. Fixes #9510
belraquib
pushed a commit
to belraquib/emscripten
that referenced
this issue
Dec 23, 2020
Without `-c` emscripten will try to run lld on the object files its given to produce another object file. We should probably disable that for the single build case. This breakage was introduced in emscripten-core#9444 and we should probably address it, but compiling without `-c` is also broken so fixing here. Fixes emscripten-core#9510
iamahuman
added a commit
to iamahuman/emscripten
that referenced
this issue
Jan 20, 2021
Remove the optimization (again) for the special case of single object input, which skips the linker and directly copies the input object file to output. This behavior interferes with linking (merging) all objects in a library archive into a single object, done with the following command: cc -o lib.o -r -Wl,--whole-archive lib.a The optimization was once useful when no clear distinction was made between compile mode and link-only mode. It was also required for compatibility (see emscripten-core#9510 and emscripten-core#9571). However, emscripten-core#9510 was addressed by emscripten-core#9511, and emscripten-core#9600 introduced the '-r' flag that allows to explicitly indicate linking to an object, making the optimization less useful.
iamahuman
added a commit
to iamahuman/emscripten
that referenced
this issue
Jan 20, 2021
Remove the optimization (again) for the special case of single object input, which skips the linker and directly copies the input object file to output. This behavior interferes with linking (merging) all objects in a library archive into a single object, done with the following command: cc -o lib.o -r -Wl,--whole-archive lib.a The optimization was once useful when no clear distinction was made between compile mode and link-only mode. It was also required for compatibility (see emscripten-core#9510 and emscripten-core#9571). However, emscripten-core#9510 was addressed by emscripten-core#9511, and emscripten-core#9600 introduced the '-r' flag that allows to explicitly indicate linking to an object, making the optimization less useful.
iamahuman
added a commit
to iamahuman/emscripten
that referenced
this issue
Jan 21, 2021
Remove the optimization (again) for the special case of single object input, which skips the linker and directly copies the input object file to output. This behavior interferes with linking (merging) all objects in a library archive into a single object, done with the following command: cc -o lib.o -r -Wl,--whole-archive lib.a The optimization was once useful when no clear distinction was made between compile mode and link-only mode. It was also required for compatibility (see emscripten-core#9510 and emscripten-core#9571). However, emscripten-core#9510 was addressed by emscripten-core#9511, and emscripten-core#9600 introduced the '-r' flag that allows to explicitly indicate linking to an object, making the optimization less useful.
iamahuman
added a commit
to iamahuman/emscripten
that referenced
this issue
Jan 21, 2021
Remove the optimization (again) for the special case of single object input, which skips the linker and directly copies the input object file to output. This behavior interferes with linking (merging) all objects in a library archive into a single object, done with the following command: cc -o lib.o -r -Wl,--whole-archive lib.a The optimization was once useful when no clear distinction was made between compile mode and link-only mode. It was also required for compatibility (see emscripten-core#9510 and emscripten-core#9571). However, emscripten-core#9510 was addressed by emscripten-core#9511, and emscripten-core#9600 introduced the '-r' flag that allows to explicitly indicate linking to an object, making the optimization less useful.
iamahuman
added a commit
to iamahuman/emscripten
that referenced
this issue
Jan 21, 2021
Remove the optimization (again) for the special case of single object input, which skips the linker and directly copies the input object file to output. This behavior interferes with linking (merging) all objects in a library archive into a single object, done with the following command: cc -o lib.o -r -Wl,--whole-archive lib.a The optimization was once useful when no clear distinction was made between compile mode and link-only mode. It was also required for compatibility (see emscripten-core#9510 and emscripten-core#9571). However, emscripten-core#9510 was addressed by emscripten-core#9511, and emscripten-core#9600 introduced the '-r' flag that allows to explicitly indicate linking to an object, making the optimization less useful.
sbc100
pushed a commit
that referenced
this issue
Jan 21, 2021
Remove the optimization (again) for the special case of single object input, which skips the linker and directly copies the input object file to output. This behavior interferes with linking (merging) all objects in a library archive into a single object, done with the following command: cc -o lib.o -r -Wl,--whole-archive lib.a The optimization was once useful when no clear distinction was made between compile mode and link-only mode. It was also required for compatibility (see #9510 and #9571). However, #9510 was addressed by #9511, and #9600 introduced the '-r' flag that allows to explicitly indicate linking to an object, making the optimization less useful.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
just tested the new tag with : ./emsdk install --embedded 1.38.46-upstream
embuilder.py build --pic sdl2
gives strange messages now:The text was updated successfully, but these errors were encountered: