27 Jun 17:57
Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)
From: Judah Jacobson <judah.jacobson <at> gmail.com>
Subject: Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)
Newsgroups: gmane.comp.lang.haskell.glasgow.user
Date: 2008-06-27 15:59:08 GMT
Subject: Illegal instruction with ghc-6.8.3 distribution (OS X Tiger)
Newsgroups: gmane.comp.lang.haskell.glasgow.user
Date: 2008-06-27 15:59:08 GMT
Hi, I recently installed ghc-6.8.3 on an iBook running OS X 10.4.11 (PowerPC G4), using the following distribution: http://www.haskell.org/ghc/dist/6.8.3/maeder/ghc-6.8.3-powerpc-apple-darwin.tar.bz2 Running the following program, compiled with -O, causes an illegal instruction error: =========== module Main where main = print foo foo :: Integer foo = gcd 400 85 ================== Running through gdb produced the following output: Program received signal EXC_BAD_INSTRUCTION, Illegal instruction/operand. 0x00046b50 in __gmpn_gcd_1 () (gdb) where #0 0x00046b50 in __gmpn_gcd_1 () #1 0x00028cb0 in gcdIntzh_fast () #2 0x0002be34 in scheduleWaitThread () #3 0x0001fdb8 in real_main () #4 0x0001fec0 in main () (gdb) quit(Continue reading)
It's not a big problem for me, though; one of the ghc-6.8.2
distributions should work fine, and I can use them to build 6.8.3
myself.
RSS Feed