Opened 6 years ago

Last modified 22 months ago

#5495 new bug

simple program fails with -shared on mac — at Version 1

Reported by: mwotton Owned by:
Priority: low Milestone:
Component: Runtime System (Linker) Version: 7.2.1
Keywords: Cc:
Operating System: MacOS X Architecture: Unknown/Multiple
Type of failure: Compile-time crash Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:

Description (last modified by igloo)

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

Change History (1)

comment:1 Changed 6 years ago by igloo

Description: modified (diff)
Note: See TracTickets for help on using tickets.