El 5/10/24 a las 10:58, Bill Allombert escribió:
On a c7a.large instance (EPYC 4th generation), the first one exits with
exit status 0, but then: "mlucas -s m" segfaults, and creates a core
which I've just put here in case it helps:

https://people.debian.org/~sanvila/build-logs/mlucas/core.gz

(gdb says "Core was generated by `/usr/libexec/mlucas/mlucas-avx512 -s m'")

(Beware: It's 956 MB big when uncompressed).

I get a 403 error, I suppose you need to use chmod.

Oops! Sorry, yes, I've fixed the wrong permissions now.

[...]
Before I do that, could you check that
/usr/libexec/mlucas/mlucas-avx2
actually pass the test-suite on epyc 4, just to be sure ?

Yes, I confirm that the package builds ok (including the tests)
when I apply the attached patch.

Thanks.
--- a/scripts/mlucas.in
+++ b/scripts/mlucas.in
@@ -62,13 +62,7 @@
         ;;
 
     x86_64)
-        if test -x "$DIRNAME/mlucas-avx512" && \
-                "$DIRNAME/mlucas-avx512" \
-                    -fftlen 192 -iters 100 -radset 0 \
-                    >/dev/null 2>&1
-        then
-            exec "$DIRNAME/mlucas-avx512" "$@"
-        elif test -x "$DIRNAME/mlucas-avx2" && \
+        if test -x "$DIRNAME/mlucas-avx2" && \
                 "$DIRNAME/mlucas-avx2" \
                     -fftlen 192 -iters 100 -radset 0 \
                     >/dev/null 2>&1

Reply via email to