[GHC] #15275: AArch64 validation fails with many invalid relocations

GHC ghc-devs at haskell.org
Wed Aug 1 11:01:33 UTC 2018


#15275: AArch64 validation fails with many invalid relocations
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
  (Linking)                          |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by bgamari):

 Sadly, not that I know of. I have previously observed this when using
 `ld.gold`. I'm frankly quite surprised that `R_AARCH64_ADR_PREL_PG_HI21`
 given that we are compiling with `-fPIC`. I rather suspect this may be
 (yet another) linker bug. I'm currently trying a build linked with
 `ld.bfd` to see if it exhibits the same issue.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/15275#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list