chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Is chicken supported on 32 bit Linux?


From: John Long
Subject: Re: [Chicken-users] Is chicken supported on 32 bit Linux?
Date: Tue, 28 May 2013 15:19:00 +0000
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, May 28, 2013 at 04:49:48PM +0200, Peter Bex wrote:
> On Tue, May 28, 2013 at 02:25:09PM +0000, John Long wrote:
> > Hi Christian,
> > 
> > Here's the part of the test that crashed. If you need the prior stuff just
> > let me know, I didn't want to post too hugely to the list!
> > 
> > Error: (library-tests.scm:210) assertion failed: (= (sin 42.0) (fpsin 42.0))
> 
> fpsin expands pretty much to a direct call to the C sin() function, while
> sin is wrapped in a function.
> 
> It could be that your compiler is performing some optimization which causes
> this value to be (slightly?) different.

It sounds like you nailed it. The tests run fine at -Os but fail at -O2 and
-O3.

> If it's possible, could you try it on a different version of your C
> compiler (or another C compiler entirely), and/or tell us your compiler's
> version?

It's vanilla gcc 4.7.1.

I'm ok for now but I would like it to work at least at -O2. Seems like gcc
(almost) always works at -O2!

/jl



reply via email to

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