[GHC] #11202: T10667 is broken on OS X

GHC ghc-devs at haskell.org
Fri Dec 11 19:40:35 UTC 2015


#11202: T10667 is broken on OS X
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  7.10.2
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 It fails with,
 {{{
 =====> T10667(normal) 2 of 18 [0, 1, 0]
 cd ./codeGen/should_compile &&  "/Users/bgamari/ghc/inplace/test   spaces
 /ghc-stage2" -c T10667.hs -fforce-recomp -dcore-lint -dcmm-lint -dno-
 debug-output -no-user-package-db -rtsopts -fno-warn-tabs -fno-warn-missed-
 specialisations -fno-ghci-history  -g > T10667.comp.stderr 2>&1
 Compile failed (status 256) errors were:

 /var/folders/4l/06tjh3z978l_b5plmkq08ff80000gq/T/ghc56547_0/ghc_1.s:101:2:
 error:
      error: unknown directive
             .hword 3
             ^

 /var/folders/4l/06tjh3z978l_b5plmkq08ff80000gq/T/ghc56547_0/ghc_1.s:129:2:
 error:
      error: unknown directive
             .hword 1
             ^

 /var/folders/4l/06tjh3z978l_b5plmkq08ff80000gq/T/ghc56547_0/ghc_1.s:131:2:
 error:
      error: unknown directive
             .hword 13
             ^

 .
 .
 .
 }}}
 [[https://developer.apple.com/library/mac/documentation/DeveloperTools/Reference/Assembler/040-Assembler_Directives/asm_directives.html#//apple_ref/doc/uid/TP30000823-TPXREF101|Apparently]]
 we should be using `.short` on Darwin.

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


More information about the ghc-tickets mailing list