On 08/21/2015 04:00 PM, Erik de Castro Lopo wrote: > Ben Burdette wrote: > >> I've been trying to get going with ghc 7.10.2 on armv7 debian, problem >> is described here: >> >> http://stackoverflow.com/questions/32124334/ghc-armv7-binary-cabal-illegal-instruction > I suspect your problem may be related to this one: > > https://ghc.haskell.org/trac/ghc/ticket/10375 > > which I started work on, got stuck and haven't had time to return to. > > Erik
That does seem to be the case. I was able to duplicate their ghci error: /GHCi, version 7.10.2: http://www.haskell.org/ghc/ :? for help// //Prelude> data Planet = Mercury | Venus deriving Eq// //Prelude> Mercury == Mercury// //Illegal instruction// //bburdette@jessie-rpi:~$ // / And my hello world program: / main = do putStrLn "hello" /The results: / //bburdette@jessie-rpi:~$ ghc hello.hs // //[1 of 1] Compiling Main ( hello.hs, hello.o )// //Linking hello ...// //bburdette@jessie-rpi:~$ ls// //bin ghc-7.10.2-arm-unknown-linux.tar.xz hello.hi hello.o// //code hello hello.hs// //bburdette@jessie-rpi:~$ ./hello // //Illegal instruction// //bburdette@jessie-rpi:~$ ghc -O2 hello.hs// //bburdette@jessie-rpi:~$ ./hello // //Illegal instruction// //bburdette@jessie-rpi:~$ // // /Ok, thx for the help - I'll follow progress on the bug. Let me know if there's anything else you'd like be to try. Ben
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs