#3798: Problem with wxHaskell
---------------------------------+------------------------------------------
    Reporter:  MNorrish          |        Owner:        
        Type:  bug               |       Status:  new   
    Priority:  normal            |    Milestone:        
   Component:  Compiler          |      Version:  6.10.4
    Keywords:                    |   Difficulty:        
          Os:  Linux             |     Testcase:        
Architecture:  Unknown/Multiple  |      Failure:  Other 
---------------------------------+------------------------------------------
Description changed by igloo:

Old description:

> Hello.hs is a GUI hello world program I copied and pasted off
> http://en.wikibooks.org/wiki/Haskell/GUI. I have wxHaskell and ghc, and
> my attempt to compile it gives
>
> m...@mark-laptop:~/MyCode$ ghc -package wx Hello.hs -o bin
> Binary: Int64 truncated to fit in 32 bit Int
> ghc: panic! (the 'impossible' happened)
>   (GHC version 6.10.4 for i386-unknown-linux):
>         Prelude.chr: bad argument
>
> Meanwhile, running it off ghci gives a series of successfully linked and
> loaded packages, terminating with
>
> Loading package wxdirect-0.12.1.1 ... linking ... done.
> Loading package wxcore-0.12.1.2 ... <command line>: can't load .so/.DLL
> for: stdc++ (libstdc++.so: cannot open shared object file: No such file
> or directory)
>
> (I put type of failure as other because it's a GHC panic and a GHCi
> failure and probably some other sort of bug too.)

New description:

 Hello.hs is a GUI hello world program I copied and pasted off
 http://en.wikibooks.org/wiki/Haskell/GUI. I have wxHaskell and ghc, and my
 attempt to compile it gives
 {{{
 m...@mark-laptop:~/MyCode$ ghc -package wx Hello.hs -o bin
 Binary: Int64 truncated to fit in 32 bit Int
 ghc: panic! (the 'impossible' happened)
   (GHC version 6.10.4 for i386-unknown-linux):
         Prelude.chr: bad argument
 }}}
 Meanwhile, running it off ghci gives a series of successfully linked and
 loaded packages, terminating with
 {{{
 Loading package wxdirect-0.12.1.1 ... linking ... done.
 Loading package wxcore-0.12.1.2 ... <command line>: can't load .so/.DLL
 for: stdc++ (libstdc++.so: cannot open shared object file: No such file or
 directory)
 }}}
 (I put type of failure as other because it's a GHC panic and a GHCi
 failure and probably some other sort of bug too.)

--

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/3798#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to