Dear GHC team,
I am trying ghc-6.10.2 оn a 64-bit matchine:
[mech...@node-1 t]$ uname -a
Linux node-1.localdomain 2.6.18-hpc-alt1.M41.1.mm1 #1 SMP
Mon Dec 8 14:58:04 MSK 2008 x86_64 GNU/Linux
,
16 Gb RAM machine, Intel(R) Xeon(R) CPU E5472, 3 GHz.
First we have installed there ghc-6.8.3 (from Linux distribution).
Then, I `made' ghc-6.10.2 from source by ghc-6.8.3:
./configure --prefix=/home/mechvel/ghc/6.10.2/inst0
make
make install
Everything looks all right.
Then, I try processing long lists:
-- Test64.hs --------------------------------------------
main = putStr (shows res "\n")
where
e = 30
list = [1 .. (2^e)] :: [Integer]
rList = reverse list
res = myMin $ zipWith (\ n m -> rem (n+m) 3) list rList
myMin [] = error "\nmyMin []\n"
myMin [x] = x
myMin (x: y: xs) = if x > y then myMin (y: xs) else myMin (x: xs)
-----------------------------------------------------------
For e = 20, it runs as
[mech...@node-1 t]$ ./Test64
2
-- all right.
For e = 30, it runs as
[mech...@node-1 t]$ ./Test64
Killed
Who has killed it? Is this by the local administrator's restriction ?
Another attempt:
[mech...@node-1 t]$ ./Test64 +RTS -M4000m -RTS
Test64: internal error: get_threaded_info
(GHC version 6.10.2 for x86_64_unknown_linux)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
Aborted
Qestion aside
-------------
List.minimum again, performs badly in ghc-6.10.2, so I used myMin.
Is List.minimum (and similar functions) being compiled by default
with -O0 ?
Regards,
-----------------
Serge Mechveliani
[email protected]
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs