This commit is contained in:
Joey Hess 2018-04-16 20:41:11 -04:00
parent 4d75c3d48e
commit c72e9ae568
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -0,0 +1,15 @@
[[!comment format=mdwn
username="joey"
subject="""comment 7"""
date="2018-04-16T23:49:20Z"
content="""
Even with gcc and ld wrapped to pass `-pie` and strip `-no-pie`,
ghc is not producing PIE binaries. Verified with
"readelf -s git-annex | grep main", and the address for
main is a full address not an offset.
The same android gcc toolchain does produce
PIE executables by default when building C code.
Unclear why..
"""]]