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

GHC ghc-devs at haskell.org
Mon Mar 6 15:23:24 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):

 angerman has a patch implementing 1 at Phab:D3287.

 We should actually be able to implement 2 by generating symbols that point
 to the start of info tables with some inline assembly
 (http://llvm.org/docs/LangRef.html#module-level-inline-assembly)
 {{{
 module asm ".set foo_info_start, foo - 12"
 module asm ".global foo_info_start"
 }}}

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


More information about the ghc-tickets mailing list