From: Debian Science Team Date: Sun, 14 Sep 2025 09:34:16 +0000 (+0200) Subject: Fix FTBFS on ppc64el with gcc-15 X-Git-Tag: archive/raspbian/0.3.30+ds-3+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=343e0d2a1ff3e101967cf94e686a9f3ea188f6a9;p=openblas.git Fix FTBFS on ppc64el with gcc-15 Origin: upstream, https://github.com/OpenMathLib/OpenBLAS/pull/5409/commits/a3b9c933c59809027937c7708e1d996988c112f2 Bug: https://github.com/OpenMathLib/OpenBLAS/issues/5372 Bug-Debian: https://bugs.debian.org/1114016 Reviewed-by: Sébastien Villemot Last-Update: 2025-09-14 The test failures are caused by incorrect clobber rules in asm inline statements. This patch is only a temporary workaround until a permanent fix is found. Last-Update: 2025-09-14 Gbp-Pq: Name ppc64el-gcc-15.patch --- diff --git a/kernel/power/dgemv_n.c b/kernel/power/dgemv_n.c index ac365b3..303d960 100644 --- a/kernel/power/dgemv_n.c +++ b/kernel/power/dgemv_n.c @@ -147,7 +147,7 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha, FLOAT *a, BLASLO BLASLONG m3; BLASLONG n2; BLASLONG lda4 = lda << 2; - FLOAT xbuffer[8] __attribute__ ((aligned (16))); + volatile FLOAT xbuffer[8] __attribute__ ((aligned (16))); FLOAT *ybuffer; if ( m < 1 ) return(0);