[GHC] #2069: GHC crashes when both -shared and --make flags are specified

GHC trac at galois.com
Fri Feb 15 20:33:14 EST 2008


#2069: GHC crashes when both -shared and --make flags are specified
------------------------+---------------------------------------------------
 Reporter:  bchallenor  |          Owner:         
     Type:  bug         |         Status:  new    
 Priority:  normal      |      Milestone:         
Component:  Compiler    |        Version:  6.8.1  
 Severity:  normal      |     Resolution:         
 Keywords:              |     Difficulty:  Unknown
 Testcase:              |   Architecture:  x86    
       Os:  Windows     |  
------------------------+---------------------------------------------------
Changes (by igloo):

  * difficulty:  => Unknown

Old description:

> I'm not even sure if you're meant to be able to do this, but I wanted to
> build a DLL without manually specifying the files, so I tried to do the
> build and the archiving in one step.
>
> But I get a panic:
>
> >ghc -shared --make LibFunslang
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.8.1 for i386-unknown-mingw32):
>         main/DriverPipeline.hs:(270,0)-(337,23): Non-exhaustive patterns
> in func
> tion link

New description:

 I'm not even sure if you're meant to be able to do this, but I wanted to
 build a DLL without manually specifying the files, so I tried to do the
 build and the archiving in one step.

 But I get a panic:
 {{{
 >ghc -shared --make LibFunslang
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.8.1 for i386-unknown-mingw32):
         main/DriverPipeline.hs:(270,0)-(337,23): Non-exhaustive patterns
 in function link
 }}}

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


More information about the Glasgow-haskell-bugs mailing list