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]

Re: test failure -- [was Re: test release gsl-1.8.90.tar.gz]


On Fri, Feb 16, 2007 at 11:05:00AM -0600, Linas Vepstas wrote:
> 
> > > http://www.network-theory.co.uk/download/gsl/gsl-1.8.90.tar.gz
> 
> tried this on a powerpc power5 system, make check fails:
> 
> make  check-TESTS
> make[2]: Entering directory `/kernels/tools/gsl-1.8.90/vector'
> FAIL: gsl_vector_char_ispos on negative vector stride=1, N=10 [518]
> FAIL: gsl_vector_char_isneg on negative vector stride=1, N=10 [519]
> FAIL: gsl_vector_char_ispos on negative vector stride=2, N=10 [1295]
> FAIL: gsl_vector_char_isneg on negative vector stride=2, N=10 [1296]
> 
> etc.
> FAIL: test
> etc.
> FAIL: test_static
> ===================
> 2 of 2 tests failed
> ===================
> make[2]: *** [check-TESTS] Error 1
> make[2]: Leaving directory `/kernels/tools/gsl-1.8.90/vector'
> 
> Above is for  gcc --version
> gcc (GCC) 4.1.0 (SUSE Linux)
> 
>  as --version
> GNU assembler 2.16.91.0.5 20051219 (SUSE Linux)
> 
> for SuSE SLES10 on a power5 pSeries machine, compiled in 32-bit mode.
> 
> I wasn't able to immediately determine what the problem was.
> Aren't chars always unsigned, and therefore can't be negative?
> Yet the test case seems to be trying to assign a negative value
> to a char, unless I misunderstood the testcase.
> 
> I'll try again in 64-bit mode shortly.

I get the same errors when compiling for 64-bit 
(./configure CFLAGS=-m64)

--linas


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