Fix FTBFS on mips64el with GCC 14
authorDebian Science Team <debian-science-maintainers@lists.alioth.debian.org>
Tue, 13 Aug 2024 20:05:18 +0000 (22:05 +0200)
committerSébastien Villemot <sebastien@debian.org>
Tue, 13 Aug 2024 20:05:18 +0000 (22:05 +0200)
Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/pull/4864
Bug: https://github.com/OpenMathLib/OpenBLAS/issues/4862
Reviewed-by: Sébastien Villemot <sebastien@debian.org>
Last-Update: 2024-08-13

Last-Update: 2024-08-13
Gbp-Pq: Name gcc14-mips64el.patch

lapack/potrf/potrf_L_parallel.c
lapack/potrf/potrf_U_parallel.c

index 7d6bcd7764918fd003a46c74f1384a4c9926dec3..6a2e4d430378e01b2729e5b8a345179031072795 100644 (file)
@@ -121,7 +121,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
       HERK_THREAD_LN(&newarg, NULL, NULL, sa, sb, 0);
 #else
       syrk_thread(mode | BLAS_TRANSA_N | BLAS_TRANSB_T | BLAS_UPLO,
-                 &newarg, NULL, NULL, (int (*)(void))HERK_LN, sa, sb, args -> nthreads);
+                 &newarg, NULL, NULL, (int (*)(blas_arg_t *, BLASLONG *, BLASLONG *, FLOAT *, FLOAT *, BLASLONG))HERK_LN, sa, sb, args -> nthreads);
 #endif
     }
   }
index 1f1427276b581ecb5f91ceb68bbaf0b0c9f4f9dd..de7d33374282f0339c4367aba56971923aa1bc5b 100644 (file)
@@ -121,7 +121,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
       HERK_THREAD_UC(&newarg, NULL, NULL, sa, sb, 0);
 #else
       syrk_thread(mode | BLAS_TRANSA_N | BLAS_TRANSB_T,
-                 &newarg, NULL, NULL, (int (*)(void))HERK_UC, sa, sb, args -> nthreads);
+                 &newarg, NULL, NULL, (int (*)(blas_arg_t *, BLASLONG *, BLASLONG *, FLOAT *, FLOAT *, BLASLONG))HERK_UC, sa, sb, args -> nthreads);
 #endif
     }
   }