Skip to content

[v3.12.0] sblat1.f (SNRM2) test fail on i386 architectures #963

@cdluminate

Description

@cdluminate

Description

The sblat1.f test fails on i386 architectures, including i386 (effectively i686), and hurd-i386:
https://buildd.debian.org/status/package.php?p=lapack&suite=experimental
https://buildd.debian.org/status/fetch.php?pkg=lapack&arch=i386&ver=3.12.0-1&stamp=1702247469&raw=0
https://buildd.debian.org/status/fetch.php?pkg=lapack&arch=hurd-i386&ver=3.12.0-1&stamp=1702271309&raw=0

The typical failure is the SNRM2 call, which look like:

 Test of subprogram number  7            SNRM2 
                                       FAIL
  SNRM2: N=     4, INCX=  -2, IV= 9, IW= 9, test= 0.20971520E+07
                                       FAIL
  SNRM2: N=     4, INCX=   1, IV= 9, IW= 9, test= 0.20971520E+07
                                    ----- PASS -----

I'm confused about why this failure does not occur on other 32-bit architectures such as armhf and m68k. Any idea?
It does not seem like a compiler issue neither. Both gfortran-12 and gfortran-13 lead to the same results.

The minimal example to reproduce this issue is to build this package on a clean Debian unstable (sid) chroot.

Checklist

  • I've included a minimal example to reproduce the issue
  • I'd be willing to make a PR to solve this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions