Arithmetic -> illegal instruction
rpm downloaded from
ftp://ftp.cse.unsw.edu.au/pub/users/chak/jibunmaki/i386/ghc-5.00-2.i386.rpm
and installed, I ran it:
23:04:09 pictogramme: ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version
5.00, For Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package std ... linking ... done.
Prelude> product [1..10]
3628800
(0.26 secs, 3763800 bytes)
Prelude> product [1..100]
Illegal instruction (core dumped)
Similarly
22:52:33 pictogramme: ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version
5.00, For Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package std ... linking ... done.
Prelude> 2^67
147573952589676412928
(0.50 secs, 7191048 bytes)
Prelude> 2^68
Illegal instruction (core dumped)
* * *
23:09:53 pictogramme: rpm -q gmp ghc
gmp-3.1.1-3
ghc-5.00-2
23:11:38 pictogramme: cat /etc/issue
Red Hat Linux release 7.1 (Seawolf)
Kernel 2.4.2-2 on an i586
Trac metadata
| Trac field | Value |
|---|---|
| Version | 5.0 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | ResolvedDuplicate |
| Component | Runtime System |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |