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

GHC ghc-devs at haskell.org
Fri Jun 15 03:21:06 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)                          |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 Test ways requiring the RTS linker (e.g. `ext-interp`) are failing due to
 the `assert(isInt64(32, addend));` assertion in the
 `COMPAT_R_AARCH64_ADR_PREL_PG_HI21` of `encodeAddendAarch64`. One such
 relocation is,
 {{{
 RELOCATION RECORDS FOR [.text]:
 OFFSET           TYPE              VALUE
 000000000000001c R_AARCH64_ADR_PREL_PG_HI21  stg_upd_frame_info
 }}}
 although there are plenty of others.

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


More information about the ghc-tickets mailing list