[GHC] #2983: Segmentation fault in ray tracer with certain options

GHC trac at galois.com
Thu Mar 5 10:26:32 EST 2009


#2983: Segmentation fault in ray tracer with certain options
--------------------------------------+-------------------------------------
    Reporter:  thoughtpolice          |        Owner:  igloo  
        Type:  bug                    |       Status:  closed 
    Priority:  high                   |    Milestone:  6.10.2 
   Component:  Compiler               |      Version:  6.10.1 
    Severity:  normal                 |   Resolution:  fixed  
    Keywords:  seg fault, ray tracer  |   Difficulty:  Unknown
    Testcase:                         |           Os:  MacOS X
Architecture:  x86                    |  
--------------------------------------+-------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 As Simon M pointed out, the #2917 fix won't fix this after all. I've now
 made gcc not generate SSE instructions in both HEAD and 6.10, which fixes
 the bug:
 {{{
 Thu Mar  5 14:20:50 GMT 2009  Ian Lynagh <igloo at earth.li>
   * On OS X/x86, tell gcc to generate instructions for i686. Fixes trac
 #2983.
   By default, gcc on OS X will generate SSE instructions, which need
   things 16-byte aligned, but we don't 16-byte align things. Thus drop
   back to generic i686 compatibility.
 }}}

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


More information about the Glasgow-haskell-bugs mailing list