Re: Make check on FreeBSD 10.x - Intel

Holger Freyther <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.gnu.general
Message-ID <[email protected]>
> On 04 Feb 2015, at 05:28, Stephen Woolerton <[email protected]> wrote:


> 
> 
> I got the same results when running “make check” on both FreeBSD 10.0 and FreeBSD 10.1 (x86_64). Interestingly, the arm install only failed one test, while the x86_64 install fails a number of them.

I finally had the time to look into the failures.


>  7: intmath.st                                      FAILED (testsuite.at:33)
>  8: floatmath.st                                    FAILED (testsuite.at:34)

Our mul_with_check doesn’t properly detect the overflow on a multiplication
like (380536542838076625 * 576687883419648000) printNl. The result is
negative. I don’t have a fix yet but that is easy now. We need to review the
other routines with an overflow check too. We run the tests on travis-ci so
I wonder how intmax_t is different between  BSD and GNU.

holger



_______________________________________________
help-smalltalk mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-smalltalk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.