#5495: simple program fails with -shared on mac
-------------------------------+--------------------------------------------
    Reporter:  mwotton         |       Owner:                    
        Type:  bug             |      Status:  new               
    Priority:  normal          |   Component:  Compiler          
     Version:  7.2.1           |    Keywords:                    
    Testcase:                  |   Blockedby:                    
          Os:  MacOS X         |    Blocking:                    
Architecture:  x86_64 (amd64)  |     Failure:  Compile-time crash
-------------------------------+--------------------------------------------
 sleipnir ➜  ~  ghc --version
 The Glorious Glasgow Haskell Compilation System, version 7.2.1
 sleipnir ➜  ~  ghc --make foo.hs -shared
 [1 of 1] Compiling Main             ( foo.hs, foo.o )
 Linking foo ...
 collect2: ld terminated with signal 11 [Segmentation fault]
 sleipnir ➜  ~  cat foo.hs
 main = putStrLn "hi"

 This happened on both of the two systems I tried it on. Package installed
 from
 http://www.haskell.org/ghc/dist/7.2.1/GHC-7.2.1-x86_64.pkg

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to