Control: tags -1 + fixed-upstream patch The bug was fixed upstream in the linked issue. Can we apply the attached upstream patch?
Best, Tobias On Fri, 18 Sep 2020 18:09:01 +0200 Tobias Hansen <than...@debian.org> wrote: > Package: libopenblas0 > Version: 0.3.10+ds-3 > Severity: normal > > Hi, > > a sagemath test segfaulted in libopenblas.so.0 / zgemm_oncopy_EMAG8180 when > building on arm-ubc-01.debian.org, > see > https://buildd.debian.org/status/fetch.php?pkg=sagemath&arch=arm64&ver=9.2%7Ebeta12-1&stamp=1599922222&raw=0 > > openblas was called by numpy and the issue looks similar to #966175 where the > segfault occurred in dgemm_oncopy_HASWELL. > > Extract from the stack backtrace: > > #5 0x0000ffffab2fe3b0 in zgemm_oncopy_EMAG8180 () from > /usr/lib/aarch64-linux-gnu/libopenblas.so.0 > #6 0x0000ffffaaac8430 in zgetrf_single () from > /usr/lib/aarch64-linux-gnu/libopenblas.so.0 > #7 0x0000ffffaa064f3c in zgesv_ () from > /usr/lib/aarch64-linux-gnu/liblapack.so.3 > #8 0x0000ffffaa00f330 in ?? () from > /usr/lib/python3/dist-packages/numpy/linalg/_umath_linalg.cpython-38-aarch64-linux-gnu.so > > Best, > Tobias > > >
>From 7f26be4802042d7c54bd1645c54adc3e2ff72d50 Mon Sep 17 00:00:00 2001 From: Martin Kroeker <mar...@ruby.chemie.uni-freiburg.de> Date: Sun, 1 Nov 2020 00:00:43 +0100 Subject: [PATCH] Reunify BUFFERSIZE across arm64 platforms to avoid segfaults in DYNAMIC_ARCH --- common_arm64.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common_arm64.h b/common_arm64.h index 314946282..9cdded305 100644 --- a/common_arm64.h +++ b/common_arm64.h @@ -142,14 +142,8 @@ static inline int blas_quickdivide(blasint x, blasint y){ #define HUGE_PAGESIZE ( 4 << 20) #ifndef BUFFERSIZE -#if defined(CORTEXA57) -#define BUFFER_SIZE (20 << 20) -#elif defined(TSV110) || defined(EMAG8180) #define BUFFER_SIZE (32 << 20) #else -#define BUFFER_SIZE (16 << 20) -#endif -#else #define BUFFER_SIZE (32 << BUFFERSIZE) #endif