[GHC] #9391: LLVM 3.2 crash (AVX messes up GHC calling convention)

GHC ghc-devs at haskell.org
Tue Nov 18 18:43:19 UTC 2014


#9391: LLVM 3.2 crash (AVX messes up GHC calling convention)
-------------------------------------+-------------------------------------
              Reporter:  scpmw       |            Owner:
                  Type:  bug         |           Status:  patch
              Priority:  normal      |        Milestone:  7.10.1
             Component:  Compiler    |          Version:  7.8.2
  (LLVM)                             |         Keywords:
            Resolution:              |     Architecture:  Unknown/Multiple
      Operating System:  MacOS X     |       Difficulty:  Easy (less than 1
       Type of failure:  Runtime     |  hour)
  crash                              |       Blocked By:
             Test Case:              |  Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"c557f991a9fa6f6afad4850e4f5db6a08fa1cb6c/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="c557f991a9fa6f6afad4850e4f5db6a08fa1cb6c"
 Disable AVX for LLVM 3.2 by default (#9391)

 Due to a bug LLVM generates a C-like frame pointer prelude for functions
 that use AVX instructions. This causes programs using the GHC calling
 convention to crash, therefore we simply disable them. People that want
 to use AVX should consider upgrading to a more current LLVM version.

 Signed-off-by: Austin Seipp <austin at well-typed.com>
 }}}

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


More information about the ghc-tickets mailing list