#3114: "ghc -shared --make" gives panic
------------------------------------+---------------------------------------
Reporter: Mark_Spezzano | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.12.1
Component: Compiler | Version: 6.10.1
Severity: normal | Resolution:
Keywords: command line option | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
------------------------------------+---------------------------------------
Changes (by juhpetersen):
* cc: juhpetersen (added)
* os: Windows => Unknown/Multiple
* architecture: x86 => Unknown/Multiple
* summary: ghc -shared --make Teapot.hs (Failed using OpenGL) => "ghc
-shared --make" gives panic
Comment:
I see the same with an --enable-shared build of ghc on Linux:
{{{
$ ghc --make -shared Setup -o cabal
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
ghc: panic! (the 'impossible' happened)
(GHC version 6.11.20090421 for x86_64-unknown-linux):
link: GHC not built to link this way: LinkDynLib
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3114#comment:3>
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