Closed
Description
I have built the latest coreclr (commit 637bfef) and found that it does not produce PIE executables for corerun, crossgen, ildasm, ilasdm.
twoflower@js2-desktop ~/d/c/b/P/Linux.x64.Release> hardening-check crossgen
crossgen:
Position Independent Executable: no, normal executable!
Stack protected: yes
Fortify Source functions: no, only unprotected functions found!
Read-only relocations: yes
Immediate binding: no, not found!
But, compilation option -fPIE
is introduced on commit 891b2aa.
Am I missing something(flag) or we need a patch to enable PIE executable ?