From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 636 invoked by alias); 11 May 2011 19:31:53 -0000 Received: (qmail 627 invoked by uid 22791); 11 May 2011 19:31:50 -0000 X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,URI_NOVOWEL X-Spam-Check-By: sourceware.org Received: from mail-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 11 May 2011 19:31:30 +0000 Received: by wyf19 with SMTP id 19so803224wyf.0 for ; Wed, 11 May 2011 12:31:28 -0700 (PDT) Received: by 10.217.2.73 with SMTP id o51mr896955wes.66.1305142288214; Wed, 11 May 2011 12:31:28 -0700 (PDT) Received: from [192.168.0.101] (host243-126-dynamic.5-87-r.retail.telecomitalia.it [87.5.126.243]) by mx.google.com with ESMTPS id b20sm302282wbb.33.2011.05.11.12.31.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 11 May 2011 12:31:27 -0700 (PDT) Message-ID: <4DCAE406.1070301@gmail.com> Date: Wed, 11 May 2011 19:31:00 -0000 From: maxgacode User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 MIME-Version: 1.0 To: Tuomo Keskitalo CC: Brian Gough , GSL Discuss Mailing List Subject: Re: [Help-gsl] test release for 1.15 References: <1Q9crM-00024Q-M3.1302611902=b508ee37@network-theory.co.uk> <431v0khekb.wl%bjg@gnu.org> <4DBD462C.5000301@iki.fi> In-Reply-To: <4DBD462C.5000301@iki.fi> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Mailing-List: contact gsl-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gsl-discuss-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00014.txt.bz2 On 01/05/2011 13.38, Tuomo Keskitalo wrote: 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" the only failing test is related to ode-initval2 reported as make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval' make[1]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval' Making check in ode-initval2 make[1]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2' make test.exe make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2' make[2]: `test.exe' is up to date. make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2' make check-TESTS make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2' 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] FAIL: test.exe ================== 1 of 1 test failed ================== even worse with CFLAGS="-mfpmath=sse -msse2 -O2 -fexceptions -mthreads" (using sse2 the IEEE float is (shuold be) used without extra precision) I've got make[1]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2' make test.exe make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -mfpmath=sse -msse2 -O2 -fexceptions -mthreads -MT test.o -MD -MP -MF .deps/test.Tpo -c -o test.o test.c mv -f .deps/test.Tpo .deps/test.Po /bin/sh ../libtool --tag=CC --mode=link gcc -mfpmath=sse -msse2 -O2 -fexceptions -mthreads -o test.exe test.o libgslodeiv2.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la -lm libtool: link: gcc -mfpmath=sse -msse2 -O2 -fexceptions -mthreads -o test.exe test.o ./.libs/libgslodeiv2.a ../linalg/.libs/libgsllinalg.a ../blas/.libs/libgslblas.a ../cblas/.libs/libgslcblas.a ../matrix/.libs/libgslmatrix.a ../permutation/.libs/libgslpermutation.a ../vector/.libs/libgslvector.a ../block/.libs/libgslblock.a ../complex/.libs/libgslcomplex.a ../ieee-utils/.libs/libgslieeeutils.a ../err/.libs/libgslerr.a ../test/.libs/libgsltest.a ../sys/.libs/libgslsys.a ../utils/.libs/libutils.a -mthreads make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2' make check-TESTS make[2]: Entering directory `/home/emasgas/gsl-1.15/ode-initval2' -- order change -2 gsl: msbdf.c:1336: ERROR: msbdf_apply too large order change Default GSL error handler invoked. This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. FAIL: test.exe ================== 1 of 1 test failed ================== make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2' make[1]: *** [check-am] Error 2 make[1]: Leaving directory `/home/emasgas/gsl-1.15/ode-initval2' make: *** [check-recursive] Error 1 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