#11202: T10667 and debug tests are broken on OS X -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Compile-time | Unknown/Multiple crash | Test Case: debug, T10667 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1602 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"3640ae92fc1ffa283425203bba3dbf231fcb3e52/ghc" 3640ae92/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="3640ae92fc1ffa283425203bba3dbf231fcb3e52" Dwarf: Use .short instead of .hword on Darwin Apparently gnu as uses `.short` as a synonym for `.word`. To emit a 16-bit value one would use `.hword`. However, Darwin doesn't support `.hword`, instead taking `.short` to mean a 16-bit value. The insanity is nearly unbearable! OS X reference: https://developer.apple.com/library/mac/documentation/DeveloperTools/Ref erence/Assembler/040-Assembler_Directives/asm_directives.html#//apple_re f/doc/uid/TP30000823-TPXREF101 gnu as reference: https://sourceware.org/binutils/docs/as/hword.html#hword Test Plan: Validate Reviewers: austin Reviewed By: austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1602 GHC Trac Issues: #11202 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11202#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler