help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] GNU Smalltalk on ARM - Raspberry Pi


From: Stephen Woolerton
Subject: Re: [Help-smalltalk] GNU Smalltalk on ARM - Raspberry Pi
Date: Sat, 9 Aug 2014 19:27:55 +1200

> 
> this is either a FreeBSD bug or some bad memory corruption in GST.
> Could you file a bug report in the FreeBSD bugzilla or ask on the
> ML? I intent to test with FreeBSD9.2, 10.0 and -CURRENT on AMD64
> to see if it has changed.
> 

Testing on FreeBSD 10.0-RELEASE x64. 
I found:-
        1. make check gives the same test results as when I ran it on the Pi, 
i.e. numbers tests failing, along with a few others
        2. as you can see below, the intmath.st test fails. However it does not 
crash with a core dump.

-------------------
# uname -a
FreeBSD freebsdvm 10.0-RELEASE-p7 FreeBSD 10.0-RELEASE-p7 #0: Tue Jul  8 
06:37:44 UTC 2014     address@hidden:/usr/obj/usr/src/sys/GENERIC  amd64

# clang -v
FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610
Target: x86_64-unknown-freebsd10.0
Thread model: posix

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


# ./testsuite -v -k intmath.st 
## -------------------------------- ##
## GNU Smalltalk 3.2.91 test suite. ##
## -------------------------------- ##
7. testsuite.at:33: testing intmath.st ...
{ (cd /usr/local/src/smalltalk-master/tests && env gst -I 
/usr/local/src/smalltalk-master/gst.im -r intmath.st 2>&1); echo exit 0 > 
retcode; } | tr -d '\r' | tee stdout; . ./retcode
./testsuite.at:33: { (cd $abs_srcdir && $TIMEOUT gst $image_path -r intmath.st 
2>&1); echo exit $? > retcode; } | tr -d '\r' | tee stdout; . ./retcode
--- expout      2014-07-30 20:31:34.000000000 +1200
+++ /usr/local/src/smalltalk-master/tests/testsuite.dir/at-groups/7/stdout      
2014-07-30 20:31:34.000000000 +1200
@@ -96,10 +96,10 @@
 returned value is '1000000000000000000000000000000000000'
 
 Execution begins...
-returned value is 100
+returned value is Fraction new "<0>"
 
 Execution begins...
-returned value is 
'93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000'
+returned value is 
'-30098453190548698807792191512012496934244838496895475492827553771517401966495365770962452661228546691339753881600000000000000'
 
 Execution begins...
 returned value is true
@@ -174,12 +174,6 @@
 returned value is false
 
 Execution begins...
-returned value is false
-
-Execution begins...
-returned value is false
-
-Execution begins...
 returned value is true
 
 Execution begins...
@@ -189,10 +183,10 @@
 returned value is false
 
 Execution begins...
-returned value is true
+returned value is false
 
 Execution begins...
-returned value is true
+returned value is false
 
 Execution begins...
 returned value is false
@@ -204,6 +198,12 @@
 returned value is true
 
 Execution begins...
+returned value is true
+
+Execution begins...
+returned value is true
+
+Execution begins...
 true
 true
 returned value is true
@@ -236,6 +236,5 @@
 returned value is Fraction new "<0>"
 
 Execution begins...
-694
-694
-returned value is 314159
+ error: The program attempted to divide a number by zero
+returned value is nil
7. testsuite.at:33:  FAILED (testsuite.at:33)

## ------------- ##
## Test results. ##
## ------------- ##

ERROR: 1 test was run,
1 failed unexpectedly.
## -------------------------- ##
## testsuite.log was created. ##
## -------------------------- ##





reply via email to

[Prev in Thread] Current Thread [Next in Thread]