Closed kloczek closed 3 months ago
Can you give the complete cmake line you have used to configure flexiblas?
If it helps, these warnings appear in my build too, didn't realize, so you could use my spec to reproduce: https://kojipkgs.fedoraproject.org//packages/flexiblas/3.4.2/1.fc41/data/logs/x86_64/build.log
LTO settings in my case are passed over env variables
[tkloczko@pers-jacek SPECS]$ rpm -E %set_build_flags
ASMFLAGS="-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security";
CFLAGS="-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security";
CXXFLAGS="-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security";
FFLAGS="-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules";
FCFLAGS="-m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -O2 -g -grecord-gcc-switches -pipe -mtls-dialect=gnu2 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdata-sections -ffunction-sections -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -flto=auto -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Werror=format-security -I/usr/lib64/gfortran/modules";
LDFLAGS="-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--gc-sections -Wl,--as-needed -Wl,--build-id=sha1 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,pack-relative-relocs -flto=auto -fuse-linker-plugin";
RUSTFLAGS="-C codegen-units=1 -C debuginfo=2 -C opt-level=2 -C link-arg=-Wl,--as-needed -C link-arg=-Wl,--build-id=sha1 -C link-arg=-Wl,-z,now -C link-arg=-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -C link-arg=-Wl,-z,pack-relative-relocs -C link-arg=-Wl,-z,relro -C link-arg=-flto=auto --cap-lints=warn" ;
VALAFLAGS="-g" ;
CC="/usr/bin/gcc"; CXX="/usr/bin/g++"; FC="/usr/bin/gfortran";
AR="/usr/bin/gcc-ar"; NM="/usr/bin/gcc-nm"; RANLIB="/usr/bin/gcc-ranlib";
export ASMFLAGS CFLAGS CXXFLAGS FFLAGS FCFLAGS LDFLAGS VALAFLAGS CC CXX FC AR NM RANLIB RUSTFLAGS VALAFLAGS;
I took a look on the errors and the -Wunused-label
and the -Wtabs
related ones come from the original LAPACK sources, that we import. Thus these errors/warning should be addressed their as well and I they will be fixed once they are fixed in an upcoming LAPACK release.
Regarding the LTO errors, I am preparing a solution.
Fixed in 3.4.3.
The warning with respect to the LAPACK codes (contributed/*
and test/*
) still existing and need to be fixed in upstream.
Could you please tag the version here? Thanks!
3.4.4 again reports many LTO warnings.
I only see 4 warnings (here is the log), none of them are LTO-related:
$ cat build.log | grep "warning:" | grep -v "test/blas" | grep -v "test/lapack"
/builddir/build/BUILD/flexiblas-3.4.4/src/fallback_blas/dummy.c:39:11: warning: unused variable ‘addr’ [-Wunused-variable]
/builddir/build/BUILD/flexiblas-3.4.4/src/fallback_blas/dummy.c:39:11: warning: unused variable ‘addr’ [-Wunused-variable]
/builddir/build/BUILD/flexiblas-3.4.4/src/hooks/dummy/dummy_hook.c:75:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
/builddir/build/BUILD/flexiblas-3.4.4/src/hooks/dummy/dummy_hook.c:75:48: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘int64_t’ {aka ‘long int’} [-Wformat=]
Here is list of LTO warnings
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:285:72: warning: type of ‘cd3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:591:101: warning: type of ‘cdgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:900:72: warning: type of ‘cdsymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1204:101: warning: type of ‘cdtrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1214:101: warning: type of ‘cdtrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1552:72: warning: type of ‘cdsyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1891:94: warning: type of ‘cdsyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:304:72: warning: type of ‘cd2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:655:72: warning: type of ‘cdgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:665:72: warning: type of ‘cdgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:997:72: warning: type of ‘cdsymv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1007:101: warning: type of ‘cdsbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1015:72: warning: type of ‘cdspmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1357:72: warning: type of ‘cdtrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1365:72: warning: type of ‘cdtbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1373:72: warning: type of ‘cdtpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1383:72: warning: type of ‘cdtrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1391:72: warning: type of ‘cdtbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1399:72: warning: type of ‘cdtpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1976:94: warning: type of ‘cdsyr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1983:72: warning: type of ‘cdspr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:2292:72: warning: type of ‘cdsyr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:2300:72: warning: type of ‘cdspr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:304:72: warning: type of ‘cs2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:655:72: warning: type of ‘csgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:665:72: warning: type of ‘csgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:997:72: warning: type of ‘cssymv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1007:101: warning: type of ‘cssbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1015:72: warning: type of ‘csspmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1357:72: warning: type of ‘cstrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1365:72: warning: type of ‘cstbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1373:72: warning: type of ‘cstpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1383:72: warning: type of ‘cstrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1391:72: warning: type of ‘cstbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1399:72: warning: type of ‘cstpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1976:94: warning: type of ‘cssyr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1983:72: warning: type of ‘csspr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:2292:72: warning: type of ‘cssyr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:2300:72: warning: type of ‘csspr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:291:72: warning: type of ‘cz3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:605:72: warning: type of ‘czgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:922:72: warning: type of ‘czhemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:926:72: warning: type of ‘czsymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1235:72: warning: type of ‘cztrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1245:72: warning: type of ‘cztrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1613:72: warning: type of ‘czherk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1621:72: warning: type of ‘czsyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:2036:72: warning: type of ‘czher2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:2046:72: warning: type of ‘czsyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:290:72: warning: type of ‘cc3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:604:72: warning: type of ‘ccgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:921:72: warning: type of ‘cchemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:925:72: warning: type of ‘ccsymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1234:72: warning: type of ‘cctrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1244:72: warning: type of ‘cctrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1612:72: warning: type of ‘ccherk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1620:72: warning: type of ‘ccsyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:2035:72: warning: type of ‘ccher2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:2045:72: warning: type of ‘ccsyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:284:72: warning: type of ‘cs3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:308:72: warning: type of ‘cc2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:591:72: warning: type of ‘csgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:664:72: warning: type of ‘ccgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:904:72: warning: type of ‘cssymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1208:72: warning: type of ‘cstrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:674:72: warning: type of ‘ccgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1218:72: warning: type of ‘cstrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1002:72: warning: type of ‘cchemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1012:72: warning: type of ‘cchbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1020:72: warning: type of ‘cchpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1557:72: warning: type of ‘cssyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1358:72: warning: type of ‘cctrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1895:72: warning: type of ‘cssyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1366:72: warning: type of ‘cctbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1374:72: warning: type of ‘cctpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1384:72: warning: type of ‘cctrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1392:72: warning: type of ‘cctbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1400:72: warning: type of ‘cctpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1978:72: warning: type of ‘ccher’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1986:72: warning: type of ‘cchpr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:2290:72: warning: type of ‘ccher2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:2298:72: warning: type of ‘cchpr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:308:72: warning: type of ‘cz2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:665:72: warning: type of ‘czgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:675:72: warning: type of ‘czgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1004:72: warning: type of ‘czhemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1014:72: warning: type of ‘czhbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1022:72: warning: type of ‘czhpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1361:72: warning: type of ‘cztrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1369:72: warning: type of ‘cztbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1377:72: warning: type of ‘cztpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1387:72: warning: type of ‘cztrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1395:72: warning: type of ‘cztbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1403:72: warning: type of ‘cztpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1983:72: warning: type of ‘czher’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1991:72: warning: type of ‘czhpr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:2296:72: warning: type of ‘czher2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:2304:72: warning: type of ‘czhpr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:304:72: warning: type of ‘cs2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:655:72: warning: type of ‘csgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:665:72: warning: type of ‘csgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:997:72: warning: type of ‘cssymv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1007:101: warning: type of ‘cssbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1015:72: warning: type of ‘csspmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1357:72: warning: type of ‘cstrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1365:72: warning: type of ‘cstbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1373:72: warning: type of ‘cstpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1383:72: warning: type of ‘cstrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1391:72: warning: type of ‘cstbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1399:72: warning: type of ‘cstpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1976:94: warning: type of ‘cssyr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:1983:72: warning: type of ‘csspr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:2292:72: warning: type of ‘cssyr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat2.f:2300:72: warning: type of ‘csspr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:284:72: warning: type of ‘cs3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:591:72: warning: type of ‘csgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:904:72: warning: type of ‘cssymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1208:72: warning: type of ‘cstrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1218:72: warning: type of ‘cstrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1557:72: warning: type of ‘cssyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_sblat3.f:1895:72: warning: type of ‘cssyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:304:72: warning: type of ‘cd2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:655:72: warning: type of ‘cdgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:665:72: warning: type of ‘cdgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:997:72: warning: type of ‘cdsymv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1007:101: warning: type of ‘cdsbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1015:72: warning: type of ‘cdspmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1357:72: warning: type of ‘cdtrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1365:72: warning: type of ‘cdtbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1373:72: warning: type of ‘cdtpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1383:72: warning: type of ‘cdtrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1391:72: warning: type of ‘cdtbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1399:72: warning: type of ‘cdtpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1976:94: warning: type of ‘cdsyr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:1983:72: warning: type of ‘cdspr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:2292:72: warning: type of ‘cdsyr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat2.f:2300:72: warning: type of ‘cdspr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:285:72: warning: type of ‘cd3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:591:101: warning: type of ‘cdgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:900:72: warning: type of ‘cdsymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1204:101: warning: type of ‘cdtrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1214:101: warning: type of ‘cdtrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1552:72: warning: type of ‘cdsyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_dblat3.f:1891:94: warning: type of ‘cdsyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat1.f:228:72: warning: type of ‘icamaxtest’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:308:72: warning: type of ‘cc2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:664:72: warning: type of ‘ccgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:674:72: warning: type of ‘ccgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1002:72: warning: type of ‘cchemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1012:72: warning: type of ‘cchbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1020:72: warning: type of ‘cchpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1358:72: warning: type of ‘cctrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1366:72: warning: type of ‘cctbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1374:72: warning: type of ‘cctpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1384:72: warning: type of ‘cctrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1392:72: warning: type of ‘cctbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1400:72: warning: type of ‘cctpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1978:72: warning: type of ‘ccher’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:1986:72: warning: type of ‘cchpr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:2290:72: warning: type of ‘ccher2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat2.f:2298:72: warning: type of ‘cchpr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:290:72: warning: type of ‘cc3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:604:72: warning: type of ‘ccgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:921:72: warning: type of ‘cchemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:925:72: warning: type of ‘ccsymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1234:72: warning: type of ‘cctrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1244:72: warning: type of ‘cctrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1612:72: warning: type of ‘ccherk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:1620:72: warning: type of ‘ccsyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:2035:72: warning: type of ‘ccher2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_cblat3.f:2045:72: warning: type of ‘ccsyr2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:308:72: warning: type of ‘cz2chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:665:72: warning: type of ‘czgemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:675:72: warning: type of ‘czgbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1004:72: warning: type of ‘czhemv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1014:72: warning: type of ‘czhbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1022:72: warning: type of ‘czhpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1361:72: warning: type of ‘cztrmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1369:72: warning: type of ‘cztbmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1377:72: warning: type of ‘cztpmv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1387:72: warning: type of ‘cztrsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1395:72: warning: type of ‘cztbsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1403:72: warning: type of ‘cztpsv’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1983:72: warning: type of ‘czher’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:1991:72: warning: type of ‘czhpr’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:2296:72: warning: type of ‘czher2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat2.f:2304:72: warning: type of ‘czhpr2’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:291:72: warning: type of ‘cz3chke’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:605:72: warning: type of ‘czgemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:922:72: warning: type of ‘czhemm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:926:72: warning: type of ‘czsymm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1235:72: warning: type of ‘cztrmm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1245:72: warning: type of ‘cztrsm’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1613:72: warning: type of ‘czherk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:1621:72: warning: type of ‘czsyrk’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:2036:72: warning: type of ‘czher2k’ does not match original declaration [-Wlto-type-mismatch]
flexiblas-3.4.4/test/blas/cblas/c_zblat3.f:2046:72: warning: type of ‘czsyr2k’ does not match original declaration [-Wlto-type-mismatch]
That is under "test", and thus imported directly from upstream. You need to filter those out, as I did.
As I already said
The warnings with respect to the LAPACK codes (contributed/ and test/) still existing and need to be fixed in upstream.
First just stats:
And ere is extracted stderr
In above output is possible to see as well
-fno-strict-aliasing
warnings which are not counted by my oneliner.