This is the mail archive of the gsl-discuss@sourceware.org mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GSL and MinGW with the GCC 4.4.0


Dear all,

Platform : Windows XP Sp3 , MinGW latest binutils,make,runtime GCC 4.4.0

MinGW team has just release and official version of the new GCC compiler (4.4.0). I used it to compile (./configure --disable-shared) GSL 1.12 . Using CFLAGS = -fexception the checking (make check) completed successfully.

But using optimization (CFLAGS = -O2 -fexceptions) the testing fails at (first error)

make[2]: Leaving directory `/home/Massimo/gsl-1.12/integration'
make check-TESTS
make[2]: Entering directory `/home/Massimo/gsl-1.12/integration'
FAIL: qawc(f459) elist (1.8329242496630777e-015 observed vs 1.8330829482071535e-015 expected) [744]
FAIL: test.exe


I compiled the source code for GSL 1.12 successfully (well, disregarding the well known montecarlo optimizer bug) with GCC 3.4.5 and GCC 4.2.1. So it seems a new bug of the new GCC compiler (optimizer) in MinGW. I don't know if the same bug is also present in other platforms.

I also tested the TDM GCC 4.4.0 (R2 available at http://www.tdragon.net/recentgcc/ ) and I got the same failure using optimization.

Is there a way to complete testing instead of stopping at first error?



Hop this helps.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]