[GHC] #11123: Arm: checkProddableBlock: invalid fixup in runtime linker

GHC ghc-devs at haskell.org
Tue Nov 24 10:33:15 UTC 2015


#11123: Arm: checkProddableBlock: invalid fixup in runtime linker
----------------------------------------+-----------------------------
        Reporter:  erikd                |                Owner:
            Type:  bug                  |               Status:  new
        Priority:  normal               |            Milestone:  8.0.1
       Component:  Compiler             |              Version:  7.11
      Resolution:                       |             Keywords:
Operating System:  Unknown/Multiple     |         Architecture:  arm
 Type of failure:  Building GHC failed  |            Test Case:
      Blocked By:                       |             Blocking:
 Related Tickets:                       |  Differential Rev(s):
       Wiki Page:                       |
----------------------------------------+-----------------------------

Comment (by erikd):

 The error occurs even with `inplace/bin/ghc-stage2 --interactive`.

 Running as `inplace/bin/ghc-stage2 +RTS -Dl -RTS --interactive` it
 finishes off with:

 {{{
 addOTabName(GLOB): 0xb6c7cba0  /home/erikd/Git/ghc-upstream/libraries/ghc-
 prim/
 dist-install/build/HSghc-prim-0.5.0.0.o hs_word2float64
 addSection: (nil)-0x19d3e1 (size 1692641), kind 3
 addSection: (nil)-0x92 (size 146), kind 3
 loadOc: done.
 resolveObjs: start
 relocations for section 1 using symtab 15 and strtab 16
 Rel entry   0 is raw(  0x1c 0x5c962b)lookupSymbol: looking up
 stg_upd_frame_info
 lookupSymbol: value of stg_upd_frame_info is 0x1efba00
 `stg_upd_frame_info' resolves to 0x1efba00
 Reloc: P = 0xb6c02050   S = 0x1efba00   A = 0xe3002000
 ghc-stage2: internal error: checkProddableBlock: (called from line 5064)
 invalid
 fixup in runtime linker: 0xb6c02050
     (GHC version 7.11.20151124 for arm_unknown_linux)
     Please report this as a GHC bug:
 http://www.haskell.org/ghc/reportabug
 Aborted
 }}}

 At first I thought a `start` value of `nil` (as is being passed to
 `addSection` was a problem, but that happens on x86_64 as well, without a
 problem.

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


More information about the ghc-tickets mailing list