commit:     be92e16589bd77497dfa960afd29afdebc85f58c
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 18 23:44:19 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Wed Dec 18 23:49:03 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be92e165

sci-mathematics/flint: pass --disable-assembly to ./configure

This is an attempt to fix bug 946501 without the hardware. The undefined
symbols are guarded by the preprocessor macro FLINT_HAVE_ADX that is
related to the --enable-assembly flag, and the CPU detection is new in
-r2 (cmake doesn't do it), so it is a prime suspect.

Closes: https://bugs.gentoo.org/946501
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../flint/{flint-3.1.3_p1-r2.ebuild => flint-3.1.3_p1-r3.ebuild}        | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-mathematics/flint/flint-3.1.3_p1-r2.ebuild 
b/sci-mathematics/flint/flint-3.1.3_p1-r3.ebuild
similarity index 97%
rename from sci-mathematics/flint/flint-3.1.3_p1-r2.ebuild
rename to sci-mathematics/flint/flint-3.1.3_p1-r3.ebuild
index 841de4da69e3..0766a2300847 100644
--- a/sci-mathematics/flint/flint-3.1.3_p1-r2.ebuild
+++ b/sci-mathematics/flint/flint-3.1.3_p1-r3.ebuild
@@ -70,11 +70,13 @@ src_configure() {
 
        # ABI needs to be unset because flint uses it internally for
        # an incompatible purpose.
+       # --disable-assembly in an attempt to fix bug 946501
        # --enable-debug just adds -g to your CFLAGS
        # --enable-avx2 and --enable-avx512 just add "-mfoo" to CFLAGS
        # --enable-gc affects thread-safety
        local myeconfargs=(
                ABI=""
+               --disable-assembly
                --disable-debug
                --with-blas
                --with-gmp

Reply via email to