[ ghc-Bugs-422475 ] Arithmetic -> illegal instruction

noreply@sourceforge.net noreply@sourceforge.net
Wed, 09 May 2001 01:30:42 -0700


Bugs item #422475, was updated on 2001-05-08 15:12
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=422475&group_id=8032

Category: Runtime System
Group: 5.00
>Status: Closed
>Resolution: Duplicate
Priority: 5
Submitted By: Jón Fairbairn (jonfairbairn)
Assigned to: Nobody/Anonymous (nobody)
Summary: Arithmetic -> illegal instruction

Initial Comment:
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



----------------------------------------------------------------------

>Comment By: Julian Seward (sewardj)
Date: 2001-05-09 01:30

Message:
Logged In: YES 
user_id=50143

The GMP P5 vs P6 config error.  This is the third report ...



----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=108032&aid=422475&group_id=8032