Comments (12)
Thanks for the analysis! That fix can be backported, and I guess probably should as it indicates a rather severe API violation? Would be nice to have a bugfix release of lapack including the fix.
I guess I just wish https://bugs.gentoo.org/878891 had been handled back in late 2022... I've been making a recent effort to reproduce and resolve LTO unsoundness bugs including getting upstream projects informed since, of course, they often indicate underlying issues in the code even when not compiled with LTO.
from lapack.
- Can you preclude that you hit Gentoo bug 919740 sci-libs/lapack-3.12.0 fails to build with clang-17 and lto enabled?
- Please post the options passed to CMake for building. I cannot reproduce the problem with GCC 12.2.0, CMake 3.25.1, and LAPACK 3.12.0 (commit 04b044e) with the options below inferred from your console log.
#!/bin/sh
set -e
set -u
export CFLAGS="$CFLAGS \
-march=native \
-fstack-protector-all \
-fstack-clash-protection \
-flto=4 \
-Werror=odr \
-Werror=lto-type-mismatch \
-Werror=strict-aliasing \
-Wformat \
-Werror=format-security \
-Werror=implicit-function-declaration \
-Werror=implicit-int \
-Werror=int-conversion \
-Werror=incompatible-pointer-types \
-Werror=odr \
-Werror=lto-type-mismatch"
export LDFLAGS="-Wl,-O1 -Wl,--as-needed"
cmake \
-G Ninja \
-DBUILD_SHARED_LIBS=ON \
-DCBLAS=ON \
-DBUILD_DOUBLE=OFF \
-DBUILD_COMPLEX=OFF \
-DBUILD_COMPLEX16=OFF \
~/lapack
from lapack.
Exhaustive build log: build.log
Can you preclude that you hit Gentoo bug 919740 sci-libs/lapack-3.12.0 fails to build with clang-17 and lto enabled?
Categorically impossible, this system uses the one true compiler, GCC. :D
Please post the options passed to CMake for building. I cannot reproduce the problem with GCC 12.2.0, CMake 3.25.1, and LAPACK 3.12.0 (commit 04b044e) with the options below inferred from your console log.
However, your reproducer script doesn't use LTO for the files with the errors. Try setting FFLAGS too.
from lapack.
Categorically impossible, this system uses the one true compiler, GCC. :D
I see. ;)
However, your reproducer script doesn't use LTO for the files with the errors. Try setting FFLAGS too.
There was a second problem with the bash script: CMake only picks up environment variables the first time it is run and I kept re-running the script in an existing build directory. This script reproduces the error for me on Debian with GCC 12.2.0; the compiler flags are taken from the Gentoo Wiki LTO page:
#!/bin/sh
set -e
set -u
export GENTOO_FLTO_FLAGS="\
-flto=4 \
-Werror=odr \
-Werror=lto-type-mismatch \
-Werror=strict-aliasing"
cmake \
-G Ninja \
-D CMAKE_Fortran_FLAGS="$GENTOO_FLTO_FLAGS" \
-D CMAKE_C_FLAGS="$GENTOO_FLTO_FLAGS" \
-DBUILD_SHARED_LIBS=ON \
-DCBLAS=ON \
-DBUILD_DOUBLE=OFF \
-DBUILD_COMPLEX=OFF \
-DBUILD_COMPLEX16=OFF \
~/lapack
from lapack.
The error message is caused by the link-time optimizer noticing that the BLAS function declarations in CBLAS/include/cblas_f77.h
do not match the actual function definitions in the Fortran files when 64-bit integers are used by default because the types of the integer arguments differ. With BUILD_INDEX64_EXT_API=OFF
, LTO works.
from lapack.
The linker warning is warranted because there is not Fortran code with 8-byte integers: the variable FOPT_ILP64
containing the compiler flag enabling 8-byte integers is empty or not defined in the CBLAS
subdirectory; it is defined in the BLAS
subdirectory.
from lapack.
Suggested fix:
diff --git a/CBLAS/CMakeLists.txt b/CBLAS/CMakeLists.txt
index c276f7da3..81dc17c46 100644
--- a/CBLAS/CMakeLists.txt
+++ b/CBLAS/CMakeLists.txt
@@ -14,6 +14,9 @@ if(CMAKE_Fortran_COMPILER)
FortranCInterface_HEADER(${LAPACK_BINARY_DIR}/include/cblas_mangling.h
MACRO_NAMESPACE "F77_"
SYMBOL_NAMESPACE "F77_")
+
+ include(CheckLAPACKCompilerFlags)
+ CheckLAPACKCompilerFlags() # force FOPT_ILP64 to be set
endif()
if(NOT FortranCInterface_GLOBAL_FOUND OR NOT FortranCInterface_MODULE_FOUND)
message(WARNING "Reverting to pre-defined include/cblas_mangling.h")
@langou As far as I can tell, the 64-bit CBLAS interface is partially broken without this commit: the Fortran functions in the The issue was already fixed.CBLAS
subdirectory are never compiled with 8-byte integers even when they are supposed to (that is, when their name ends in _64
).
from lapack.
@eli-schwartz Thank you for your bug report and kudos to the GCC folks for such a practical check. The issue was already fixed by pull request #951 (edit i.e., one week after v3.12.0 was released :/ /edit).
from lapack.
That fix can be backported, and I guess probably should as it indicates a rather severe API violation?
Yes, it does IMO and would warrant a 3.12.1 release. Let's see what the maintainers say.
from lapack.
It's been backported in Gentoo but an official release with it would still be nice for everyone else. :)
from lapack.
After further investigation, there are other issues in the testsuite as well. This is after backporting the previous patch:
ninja: Entering directory `/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build'
[1/8] Linking Fortran executable bin/xscblat2
FAILED: bin/xscblat2
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xscblat2.dir/c_sblat2.f.o CBLAS/testing/CMakeFiles/xscblat2.dir/c_sblas2.c.o CBLAS/testing/CMakeFiles/xscblat2.dir/c_s2chke.c.o CBLAS/testing/CMakeFiles/xscblat2.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xscblat2.dir/c_xerbla.c.o -o bin/xscblat2 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:304:72: error: type of ‘cs2chke’ does not match original declaration [-Werror=lto-type-mismatch]
304 | CALL CS2CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_s2chke.c:27:6: note: type mismatch in parameter 2
27 | void F77_s2chke(char *rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_s2chke.c:27:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_s2chke.c:27:6: note: ‘cs2chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:655:72: error: type of ‘csgemv’ does not match original declaration [-Werror=lto-type-mismatch]
655 | $ BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:11:6: note: type mismatch in parameter 13
11 | void F77_sgemv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n, float *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:11:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:11:6: note: ‘csgemv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:665:72: error: type of ‘csgbmv’ does not match original declaration [-Werror=lto-type-mismatch]
665 | $ INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:187:6: note: type mismatch in parameter 15
187 | void F77_sgbmv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n, CBLAS_INT *kl, CBLAS_INT *ku,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:187:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:187:6: note: ‘csgbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:997:72: error: type of ‘cssymv’ does not match original declaration [-Werror=lto-type-mismatch]
997 | $ LDA, XX, INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:115:6: note: type mismatch in parameter 12
115 | void F77_ssymv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha, float *a,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:115:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:115:6: note: ‘cssymv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1007:101: error: type of ‘cssbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1007 | $ INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:317:6: note: type mismatch in parameter 13
317 | void F77_ssbmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_INT *k, float *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:317:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:317:6: note: ‘cssbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1015:72: error: type of ‘csspmv’ does not match original declaration [-Werror=lto-type-mismatch]
1015 | $ XX, INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:362:6: note: type mismatch in parameter 11
362 | void F77_sspmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha, float *ap,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:362:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:362:6: note: ‘csspmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1357:72: error: type of ‘cstrmv’ does not match original declaration [-Werror=lto-type-mismatch]
1357 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:63:6: note: type mismatch in parameter 10
63 | void F77_strmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:63:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:63:6: note: ‘cstrmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1365:72: error: type of ‘cstbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1365 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:225:6: note: type mismatch in parameter 11
225 | void F77_stbmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:225:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:225:6: note: ‘cstbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1373:72: error: type of ‘cstpmv’ does not match original declaration [-Werror=lto-type-mismatch]
1373 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:399:6: note: type mismatch in parameter 9
399 | void F77_stpmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:399:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:399:6: note: ‘cstpmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1383:72: error: type of ‘cstrsv’ does not match original declaration [-Werror=lto-type-mismatch]
1383 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:91:6: note: type mismatch in parameter 10
91 | void F77_strsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:91:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:91:6: note: ‘cstrsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1391:72: error: type of ‘cstbsv’ does not match original declaration [-Werror=lto-type-mismatch]
1391 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:271:6: note: type mismatch in parameter 11
271 | void F77_stbsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:271:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:271:6: note: ‘cstbsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1399:72: error: type of ‘cstpsv’ does not match original declaration [-Werror=lto-type-mismatch]
1399 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:438:6: note: type mismatch in parameter 9
438 | void F77_stpsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:438:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:438:6: note: ‘cstpsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1976:94: error: type of ‘cssyr’ does not match original declaration [-Werror=lto-type-mismatch]
1976 | $ AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:139:6: note: type mismatch in parameter 9
139 | void F77_ssyr(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha, float *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:139:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:139:6: note: ‘cssyr_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:1983:72: error: type of ‘csspr’ does not match original declaration [-Werror=lto-type-mismatch]
1983 | CALL CSSPR( IORDER, UPLO, N, ALPHA, XX, INCX, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:478:6: note: type mismatch in parameter 8
478 | void F77_sspr(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha, float *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:478:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:478:6: note: ‘csspr_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:2292:72: error: type of ‘cssyr2’ does not match original declaration [-Werror=lto-type-mismatch]
2292 | $ YY, INCY, AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:163:6: note: type mismatch in parameter 11
163 | void F77_ssyr2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha, float *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:163:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:163:6: note: ‘cssyr2_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat2.f:2300:72: error: type of ‘csspr2’ does not match original declaration [-Werror=lto-type-mismatch]
2300 | $ YY, INCY, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:529:6: note: type mismatch in parameter 10
529 | void F77_sspr2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha, float *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:529:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas2.c:529:6: note: ‘csspr2_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[2/8] Linking Fortran executable bin/xzcblat2
FAILED: bin/xzcblat2
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xzcblat2.dir/c_zblat2.f.o CBLAS/testing/CMakeFiles/xzcblat2.dir/c_zblas2.c.o CBLAS/testing/CMakeFiles/xzcblat2.dir/c_z2chke.c.o CBLAS/testing/CMakeFiles/xzcblat2.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xzcblat2.dir/c_xerbla.c.o -o bin/xzcblat2 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:308:72: error: type of ‘cz2chke’ does not match original declaration [-Werror=lto-type-mismatch]
308 | CALL CZ2CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_z2chke.c:27:6: note: type mismatch in parameter 2
27 | void F77_z2chke(char *rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_z2chke.c:27:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_z2chke.c:27:6: note: ‘cz2chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:665:72: error: type of ‘czgemv’ does not match original declaration [-Werror=lto-type-mismatch]
665 | $ BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:11:6: note: type mismatch in parameter 13
11 | void F77_zgemv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:11:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:11:6: note: ‘czgemv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:675:72: error: type of ‘czgbmv’ does not match original declaration [-Werror=lto-type-mismatch]
675 | $ INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:41:6: note: type mismatch in parameter 15
41 | void F77_zgbmv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n, CBLAS_INT *kl, CBLAS_INT *ku,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:41:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:41:6: note: ‘czgbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1004:72: error: type of ‘czhemv’ does not match original declaration [-Werror=lto-type-mismatch]
1004 | $ INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:145:6: note: type mismatch in parameter 12
145 | void F77_zhemv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_ZOMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:145:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:145:6: note: ‘czhemv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1014:72: error: type of ‘czhbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1014 | $ YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:175:6: note: type mismatch in parameter 13
175 | void F77_zhbmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:175:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:175:6: note: ‘czhbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1022:72: error: type of ‘czhpmv’ does not match original declaration [-Werror=lto-type-mismatch]
1022 | $ XX, INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:239:6: note: type mismatch in parameter 11
239 | void F77_zhpmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_ZOMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:239:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:239:6: note: ‘czhpmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1361:72: error: type of ‘cztrmv’ does not match original declaration [-Werror=lto-type-mismatch]
1361 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:532:6: note: type mismatch in parameter 10
532 | void F77_ztrmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:532:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:532:6: note: ‘cztrmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1369:72: error: type of ‘cztbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1369 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:295:6: note: type mismatch in parameter 11
295 | void F77_ztbmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:295:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:295:6: note: ‘cztbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1377:72: error: type of ‘cztpmv’ does not match original declaration [-Werror=lto-type-mismatch]
1377 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:422:6: note: type mismatch in parameter 9
422 | void F77_ztpmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:422:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:422:6: note: ‘cztpmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1387:72: error: type of ‘cztrsv’ does not match original declaration [-Werror=lto-type-mismatch]
1387 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:561:6: note: type mismatch in parameter 10
561 | void F77_ztrsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:561:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:561:6: note: ‘cztrsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1395:72: error: type of ‘cztbsv’ does not match original declaration [-Werror=lto-type-mismatch]
1395 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:358:6: note: type mismatch in parameter 11
358 | void F77_ztbsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:358:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:358:6: note: ‘cztbsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1403:72: error: type of ‘cztpsv’ does not match original declaration [-Werror=lto-type-mismatch]
1403 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:477:6: note: type mismatch in parameter 9
477 | void F77_ztpsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:477:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:477:6: note: ‘cztpsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1983:72: error: type of ‘czher’ does not match original declaration [-Werror=lto-type-mismatch]
1983 | $ INCX, AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:743:6: note: type mismatch in parameter 9
743 | void F77_zher(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:743:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:743:6: note: ‘czher_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:1991:72: error: type of ‘czhpr’ does not match original declaration [-Werror=lto-type-mismatch]
1991 | $ XX, INCX, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:591:6: note: type mismatch in parameter 8
591 | void F77_zhpr(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:591:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:591:6: note: ‘czhpr_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:2296:72: error: type of ‘czher2’ does not match original declaration [-Werror=lto-type-mismatch]
2296 | $ YY, INCY, AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:775:6: note: type mismatch in parameter 11
775 | void F77_zher2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_ZOMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:775:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:775:6: note: ‘czher2_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat2.f:2304:72: error: type of ‘czhpr2’ does not match original declaration [-Werror=lto-type-mismatch]
2304 | $ YY, INCY, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:666:6: note: type mismatch in parameter 10
666 | void F77_zhpr2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_ZOMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:666:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas2.c:666:6: note: ‘czhpr2_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[3/8] Linking Fortran executable bin/xdcblat2
FAILED: bin/xdcblat2
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xdcblat2.dir/c_dblat2.f.o CBLAS/testing/CMakeFiles/xdcblat2.dir/c_dblas2.c.o CBLAS/testing/CMakeFiles/xdcblat2.dir/c_d2chke.c.o CBLAS/testing/CMakeFiles/xdcblat2.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xdcblat2.dir/c_xerbla.c.o -o bin/xdcblat2 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:304:72: error: type of ‘cd2chke’ does not match original declaration [-Werror=lto-type-mismatch]
304 | CALL CD2CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_d2chke.c:27:6: note: type mismatch in parameter 2
27 | void F77_d2chke(char *rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_d2chke.c:27:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_d2chke.c:27:6: note: ‘cd2chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:655:72: error: type of ‘cdgemv’ does not match original declaration [-Werror=lto-type-mismatch]
655 | $ BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:11:6: note: type mismatch in parameter 13
11 | void F77_dgemv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n, double *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:11:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:11:6: note: ‘cdgemv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:665:72: error: type of ‘cdgbmv’ does not match original declaration [-Werror=lto-type-mismatch]
665 | $ INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:187:6: note: type mismatch in parameter 15
187 | void F77_dgbmv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n, CBLAS_INT *kl, CBLAS_INT *ku,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:187:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:187:6: note: ‘cdgbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:997:72: error: type of ‘cdsymv’ does not match original declaration [-Werror=lto-type-mismatch]
997 | $ LDA, XX, INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:115:6: note: type mismatch in parameter 12
115 | void F77_dsymv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha, double *a,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:115:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:115:6: note: ‘cdsymv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1007:101: error: type of ‘cdsbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1007 | $ INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:317:6: note: type mismatch in parameter 13
317 | void F77_dsbmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_INT *k, double *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:317:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:317:6: note: ‘cdsbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1015:72: error: type of ‘cdspmv’ does not match original declaration [-Werror=lto-type-mismatch]
1015 | $ XX, INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:362:6: note: type mismatch in parameter 11
362 | void F77_dspmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha, double *ap,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:362:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:362:6: note: ‘cdspmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1357:72: error: type of ‘cdtrmv’ does not match original declaration [-Werror=lto-type-mismatch]
1357 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:63:6: note: type mismatch in parameter 10
63 | void F77_dtrmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:63:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:63:6: note: ‘cdtrmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1365:72: error: type of ‘cdtbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1365 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:225:6: note: type mismatch in parameter 11
225 | void F77_dtbmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:225:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:225:6: note: ‘cdtbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1373:72: error: type of ‘cdtpmv’ does not match original declaration [-Werror=lto-type-mismatch]
1373 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:400:6: note: type mismatch in parameter 9
400 | void F77_dtpmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:400:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:400:6: note: ‘cdtpmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1383:72: error: type of ‘cdtrsv’ does not match original declaration [-Werror=lto-type-mismatch]
1383 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:91:6: note: type mismatch in parameter 10
91 | void F77_dtrsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:91:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:91:6: note: ‘cdtrsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1391:72: error: type of ‘cdtbsv’ does not match original declaration [-Werror=lto-type-mismatch]
1391 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:271:6: note: type mismatch in parameter 11
271 | void F77_dtbsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:271:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:271:6: note: ‘cdtbsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1399:72: error: type of ‘cdtpsv’ does not match original declaration [-Werror=lto-type-mismatch]
1399 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:440:6: note: type mismatch in parameter 9
440 | void F77_dtpsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:440:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:440:6: note: ‘cdtpsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1976:94: error: type of ‘cdsyr’ does not match original declaration [-Werror=lto-type-mismatch]
1976 | $ AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:139:6: note: type mismatch in parameter 9
139 | void F77_dsyr(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha, double *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:139:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:139:6: note: ‘cdsyr_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:1983:72: error: type of ‘cdspr’ does not match original declaration [-Werror=lto-type-mismatch]
1983 | CALL CDSPR( IORDER, UPLO, N, ALPHA, XX, INCX, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:481:6: note: type mismatch in parameter 8
481 | void F77_dspr(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha, double *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:481:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:481:6: note: ‘cdspr_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:2292:72: error: type of ‘cdsyr2’ does not match original declaration [-Werror=lto-type-mismatch]
2292 | $ YY, INCY, AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:163:6: note: type mismatch in parameter 11
163 | void F77_dsyr2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha, double *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:163:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:163:6: note: ‘cdsyr2_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat2.f:2300:72: error: type of ‘cdspr2’ does not match original declaration [-Werror=lto-type-mismatch]
2300 | $ YY, INCY, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:533:6: note: type mismatch in parameter 10
533 | void F77_dspr2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, double *alpha, double *x,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:533:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas2.c:533:6: note: ‘cdspr2_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[4/8] Linking Fortran executable bin/xccblat2
FAILED: bin/xccblat2
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xccblat2.dir/c_cblat2.f.o CBLAS/testing/CMakeFiles/xccblat2.dir/c_cblas2.c.o CBLAS/testing/CMakeFiles/xccblat2.dir/c_c2chke.c.o CBLAS/testing/CMakeFiles/xccblat2.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xccblat2.dir/c_xerbla.c.o -o bin/xccblat2 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:308:72: error: type of ‘cc2chke’ does not match original declaration [-Werror=lto-type-mismatch]
308 | CALL CC2CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_c2chke.c:27:6: note: type mismatch in parameter 2
27 | void F77_c2chke(char *rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_c2chke.c:27:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_c2chke.c:27:6: note: ‘cc2chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:664:72: error: type of ‘ccgemv’ does not match original declaration [-Werror=lto-type-mismatch]
664 | $ BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:11:6: note: type mismatch in parameter 13
11 | void F77_cgemv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:11:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:11:6: note: ‘ccgemv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:674:72: error: type of ‘ccgbmv’ does not match original declaration [-Werror=lto-type-mismatch]
674 | $ INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:41:6: note: type mismatch in parameter 15
41 | void F77_cgbmv(CBLAS_INT *layout, char *transp, CBLAS_INT *m, CBLAS_INT *n, CBLAS_INT *kl, CBLAS_INT *ku,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:41:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:41:6: note: ‘ccgbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1002:72: error: type of ‘cchemv’ does not match original declaration [-Werror=lto-type-mismatch]
1002 | $ INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:145:6: note: type mismatch in parameter 12
145 | void F77_chemv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_COMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:145:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:145:6: note: ‘cchemv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1012:72: error: type of ‘cchbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1012 | $ YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:175:6: note: type mismatch in parameter 13
175 | void F77_chbmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:175:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:175:6: note: ‘cchbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1020:72: error: type of ‘cchpmv’ does not match original declaration [-Werror=lto-type-mismatch]
1020 | $ XX, INCX, BETA, YY, INCY )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:239:6: note: type mismatch in parameter 11
239 | void F77_chpmv(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_COMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:239:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:239:6: note: ‘cchpmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1358:72: error: type of ‘cctrmv’ does not match original declaration [-Werror=lto-type-mismatch]
1358 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:532:6: note: type mismatch in parameter 10
532 | void F77_ctrmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:532:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:532:6: note: ‘cctrmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1366:72: error: type of ‘cctbmv’ does not match original declaration [-Werror=lto-type-mismatch]
1366 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:295:6: note: type mismatch in parameter 11
295 | void F77_ctbmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:295:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:295:6: note: ‘cctbmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1374:72: error: type of ‘cctpmv’ does not match original declaration [-Werror=lto-type-mismatch]
1374 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:422:6: note: type mismatch in parameter 9
422 | void F77_ctpmv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:422:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:422:6: note: ‘cctpmv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1384:72: error: type of ‘cctrsv’ does not match original declaration [-Werror=lto-type-mismatch]
1384 | $ N, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:561:6: note: type mismatch in parameter 10
561 | void F77_ctrsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:561:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:561:6: note: ‘cctrsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1392:72: error: type of ‘cctbsv’ does not match original declaration [-Werror=lto-type-mismatch]
1392 | $ N, K, AA, LDA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:358:6: note: type mismatch in parameter 11
358 | void F77_ctbsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:358:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:358:6: note: ‘cctbsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1400:72: error: type of ‘cctpsv’ does not match original declaration [-Werror=lto-type-mismatch]
1400 | $ N, AA, XX, INCX )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:477:6: note: type mismatch in parameter 9
477 | void F77_ctpsv(CBLAS_INT *layout, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:477:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:477:6: note: ‘cctpsv_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1978:72: error: type of ‘ccher’ does not match original declaration [-Werror=lto-type-mismatch]
1978 | $ INCX, AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:743:6: note: type mismatch in parameter 9
743 | void F77_cher(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:743:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:743:6: note: ‘ccher_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:1986:72: error: type of ‘cchpr’ does not match original declaration [-Werror=lto-type-mismatch]
1986 | $ XX, INCX, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:591:6: note: type mismatch in parameter 8
591 | void F77_chpr(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, float *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:591:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:591:6: note: ‘cchpr_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:2290:72: error: type of ‘ccher2’ does not match original declaration [-Werror=lto-type-mismatch]
2290 | $ YY, INCY, AA, LDA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:775:6: note: type mismatch in parameter 11
775 | void F77_cher2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_COMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:775:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:775:6: note: ‘ccher2_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat2.f:2298:72: error: type of ‘cchpr2’ does not match original declaration [-Werror=lto-type-mismatch]
2298 | $ YY, INCY, AA )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:666:6: note: type mismatch in parameter 10
666 | void F77_chpr2(CBLAS_INT *layout, char *uplow, CBLAS_INT *n, CBLAS_TEST_COMPLEX *alpha,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:666:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas2.c:666:6: note: ‘cchpr2_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[5/8] Linking Fortran executable bin/xscblat3
FAILED: bin/xscblat3
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xscblat3.dir/c_sblat3.f.o CBLAS/testing/CMakeFiles/xscblat3.dir/c_sblas3.c.o CBLAS/testing/CMakeFiles/xscblat3.dir/c_s3chke.c.o CBLAS/testing/CMakeFiles/xscblat3.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xscblat3.dir/c_xerbla.c.o -o bin/xscblat3 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:284:72: error: type of ‘cs3chke’ does not match original declaration [-Werror=lto-type-mismatch]
284 | CALL CS3CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_s3chke.c:27:6: note: type mismatch in parameter 2
27 | void F77_s3chke(char *rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_s3chke.c:27:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_s3chke.c:27:6: note: ‘cs3chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:591:72: error: type of ‘csgemm’ does not match original declaration [-Werror=lto-type-mismatch]
591 | $ BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:12:6: note: type mismatch in parameter 15
12 | void F77_sgemm(CBLAS_INT *layout, char *transpa, char *transpb, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:12:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:12:6: note: ‘csgemm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:904:72: error: type of ‘cssymm’ does not match original declaration [-Werror=lto-type-mismatch]
904 | $ AA, LDA, BB, LDB, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:73:6: note: type mismatch in parameter 14
73 | void F77_ssymm(CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:73:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:73:6: note: ‘cssymm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:1208:72: error: type of ‘cstrmm’ does not match original declaration [-Werror=lto-type-mismatch]
1208 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:230:6: note: type mismatch in parameter 13
230 | void F77_strmm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:230:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:230:6: note: ‘cstrmm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:1218:72: error: type of ‘cstrsm’ does not match original declaration [-Werror=lto-type-mismatch]
1218 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:281:6: note: type mismatch in parameter 13
281 | void F77_strsm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:281:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:281:6: note: ‘cstrsm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:1557:72: error: type of ‘cssyrk’ does not match original declaration [-Werror=lto-type-mismatch]
1557 | $ AA, LDA, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:127:6: note: type mismatch in parameter 12
127 | void F77_ssyrk(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:127:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:127:6: note: ‘cssyrk_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblat3.f:1895:72: error: type of ‘cssyr2k’ does not match original declaration [-Werror=lto-type-mismatch]
1895 | $ AA, LDA, BB, LDB, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:175:6: note: type mismatch in parameter 14
175 | void F77_ssyr2k(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:175:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_sblas3.c:175:6: note: ‘cssyr2k_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[6/8] Linking Fortran executable bin/xdcblat3
FAILED: bin/xdcblat3
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xdcblat3.dir/c_dblat3.f.o CBLAS/testing/CMakeFiles/xdcblat3.dir/c_dblas3.c.o CBLAS/testing/CMakeFiles/xdcblat3.dir/c_d3chke.c.o CBLAS/testing/CMakeFiles/xdcblat3.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xdcblat3.dir/c_xerbla.c.o -o bin/xdcblat3 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:285:72: error: type of ‘cd3chke’ does not match original declaration [-Werror=lto-type-mismatch]
285 | CALL CD3CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_d3chke.c:27:6: note: type mismatch in parameter 2
27 | void F77_d3chke(char *rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_d3chke.c:27:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_d3chke.c:27:6: note: ‘cd3chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:591:101: error: type of ‘cdgemm’ does not match original declaration [-Werror=lto-type-mismatch]
591 | $ BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:14:6: note: type mismatch in parameter 15
14 | void F77_dgemm(CBLAS_INT *layout, char *transpa, char *transpb, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:14:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:14:6: note: ‘cdgemm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:900:72: error: type of ‘cdsymm’ does not match original declaration [-Werror=lto-type-mismatch]
900 | $ AA, LDA, BB, LDB, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:76:6: note: type mismatch in parameter 14
76 | void F77_dsymm(CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:76:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:76:6: note: ‘cdsymm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:1204:101: error: type of ‘cdtrmm’ does not match original declaration [-Werror=lto-type-mismatch]
1204 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:233:6: note: type mismatch in parameter 13
233 | void F77_dtrmm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:233:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:233:6: note: ‘cdtrmm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:1214:101: error: type of ‘cdtrsm’ does not match original declaration [-Werror=lto-type-mismatch]
1214 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:284:6: note: type mismatch in parameter 13
284 | void F77_dtrsm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:284:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:284:6: note: ‘cdtrsm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:1552:72: error: type of ‘cdsyrk’ does not match original declaration [-Werror=lto-type-mismatch]
1552 | $ AA, LDA, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:130:6: note: type mismatch in parameter 12
130 | void F77_dsyrk(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:130:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:130:6: note: ‘cdsyrk_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblat3.f:1891:94: error: type of ‘cdsyr2k’ does not match original declaration [-Werror=lto-type-mismatch]
1891 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:178:6: note: type mismatch in parameter 14
178 | void F77_dsyr2k(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:178:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_dblas3.c:178:6: note: ‘cdsyr2k_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[7/8] Linking Fortran executable bin/xzcblat3
FAILED: bin/xzcblat3
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xzcblat3.dir/c_zblat3.f.o CBLAS/testing/CMakeFiles/xzcblat3.dir/c_zblas3.c.o CBLAS/testing/CMakeFiles/xzcblat3.dir/c_z3chke.c.o CBLAS/testing/CMakeFiles/xzcblat3.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xzcblat3.dir/c_xerbla.c.o -o bin/xzcblat3 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:291:72: error: type of ‘cz3chke’ does not match original declaration [-Werror=lto-type-mismatch]
291 | CALL CZ3CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_z3chke.c:27:7: note: type mismatch in parameter 2
27 | void F77_z3chke(char * rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_z3chke.c:27:7: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_z3chke.c:27:7: note: ‘cz3chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:605:72: error: type of ‘czgemm’ does not match original declaration [-Werror=lto-type-mismatch]
605 | $ BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:14:6: note: type mismatch in parameter 15
14 | void F77_zgemm(CBLAS_INT *layout, char *transpa, char *transpb, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:14:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:14:6: note: ‘czgemm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:922:72: error: type of ‘czhemm’ does not match original declaration [-Werror=lto-type-mismatch]
922 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:90:6: note: type mismatch in parameter 14
90 | void F77_zhemm(CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:90:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:90:6: note: ‘czhemm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:926:72: error: type of ‘czsymm’ does not match original declaration [-Werror=lto-type-mismatch]
926 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:154:6: note: type mismatch in parameter 14
154 | void F77_zsymm(CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:154:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:154:6: note: ‘czsymm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:1235:72: error: type of ‘cztrmm’ does not match original declaration [-Werror=lto-type-mismatch]
1235 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:448:6: note: type mismatch in parameter 13
448 | void F77_ztrmm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:448:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:448:6: note: ‘cztrmm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:1245:72: error: type of ‘cztrsm’ does not match original declaration [-Werror=lto-type-mismatch]
1245 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:507:6: note: type mismatch in parameter 13
507 | void F77_ztrsm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:507:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:507:6: note: ‘cztrsm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:1613:72: error: type of ‘czherk’ does not match original declaration [-Werror=lto-type-mismatch]
1613 | $ LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:209:6: note: type mismatch in parameter 12
209 | void F77_zherk(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:209:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:209:6: note: ‘czherk_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:1621:72: error: type of ‘czsyrk’ does not match original declaration [-Werror=lto-type-mismatch]
1621 | $ ALPHA, AA, LDA, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:265:6: note: type mismatch in parameter 12
265 | void F77_zsyrk(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:265:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:265:6: note: ‘czsyrk_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:2036:72: error: type of ‘czher2k’ does not match original declaration [-Werror=lto-type-mismatch]
2036 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:320:6: note: type mismatch in parameter 14
320 | void F77_zher2k(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:320:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:320:6: note: ‘czher2k_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblat3.f:2046:72: error: type of ‘czsyr2k’ does not match original declaration [-Werror=lto-type-mismatch]
2046 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:384:6: note: type mismatch in parameter 14
384 | void F77_zsyr2k(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:384:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_zblas3.c:384:6: note: ‘czsyr2k_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
[8/8] Linking Fortran executable bin/xccblat3
FAILED: bin/xccblat3
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -Wl,-O1 -Wl,--as-needed -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -Wl,--defsym=__gentoo_check_ldflags__=0 -march=native -fstack-protector-all -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-clash-protection -flto=4 -Werror=odr -Werror=lto-type-mismatch -Werror=strict-aliasing -frecursive CBLAS/testing/CMakeFiles/xccblat3.dir/c_cblat3.f.o CBLAS/testing/CMakeFiles/xccblat3.dir/c_cblas3.c.o CBLAS/testing/CMakeFiles/xccblat3.dir/c_c3chke.c.o CBLAS/testing/CMakeFiles/xccblat3.dir/auxiliary.c.o CBLAS/testing/CMakeFiles/xccblat3.dir/c_xerbla.c.o -o bin/xccblat3 -Wl,-rpath,/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0_build/lib lib/libcblas.so.3.12.0 lib/libblas.so.3.12.0 && :
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:290:72: error: type of ‘cc3chke’ does not match original declaration [-Werror=lto-type-mismatch]
290 | CALL CC3CHKE( SNAMES( ISNUM ) )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_c3chke.c:27:7: note: type mismatch in parameter 2
27 | void F77_c3chke(char * rout) {
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_c3chke.c:27:7: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_c3chke.c:27:7: note: ‘cc3chke_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:604:72: error: type of ‘ccgemm’ does not match original declaration [-Werror=lto-type-mismatch]
604 | $ BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:14:6: note: type mismatch in parameter 15
14 | void F77_cgemm(CBLAS_INT *layout, char *transpa, char *transpb, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:14:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:14:6: note: ‘ccgemm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:921:72: error: type of ‘cchemm’ does not match original declaration [-Werror=lto-type-mismatch]
921 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:90:6: note: type mismatch in parameter 14
90 | void F77_chemm(CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:90:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:90:6: note: ‘cchemm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:925:72: error: type of ‘ccsymm’ does not match original declaration [-Werror=lto-type-mismatch]
925 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:154:6: note: type mismatch in parameter 14
154 | void F77_csymm(CBLAS_INT *layout, char *rtlf, char *uplow, CBLAS_INT *m, CBLAS_INT *n,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:154:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:154:6: note: ‘ccsymm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:1234:72: error: type of ‘cctrmm’ does not match original declaration [-Werror=lto-type-mismatch]
1234 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:448:6: note: type mismatch in parameter 13
448 | void F77_ctrmm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:448:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:448:6: note: ‘cctrmm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:1244:72: error: type of ‘cctrsm’ does not match original declaration [-Werror=lto-type-mismatch]
1244 | $ BB, LDB )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:507:6: note: type mismatch in parameter 13
507 | void F77_ctrsm(CBLAS_INT *layout, char *rtlf, char *uplow, char *transp, char *diagn,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:507:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:507:6: note: ‘cctrsm_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:1612:72: error: type of ‘ccherk’ does not match original declaration [-Werror=lto-type-mismatch]
1612 | $ LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:209:6: note: type mismatch in parameter 12
209 | void F77_cherk(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:209:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:209:6: note: ‘ccherk_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:1620:72: error: type of ‘ccsyrk’ does not match original declaration [-Werror=lto-type-mismatch]
1620 | $ ALPHA, AA, LDA, BETA, CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:265:6: note: type mismatch in parameter 12
265 | void F77_csyrk(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:265:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:265:6: note: ‘ccsyrk_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:2035:72: error: type of ‘ccher2k’ does not match original declaration [-Werror=lto-type-mismatch]
2035 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:320:6: note: type mismatch in parameter 14
320 | void F77_cher2k(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:320:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:320:6: note: ‘ccher2k_’ was previously declared here
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblat3.f:2045:72: error: type of ‘ccsyr2k’ does not match original declaration [-Werror=lto-type-mismatch]
2045 | $ CC, LDC )
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:384:6: note: type mismatch in parameter 14
384 | void F77_csyr2k(CBLAS_INT *layout, char *uplow, char *transp, CBLAS_INT *n, CBLAS_INT *k,
| ^
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:384:6: note: type ‘void’ should match type ‘long int’
/var/tmp/portage/sci-libs/lapack-3.12.0-r1/work/lapack-3.12.0/CBLAS/testing/c_cblas3.c:384:6: note: ‘ccsyr2k_’ was previously declared here
lto1: some warnings being treated as errors
lto-wrapper: fatal error: /usr/bin/x86_64-pc-linux-gnu-gfortran returned 1 exit status
compilation terminated.
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: error: lto-wrapper failed
collect2: error: ld returned 1 exit status
ninja: build stopped: cannot make progress due to previous errors.
from lapack.
#334 is related
from lapack.
Related Issues (20)
- Overwriting `CMAKE_INSTALL_RPATH` in CMakeLists.txt HOT 1
- vectorization of lapack routines. HOT 7
- Allow installing binaries to subdirectory while keeping CMake package scripts in the same place HOT 1
- xORMQR and xLARFB discrepancy with documentation HOT 17
- ?hbmv and ?hpmv and the documentation notes seem to be inconsistent
- lapack_sgeev routine not going to all routines shown in the call graph while debugging. HOT 17
- poor accuracy with dsterf
- in-place (scaled) matrix transposition: imatcopy HOT 6
- xGETC2 order of loops in finding max element of submatrix HOT 3
- Uninitialized variables in BLAS test HOT 4
- Less accuracy due to FMAs HOT 8
- cblas_dgbmv: Result of row-major is not consistent to column-major HOT 6
- Should we allow C++? HOT 5
- Xerbla_array, Xerbla and lsame in BLAS or LAPACK? HOT 1
- LAPACK master does not compile with CMake 3.9
- Highly scale-dependent efficiency of ZHEEVR and DSYEVR HOT 3
- BDSQR workspace does not take into account fallback into LASQ1 HOT 1
- *syevr eigenvalues depend on whether eigenvectors are computed or not HOT 11
- xSTEMR: are zero eigenvalues sufficiently accurate?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lapack.