chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] 4.1.0rc1


From: Peter Bex
Subject: Re: [Chicken-users] 4.1.0rc1
Date: Sat, 4 Jul 2009 14:55:16 +0200
User-agent: Mutt/1.4.2.3i

On Thu, Jul 02, 2009 at 03:03:09PM +0200, felix winkelmann wrote:
> Hi!
> 
> The release candidate for 4.1.0 is available now at
> 
> http://www.call-with-current-continuation.org/chicken-4.1.0rc1.tar.gz
> 
> If you have a few minutes, download it and give it a try.

I ran the full bootstrap process on a machine (amd64) that still has
Chicken 2 installed and it crapped out saying the "scheme" module did
not exist.  Looks like some part of the process is still using one of
the system-installed tools.  See the attached typescript.

I also tried it on another machine (ppc) with Chicken 3 and 4 installed.
Chicken 4 is in a nonstandard location and Chicken 3 in /usr/pkg, so
you'd think I would also get this error because it would use chicken 3's
libraries, but no; it managed to run more tests successfully.
I also used full bootstrap here, so that didn't differ.

I got a different error here:

======================================== lolevel tests ...

Error: assertion failed: (= -1 (pointer-s8-ref some-chunk))

After adding (write (pointer-s8-ref some-chunk)) in there, I got the
contents to print: 255.  Turns out that on PowerPC (and on ARM, too!),
"char" is unsigned by default.  Chicken should either pass -fsigned-char
to the compiler (but this is less efficient for cases where signedness
doesn't matter), or the definition of pointer-s8-ref should be changed:

(define pointer-s8-ref
  (getter-with-setter
     (foreign-lambda* int ([c-pointer p]) "return(*((signed char *)p));")
       pointer-s8-set!) )

After making this change and recompiling, the test succeeds.  All other
tests succeed as well.

Felix, you still have an account on the amd64 machine, so if you want to
run some tests there, feel free to log in.  I'm going to have a closer
look as well and will report if I find anything.

Cheers,
Peter
-- 
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
 is especially attractive, not only because it can be economically
 and scientifically rewarding, but also because it can be an aesthetic
 experience much like composing poetry or music."
                                                        -- Donald Knuth

Attachment: typescript
Description: Text document

Attachment: pgpiiS8LRADBC.pgp
Description: PGP signature


reply via email to

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