You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[v3.12.0] sblat1.f (SNRM2) test fail on i386 architectures #963
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've not yet verified which argument triggered the bug. But I cannot reproduce the issue on i386 with the default flags in make.inc. The bug only appears when built using debian's flags and tools. There is a resemblance to #961 which is only triggered by coverage build.
Ok, after fixing the test implementation (#964), the ZDNRM2 test breaks again with Debian specific build flags. I think I should try to contribute a CI test with Debian build flags. Those stack protection flags can help you guys catch more bugs.
With the default flags in make.inc. The test passed. But with stack protections, you can reproduce the issue with (1) the following config, (2) Patch #964, and (3) the command make blas_testing on an amd64 machine.
@cdluminate Do you confirm that this issue is indeed fixed by #964? My understanding was that this PR was not enough.
For the record. This PR is not enough to fix all issues. With Debian build flags, DZNRM2 is still showing similar test error with NaN, with the 3.12.1 release.
Activity
angsch commentedon Dec 20, 2023
There is a typo in the test that on most systems apparently yields a zero, but not on the two systems above.
@cdluminate I sent you an email.
cdluminate commentedon Dec 21, 2023
BTW, the following is the default build flags for Debian (distribution-wide):
I've not yet verified which argument triggered the bug. But I cannot reproduce the issue on i386 with the default flags in
make.inc. The bug only appears when built using debian's flags and tools. There is a resemblance to #961 which is only triggered by coverage build.Fix the wrong implementation of the xblat1.f implementations. (Fixes: R…
Fix the wrong implementation of the new tests for xblat1.f. (Fixes: R…
cdluminate commentedon Dec 21, 2023
Ok, after fixing the test implementation (#964), the
ZDNRM2test breaks again with Debian specific build flags. I think I should try to contribute a CI test with Debian build flags. Those stack protection flags can help you guys catch more bugs.cdluminate commentedon Dec 21, 2023
With the default flags in
make.inc. The test passed. But with stack protections, you can reproduce the issue with (1) the following config, (2) Patch #964, and (3) the commandmake blas_testingon an amd64 machine.The error looks like
Update:
cblas1.ffails just likezcblas1.f.angsch commentedon Dec 21, 2023
I will have a look at this on the weekend.
Fix the wrong implementation of the new tests for xblat1.f. (Fixes: R…
Fix the wrong implementation of the new tests for xblat1.f. (Fixes: R…
svillemot commentedon Jun 21, 2024
@cdluminate Do you confirm that this issue is indeed fixed by #964? My understanding was that this PR was not enough.
cdluminate commentedon Jan 14, 2025
For the record. This PR is not enough to fix all issues. With Debian build flags,
DZNRM2is still showing similar test error with NaN, with the 3.12.1 release.Disable newly-introduced *B1NRM2 tests