help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] gsl-1.15 mingw: ode-initval2 test fails


From: Ray Satiro
Subject: [Help-gsl] gsl-1.15 mingw: ode-initval2 test fails
Date: Thu, 9 Jun 2011 23:25:27 -0700 (PDT)

> Hi,
> 
> I'm compiling the latest 1.15 using MinGW+Msys in a Win XP  platform.
> I've got a problem related to ode-initval2. I used GCC version  4.5.2
> (MinGW latest official version) with CFLAGS="-fexceptions -mthreads"  and
> make -k check completed successfully. The issue is appearing turning  on
> optimization,
> 
> with CFLAGS="-O2 -fexceptions -mthreads"
> 
> 

[...]

> I also changed the compiler version (using CFLAGS="-O2  -fexceptions

> -mthreads" ) and
> 
> GCC 3.4.5 => OK
> GCC 4.2.1 =>  OK
> GCC 4.4.0 => Failing
> GCC 4.5.2 => Failing
> 
> I don't know if  the test limits are too much stringent or there is a bug
> or incompatibility  with GCC 4.4.x onwards.
> 
> At the moment I'm using the library compiled (and  make check passed)
> with GCC 4.5.2 removing the -O2 from the Makefile in  ode-initval2, but
> any patch to permit optimization is welcome.
> 
> Should  I submit a bug officially to trace the issue?
> 
> Regards
> 
> Max
> 
>

Hi

MINGW32_NT-6.0 COMPUTER 1.0.11(0.46/3/2) 2009-01-29 00:39 i686 Msys
gcc.exe (tdm-1) 4.5.1

Yes, I had the same problem.

FAIL: bsimp/msbdf e5_bigt [1] (1.0190909463048507e-020 observed vs 
1.020144070808528e-020 expected) [1214]
FAIL: bsimp/msbdf e5_bigt [2] (1.0194255784181719e-020 observed vs 
1.0183729939450725e-020 expected) [1215]
FAIL: bsimp/msbdf e5_bigt [3] (3.7405084513304344e-065 observed vs 
3.7366884728539915e-065 expected) [1216]

Adding -ffloat-store fixes the problem. Actual commands:

CFLAGS='-g -O2 -ffloat-store' ./configure -C > config.out 2>&1
make > make.out 2>&1
make -k check > make.check.out 2>&1
grep -i fail make.check.out

So try that using gcc 4.5.2



reply via email to

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