Bugs item #1188785, was opened at 2005-04-24 01:54
Message generated for change (Comment added) made by wferi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1188785&group_id=8032

Category: Compiler
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic! ...  forkM Declaration for tables{v}

Initial Comment:
Got this while trying to build the examples code in 
HSsql. I am obviously having problems with locations of 
interface files. 

The complete verbage is:

[EMAIL PROTECTED]
xsd45hrekw /dosC/Software/haskell/hsql14_src/HSQL/e
xamples
$ ghc -package hsql Queries.hs
c:/Software/haskell/ghc-
6.4.0/imports/Database/HSQL.hi :
  Can't find interface-file declaration for 
Database.HSQL.Types.Connection
    Probable cause: bug in .hi-boot file, or 
inconsistent .hi file
    Use -ddump-if-trace to get an idea of which file 
caused the error
ghc.exe: panic! (the `impossible' happened, GHC 
version 6.4):
        forkM Declaration for tables{v}

Please report it as a compiler bug to glasgow-haskell-
[EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.

[EMAIL PROTECTED]

----------------------------------------------------------------------

Comment By: Ferenc Wágner (wferi)
Date: 2005-04-27 15:26

Message:
Logged In: YES 
user_id=142529

OK, let me try.  First of all I applied the attached patch, then
./configure --prefix=/home/wferi/wash
make depend
make all
make install
which bailed out when tried to update the system
package.conf since I wasn't root.  Nevermind, Wash isn't
compatible with GHC 6.4 anyways, so I hacked together a user
package.conf via ghc_pkg (attached).
Then I typed in the first example from the Wash manual
(attached) and tried to compile it.  I couldn't find a trace
of extra_ghc_opts or similar, so had to provide those
options on the command line.  Hope I didn't forget anything.
 FreeBSD 5.3-STABLE, btw.

----------------------------------------------------------------------

Comment By: Simon Peyton Jones (simonpj)
Date: 2005-04-27 14:18

Message:
Logged In: YES 
user_id=50165

Can someone give complete instructions for how to reproduce 
this bug?  E.g. I'm busy compiling WASH, but it looks as if 
you have to install it and compile something else too...

Step by step repro instructions would be v helpful.

Simon

----------------------------------------------------------------------

Comment By: Ferenc Wágner (wferi)
Date: 2005-04-26 16:35

Message:
Logged In: YES 
user_id=142529

I've got similar output when trying to compile WashNGo 2.3.1:

$ ghc -package WASH --make Main -F -pgmF
/home/wferi/wash/bin/wash2hs
Chasing modules from: Main
Compiling Main             ( Main.hs, Main.o )
/home/wferi/wash/lib/WASH-CGI-1.4.37/ghc-6-4/import/CGIInternals.hi
:
  Could not find module `HTMLMonadBase':
    it is not a module in the current program, or in any
known package.
ghc-6.4: panic! (the `impossible' happened, GHC version 6.4):
        forkM Declaration for ask{v}

Please report it as a compiler bug to
glasgow-haskell-bugs@haskell.org,
or http://sourceforge.net/projects/ghc/.

I experience this under FreeBSD with GHC compiled from ports.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1188785&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to