Skip to content

zgerc test fails when built with -march=armv8.2-a+fcma #90

@ggardet

Description

@ggardet

zgerc test fails when built with -march=armv9-a. I can reproduce with -march=armv8.2-a+fcma but not with -march=armv8.2.
Base system is openSUSE Tumbleweed aarch64.

Test error:

[  104s] ./cblas/test.log
[  104s] FAIL: zgerc(case 1399) real (0.0497239999999999349 observed vs 0.0605740000000000028 expected) [2892]
[  104s] FAIL: zgerc(case 1399) imag (0.906070000000000042 observed vs 0.865539999999999976 expected) [2893]
[  104s] FAIL test (exit status: 1)
[  104s] ./cblas/test-suite.log
[  104s] ===================================
[  104s]    gsl 2.8: cblas/test-suite.log
[  104s] ===================================
[  104s] 
[  104s] # TOTAL: 1
[  104s] # PASS:  0
[  104s] # SKIP:  0
[  104s] # XFAIL: 0
[  104s] # FAIL:  1
[  104s] # XPASS: 0
[  104s] # ERROR: 0
[  104s] 
[  104s] System information (uname -a): Linux 6.16.5-1-default #1 SMP PREEMPT_DYNAMIC Thu Sep 4 15:51:43 UTC 2025 (642f24d) aarch64 aarch64 aarch64
[  104s] 
[  104s] .. contents:: :depth: 2
[  104s] 
[  104s] FAIL: test
[  104s] ==========
[  104s] 
[  104s] FAIL: zgerc(case 1399) real (0.0497239999999999349 observed vs 0.0605740000000000028 expected) [2892]
[  104s] FAIL: zgerc(case 1399) imag (0.906070000000000042 observed vs 0.865539999999999976 expected) [2893]
[  104s] FAIL test (exit status: 1)

Configure log:

[   25s] + export 'CFLAGS=-mbranch-protection=standard -march=armv9-a -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
[   25s] + CFLAGS='-mbranch-protection=standard -march=armv9-a -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
[   25s] + CONFIG_SHELL=/usr/bin/bash
[   25s] + export CONFIG_SHELL
[   25s] + CFLAGS='-mbranch-protection=standard -march=armv9-a -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
[   25s] + export CFLAGS
[   25s] + CXXFLAGS='-mbranch-protection=standard -march=armv9-a -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g'
[   25s] + export CXXFLAGS
[   25s] + FFLAGS='-mbranch-protection=standard -march=armv9-a -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g '
[   25s] + export FFLAGS
[   25s] + FCFLAGS='-mbranch-protection=standard -march=armv9-a -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g '
[   25s] + export FCFLAGS
[   25s] + LDFLAGS=-flto=auto
[   25s] + export LDFLAGS
[   25s] + ./configure --host=aarch64-suse-linux --build=aarch64-suse-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --enable-shared --with-gnu-ld

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions