diff --git a/doc/bugs/android__58___cannot_link_executable/comment_7_1d37b251f1f9bf31647eb13322b92cce._comment b/doc/bugs/android__58___cannot_link_executable/comment_7_1d37b251f1f9bf31647eb13322b92cce._comment new file mode 100644 index 0000000000..51d6a1f127 --- /dev/null +++ b/doc/bugs/android__58___cannot_link_executable/comment_7_1d37b251f1f9bf31647eb13322b92cce._comment @@ -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.. +"""]]