Uh oh!
There was an error while loading. Please reload this page.
Fix relro, now and PIE for host and libraries - #685
Conversation
The former core-setup and corefx native code build was missing the -z,relro and -z,now options and also the position independent related settings.
janvorli
commented
Dec 9, 2019
cc: @jeffschwMSFT, @lpereira |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
It seems like this PR broke the Debug build of libraries WebAssembly.
Example: https://dev.azure.com/dnceng/public/_build/results?buildId=453500 |
The former core-setup and corefx native code build was missing the
-z,relroand-z,nowoptions and also the position independent related-pielinker option. This change fixes that by adding the missing optionsand using the native cmake position independent code support instead
of passing the respective compiler and linker options explicitly.
Close#632