[GHC] #2323: Segfaulting binary only with modules

GHC trac at galois.com
Fri May 30 09:02:48 EDT 2008


#2323: Segfaulting binary only with modules
------------------------+---------------------------------------------------
    Reporter:  yrn1     |       Owner:          
        Type:  bug      |      Status:  new     
    Priority:  normal   |   Component:  Compiler
     Version:  6.8.2    |    Severity:  normal  
    Keywords:           |    Testcase:          
Architecture:  powerpc  |          Os:  MacOS X 
------------------------+---------------------------------------------------
 tgz with 2 files attached: Math.hs and Main.hs. Math.hs contains some
 utility functions and Main.hs uses them. When compiling this (ghc --make
 Main) and running ./Main, it segfaults. But when putting everything from
 Math.hs in Main.hs (and hence eliminating the Math module) and compiling
 again, it does not segfault.

 Note removing that the PRAGMA's in the Math.hs file does not change this
 behaviour.

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


More information about the Glasgow-haskell-bugs mailing list