[GHC] #13378: ghc-stage2 broken for quick-llvm

GHC ghc-devs at haskell.org
Sun Mar 5 20:56:32 UTC 2017


#13378: ghc-stage2 broken for quick-llvm
-------------------------------------+-------------------------------------
        Reporter:  angerman          |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  highest           |            Milestone:  8.2.1
       Component:  Compiler          |              Version:
      Resolution:                    |             Keywords:
Operating System:  MacOS X           |         Architecture:  x86_64
 Type of failure:  Building GHC      |  (amd64)
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by rwbarton):

 Okay so `checkClosureShallow` is getting passed the address of
 `base_GHCziConcziIO_ensureIOManagerIsRunning_closure`, which is all well
 and good. Running the disassembly of the closure back through an assembler
 gives
 {{{
 Contents of section .text:
  0000 20c89b02 01000000 00000000 00000000   ...............
 }}}
 which also looks fine (a pointer to some code, followed by a zero or
 unused word). Based on the definition of `LOOKS_LIKE_CLOSURE_PTR`, it
 appears that the info table that is supposed to be located before whatever
 symbol is at `0x01029bc820` is missing; probably a dead code stripping
 issue again?

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


More information about the ghc-tickets mailing list