[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] Strange `read-line' behaviour on Linux PPC
From: |
Mario Domenech Goulart |
Subject: |
[Chicken-users] Strange `read-line' behaviour on Linux PPC |
Date: |
08 Aug 2006 01:48:32 -0300 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 |
Hello,
I'm facing a problem using `read-line' on Linux PPC.
$ csi -n
___| | _) |
| __ \ | __| | / _ \ __ \
| | | | | ( < __/ | |
\____|_| |_|_|\___|_|\_\\___|_| _|
Version 2, Build 41 - linux-unix-gnu-unknown - [ dload ptables applyhook ]
(c)2000-2006 Felix L. Winkelmann
#;1> (with-output-to-file "oops" (cut print "hello"))
"hello"
#;2> (define p (open-input-file "oops"))
#;3> (read-line p)
"hello"
#;4> (read-line p)
Error: out of range
16777216
16777215
Call history:
<eval> (read-line p) <--
PS.: It takes about 30 seconds for the error to show up.
$ uname -a
Linux mandolate 2.6.15-23-powerpc #1 Tue May 23 13:46:54 UTC 2006 ppc GNU/Linux
$ gcc --version
gcc (GCC) 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat /proc/cpuinfo
processor : 0
cpu : 745/755
temperature : 11-13 C (uncalibrated)
clock : 499.999000MHz
revision : 51.17 (pvr 0008 3311)
bogomips : 33.15
timebase : 16640000
machine : PowerBook4,1
motherboard : PowerBook4,1 MacRISC2 MacRISC Power Macintosh
detected as : 257 (iBook 2)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld
Couldn't reproduce this behaviour using other systems (x86, x86_64 and
alpha Linux machines).
I've seen there's a patch from Zbigniew on the darcs repository (Jul
20), but couldn't test it yet (the problematic machine takes ages to
compile chicken). Is this patch related to the problem I mention?
Best wishes,
Mario
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-users] Strange `read-line' behaviour on Linux PPC,
Mario Domenech Goulart <=