Custom Query (7491 matches)
Results (13 - 15 of 7491)
|#2615||fixed||ghci doesn't play nice with linker scripts||AlecBerryman|
I'm trying to use HsHyperEstraier with ghci. I can compile and run the included examples, but when I run them in ghci, I see:
$ ghci GHCi, version 6.8.3: http://www.haskell.org/ghc/ :? for help Loading package base ... linking ... done. Prelude> :l HelloWorld.hs [1 of 1] Compiling Main ( HelloWorld.hs, interpreted ) Ok, modules loaded: Main. *Main> main [...] Loading package HsHyperEstraier-0.2.1 ... can't load .so/.DLL for: c (/usr/lib/libc.so: invalid ELF header)
I see a similar error message if I specify '-package HsHyperEstraier' on the command line.
I did some looking and came up with these messages:
Debian's /usr/lib/libc.so is indeed a GNU linker script, not an actual shared library. If I remove all the libraries in HsHyperEstraier's ~/.ghc/.../package.conf that are linker scripts (pthreads and c), it loads up fine.
Could ghci either recognize or ignore linker scripts?
|#9753||worksforme||Segmentation fault when applying ** to a complex number||AlexeiKopylov|
Rising a negative complex number to a power using ** in ghci causes a segmentation fault:
$ ghci GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help Loading package ghc-prim ... linking ... done. Loading package integer-gmp ... linking ... done. Loading package base ... linking ... done. Prelude> :m +Data.Complex Prelude Data.Complex> (-1) ** 1 :: Complex Double Segmentation fault
|#3690||fixed||GHC panics on a crazy type signature||Alien|
x :: [Enum a => (forall a. Num a => a)] x = 
I have NO idea what that would mean or whatever it makes sense at all, but it fails with:
: panic! (the 'impossible' happened) (GHC version 6.10.4 for i386-unknown-mingw32): TcTyFuns.flattenType: unexpected PredType
And it said I should report it. :)