From c72e9ae5681b2f809ff220eb34dd6807c46eb2cd Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 16 Apr 2018 20:41:11 -0400 Subject: [PATCH] hmm --- ...nt_7_1d37b251f1f9bf31647eb13322b92cce._comment | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/android__58___cannot_link_executable/comment_7_1d37b251f1f9bf31647eb13322b92cce._comment 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.. +"""]]