[GHC] #11340: linker_unload test fails on ARM

GHC ghc-devs at haskell.org
Sat Jan 2 18:42:50 UTC 2016


#11340: linker_unload test fails on ARM
-------------------------------------+------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.0.1
       Component:  Compiler          |              Version:  7.10.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:  arm
 Type of failure:  Runtime crash     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+------------------------------

Comment (by bgamari):

 Very interesting...

 `$lr` falls on this relocation,
 {{{
 Rel entry  49 is raw( 0x21c 0x461c)lookupSymbol: looking up
 foreignExportStablePtr
 lookupSymbol: value of foreignExportStablePtr is 0x3ece80c
 `foreignExportStablePtr' resolves to 0x3ece80c
 Reloc: P = 0xb6ff7224   S = 0x3ece80c   A = 0xebfffffe
 }}}

 Which happens to be the last relocation of the `.text` section of
 `Test.o`,
 {{{
 RELOCATION RECORDS FOR [.text]:
 OFFSET   TYPE              VALUE
 ...
 00000218 R_ARM_MOVT_ABS    Test_zdfstableZZC0ZZCmainZZCTestZZCf_closure
 0000021c R_ARM_CALL        foreignExportStablePtr
 }}}

 Might this be causal?

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


More information about the ghc-tickets mailing list