[GHC] #13278: test 'debug' is timing out on OS X

GHC ghc-devs at haskell.org
Mon Feb 13 03:24:34 UTC 2017


#13278: test 'debug' is timing out on OS X
---------------------------------+----------------------------------------
        Reporter:  rwbarton      |                Owner:  bgamari
            Type:  bug           |               Status:  new
        Priority:  high          |            Milestone:
       Component:  Compiler      |              Version:  8.1
      Resolution:                |             Keywords:
Operating System:  MacOS X       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):
       Wiki Page:                |
---------------------------------+----------------------------------------
Changes (by rwbarton):

 * owner:  rwbarton => bgamari


Comment:

 We're generating code like
 {{{
 .globl _ZCMain_main_info
 _ZCMain_main_info:
 Lc27e:
 n27l:
         leaq -16(%rbp),%rax
         cmpq %r15,%rax
         jb Lc27f
 Lc27e_end:
 Lc27g:
 n27s:
         subq $8,%rsp
 n27u:
         movq %r13,%rax
         movq %rbx,%rsi
         movq %rax,%rdi
         ...
 }}}
 and the symbols `n27l`, `n27s` etc. are not local symbols, so the linker
 seems to think that `n27s` is the end of `_ZCMain_main_info` and is
 stripping out the "dead code".

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


More information about the ghc-tickets mailing list