[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
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?, (continued)
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?, Mario Domenech Goulart, 2013/05/28
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?, John Long, 2013/05/28
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?, Peter Bex, 2013/05/28
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?,
John Long <=
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?, Peter Bex, 2013/05/28
- Re: [Chicken-users] Is chicken supported on 32 bit Linux?, Peter Bex, 2013/05/28
- [Chicken-users] Is chicken supported on 32 bit Linux?, Sven Hartrumpf, 2013/05/29
- [Chicken-users] [PATCH] Make library tests compare numbers within epsilon [Was Re: Is chicken supported on 32 bit Linux?], Peter Bex, 2013/05/29
- [Chicken-users] [PATCH] Make library tests compare numbers within epsilon, Sven Hartrumpf, 2013/05/29
- Re: [Chicken-users] [Chicken-hackers] [PATCH] Make library tests compare numbers within epsilon, Jim Ursetto, 2013/05/29
- Re: [Chicken-users] [Chicken-hackers] [PATCH] Make library tests compare numbers within epsilon, Peter Bex, 2013/05/29
- Re: [Chicken-users] [Chicken-hackers] [PATCH] Make library tests compare numbers within epsilon, Peter Bex, 2013/05/29
- Re: [Chicken-users] [Chicken-hackers] [PATCH] Make library tests compare numbers within epsilon, Jim Ursetto, 2013/05/29
Re: [Chicken-users] Is chicken supported on 32 bit Linux?, John Cowan, 2013/05/28