Skip to content
  • Ben Gamari's avatar
    configure: Check for binutils #17166 · 6171b0b3
    Ben Gamari authored and Ben Gamari's avatar Ben Gamari committed
    This bug affects bfd ld on ARMv7, causing ld to incorrectly emit
    R_REL_COPY relocations, breaking tables-next-to-code. We've known about
    it for several years now and there is not yet a fix upstream. Previously
    we would simply force use of ld.gold on ARM. However, given the rework
    of linking configuration, I thought a more principled solution was in
    order.
    
    Test Plan: Validate on armv7
    
    Reviewers: austin, hvr
    
    Subscribers: angerman, rwbarton, thomie, erikd
    
    GHC Trac Issues: #4210
    
    Differential Revision: https://phabricator.haskell.org/D3676
    6171b0b3