On 14 January 2005 20:57, Daniel Fischer wrote:
> Hello,
> I recently read the following:
> [EMAIL PROTECTED]:~/Documents/pi3/diverses/Mascheroni> ghci Exponent.hs
> ___ ___ _
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 6.2, for Haskell
> 98. / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_| Type :? for help.
>
> Loading package base ... linking ... done.
> Skipping TheLog ( ./TheLog.hs, ./TheLog.o )
> Compiling Exponent ( Exponent.hs, interpreted )
> ghc-6.2: panic! (the `impossible' happened, GHC version 6.2):
> Bytecode generator can't handle unboxed tuples. Possibly due
> to foreign import/export decls in source. Workaround:
> compile this module to a .o file, then restart session.
>
> The complete code of both modules is attached, as well as system
> information (I know not much about such things, so I can only hope
> that is helpful for you).
>
> Compiling Exponent to a .o file did work, so there is no real problem.
> However, ghci said 'Please report it as a compiler bug', so I am
> doing it. Besides, there are no tuples at all in module Exponent,
> module TheLog, where there are a couple of tuples (are they unboxed
> though?) was compiled earlier, so I don't understand the message. If
> you could spare the time to explain (or give a source for an
> explanation), I would be even more grateful than I am anyway (such a
> wonderful thing as ghc FOR FREE!!).
Could you send us the source?
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs