Bug#185838: blas: FTBFS: CBLAS_IZAMAX test failed on GCC 3.2.3-0pre6
Package: g77-3.2
Version: 3.2.3-0pre6
Severity: normal
I was building blas 1.1-10 from source on i386 with the
following packages installed:
ii libc6 2.3.1-14 GNU C Library: Shared libraries and Timezone
ii libc6-dev 2.3.1-14 GNU C Library: Development Libraries and Hea
ii gcc 3.2.3-0 The GNU C compiler.
ii gcc-3.2 3.2.3-0pre6 The GNU C compiler
ii g77 3.2.3-0 The GNU Fortran 77 compiler.
ii g77-3.2 3.2.3-0pre6 The GNU Fortran 77 compiler
After BLAS had been compiled, the scripts automatically tested it.
One of the tests failed:
LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH cblas/testing/xzcblat1 > debian/test/xzcblat1
awk '/fail/ || /FAIL/ {exit 1}' debian/test/xzcblat1 || (cat debian/test/xzcblat1 && false)
Complex CBLAS Test Program Results
Test of subprogram number 1 CBLAS_ZDOTC
----- PASS -----
Test of subprogram number 2 CBLAS_ZDOTU
----- PASS -----
Test of subprogram number 3 CBLAS_ZAXPY
----- PASS -----
Test of subprogram number 4 CBLAS_ZCOPY
----- PASS -----
Test of subprogram number 5 CBLAS_ZSWAP
----- PASS -----
Test of subprogram number 6 CBLAS_DZNRM2
----- PASS -----
Test of subprogram number 7 CBLAS_DZASUM
----- PASS -----
Test of subprogram number 8 CBLAS_ZSCAL
----- PASS -----
Test of subprogram number 9 CBLAS_ZDSCAL
----- PASS -----
Test of subprogram number 10 CBLAS_IZAMAX
FAIL
CASE N INCX INCY MODE COMP TRUE DIFFERENCE
10 4 1 9999 9999 3 2 1
10 4 2 9999 9999 3 2 1
make: *** [debian/test/xzcblat1] Error 1
The error also occurs with g77 3.2-0pre3, but not with 2.95.4-8,
so I suspect it is a g77 bug. My attempts to locate the error in
the assembly output failed as I am not familiar with Fortran's
calling conventions.
-- System Information
Debian Release: testing/unstable
Kernel Version: Linux Astalo 2.4.19-kon.astalo.1 #1 ke loka 23 07:29:48 EEST 2002 i686 unknown unknown GNU/Linux
Reply to: