summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Gamari <bgamari.foss@gmail.com>2014-01-25 13:02:36 -0500
committerAustin Seipp <austin@well-typed.com>2014-01-27 21:57:51 -0600
commit4ade9627608ea0a88450506222bb9afbbcff4294 (patch)
tree18dbd5f7e7b754365059ad4a406c5d94b1297864 /docs
parent08f8efb84d51e53792ded036e172826686fc806b (diff)
downloadhaskell-4ade9627608ea0a88450506222bb9afbbcff4294.tar.gz
Abort when binutils ld is used with dynamic linking on ARM
The binutils linker on ARM emits unnecessary R_ARM_COPY relocations which breaks tables-next-to-code in dynamically linked modules. This check should be more selective but there is currently no released version where this bug is fixed. See https://sourceware.org/bugzilla/show_bug.cgi?id=16177 and https://ghc.haskell.org/trac/ghc/ticket/4210#comment:29 for details. Signed-off-by: Austin Seipp <austin@well-typed.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/7.8.1-notes.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/7.8.1-notes.xml b/docs/users_guide/7.8.1-notes.xml
index ff80fcc17e..a4fe52059c 100644
--- a/docs/users_guide/7.8.1-notes.xml
+++ b/docs/users_guide/7.8.1-notes.xml
@@ -365,6 +365,12 @@
(e.g. GHCi) support for architectures without support in
GHC's own runtime linker (e.g. ARM).
</para>
+ <para>
+ Note: Tables-next-to-code is disabled when building on
+ ARM with binutil's ld due to a
+ <ulink url="https://sourceware.org/bugzilla/show_bug.cgi?id=16177">
+ bug</ulink> in ld.
+ </para>
</listitem>
</itemizedlist>
</sect2>