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

Re-allow -fPIC compiler flag during compilation #9750

Merged
merged 1 commit into from
Nov 4, 2019
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 1, 2019

We were temporally disabling this flag due to issues with PIC code
in static linking. These issues should not be resolved.

Fixes: #9013

@sbc100 sbc100 requested a review from kripken November 1, 2019 00:08
tests/test_core.py Show resolved Hide resolved
We were temporally disabling this flag due to issues with PIC code
in static linking.  These issues should not be resolved.

Fixes: #9013
@sbc100
Copy link
Collaborator Author

sbc100 commented Nov 4, 2019

The chrome failure is unrelated to this change so I'm landing with admin privs.

@sbc100 sbc100 merged commit 0ebbdcf into incoming Nov 4, 2019
@delete-merged-branch delete-merged-branch bot deleted the static_pic branch November 4, 2019 21:28
sbc100 added a commit that referenced this pull request Jan 14, 2020
This is a partial revert of #9750.

The binaryen change that was designed to allow this to work was
reverted: WebAssembly/binaryen#2513
sbc100 added a commit that referenced this pull request Jan 14, 2020
This is a partial revert of #9750.

The binaryen change that was designed to allow this to work was
reverted: WebAssembly/binaryen#2513
sbc100 added a commit that referenced this pull request Jan 15, 2020
This is a partial revert of #9750.

The binaryen change that was designed to allow this to work was
reverted: WebAssembly/binaryen#2513
belraquib pushed a commit to belraquib/emscripten that referenced this pull request Dec 23, 2020
We were temporally disabling this flag due to issues with PIC code
in static linking.  These issues should not be resolved.

Fixes: emscripten-core#9013
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.

wasm-backend: Code compiled with fPIC is not compatible with regular executables
2 participants