From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 11:39:57 2025 Received: (at submit) by debbugs.gnu.org; 9 May 2025 15:39:57 +0000 Received: from localhost ([127.0.0.1]:38574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDPpN-0002zV-2k for submit@debbugs.gnu.org; Fri, 09 May 2025 11:39:57 -0400 Received: from lists.gnu.org ([2001:470:142::17]:52368) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDPpK-0002zD-KA for submit@debbugs.gnu.org; Fri, 09 May 2025 11:39:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uDPpE-0006aU-Gp for guix-patches@gnu.org; Fri, 09 May 2025 11:39:48 -0400 Received: from mail-qv1-xf32.google.com ([2607:f8b0:4864:20::f32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uDPpB-0001IR-J6 for guix-patches@gnu.org; Fri, 09 May 2025 11:39:46 -0400 Received: by mail-qv1-xf32.google.com with SMTP id 6a1803df08f44-6ecfbf8fa76so30819296d6.0 for ; Fri, 09 May 2025 08:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1746805184; x=1747409984; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=hDDY5aisvlvT6+ydJGiKnpA7k+ye6g9UnpiEyoagsic=; b=R2H33GGd9uc3q/ba7gF+zI0LnGHgBx5tqCZm0SxcimNMLn7liG7F8z4DegeoEARxCZ cXS6isa0zh44Sd8oRbwE6arV3TL8Wi8S9ZvWQ0QEGLZUjab7ZcCMVvBRTHrAbA8Ru1f0 1FyGfuKw7YOIyFCCkSVHEvfL3LJPNld0p4RtVd7Ux51vhSuvUaRLV38eO+cbIQpHwFIz iiw/hQ2lO+vQA1bgCS8Dr2a9/cxE3oK/4NYJpVoGYkUeH31LRPY1BUQPiIxly/P5UHbt e4ga3xbWwBKAuK1il7P8cy7LvCbJ3fVgnYK2fEBZj1sEerLtvOX51P3zOW58n8Kj3WIL qpLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746805184; x=1747409984; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=hDDY5aisvlvT6+ydJGiKnpA7k+ye6g9UnpiEyoagsic=; b=wuKSj0pigxHMvy71j8g3D9L9JKW5o7wzS/ZZc1TI4IRk2bqUAlS291hwvlYyC3Mhis KO99NO77mlBjt3Uux1MGompbt2RNs7/TYjaE85cbGCbZWj/8m5TfBuxXGvltTIZ3iP/4 JvNYquw9+jwjmZXt8IBOx8CoW1GdHyste03errQWe4garE+5ybBeZPXomBtpqy3aedbO nRzy99SnabGjKdUMlMtx2CXJrekFtnxJCUKZj2Jq0rdP+CZSPSrecAFecZl24sxI14gd RrM+AuH4vEpMEzxQykLWbT8xe3M+sdKxSQ+CYKB/HY4dPWuJ4KisDTo31vidW9EUWQWK ZepQ== X-Gm-Message-State: AOJu0YxX+kABODtXU3X4Htk3R2Ps6fnuPk7b90zIA3yqUf3PEVbplzj7 4kiOSHqWCCt09idXyyN1dywcFGPQGmveaXNQ5JN/WWTAc7yx7ttJ81iI3NnLSX957+PTzpWPhew 4 X-Gm-Gg: ASbGncvMRhHHeFOwcgJimfwjmPrCqXn+SHU+PCfSqTePI21razAA04oKI/JMzlLurp+ JgKSgT20z43FLT/yo48csxoXjIdBwyfvH8BhiGVnaZ9E4jGK+9Rx8d+hI2j/Fd66tAR8qToxsPZ sIRbw18PKwi/Brf87CFyZA1X1W5I/WG2ahyIQJL3DBKbdtdBYHy6RpmA6CZ/ouKyo5WNrFybTgX rcX/rnYkWIaJphb2OQLsRjBl45yhgvXJhkDDs18blJ5k4xcVI448hkT0FSRouGhlRO1kJtQB5IB gH5JOBEd+Rxk8OCjHl/NwOYKhCqu+fH5JH03zhCtREFXtI6SRrMPtq5Wfkvk1ZeeByoIUoqDF2j 4uQZDy4zvZmNJvlvi7GDNLalHOsHxIlblHf/JurKJ X-Google-Smtp-Source: AGHT+IGfktCw9zHj08rIHuIaNS5nr1T88QQ+2v1jdG5mQ3US1/4gpdx2M1Fh3+Ll1z+GSD/P8bnrnQ== X-Received: by 2002:ad4:5ae1:0:b0:6d1:7433:3670 with SMTP id 6a1803df08f44-6f6e4795a3dmr48968626d6.4.1746805173485; Fri, 09 May 2025 08:39:33 -0700 (PDT) Received: from ip-10-117-149-49.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6f6e3a4729bsm14826506d6.70.2025.05.09.08.39.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 May 2025 08:39:33 -0700 (PDT) From: Greg Hogan To: guix-patches@gnu.org Subject: [PATCH science-team 0/1] Update flint. Date: Fri, 9 May 2025 15:39:18 +0000 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2607:f8b0:4864:20::f32; envelope-from=code@greghogan.com; helo=mail-qv1-xf32.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: submit Cc: Greg Hogan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Our current version, flint 3.1.2, fails for me with: CC fft_small/mpn_mul.c In file included from src/fft_small/mpn_mul.c:17: src/fft_small/mpn_mul.c: In function ‘_mpn_from_ffts_8’: ./src/crt_helpers.h:120:3: error: ‘asm’ operand has impossible constraints 120 | __asm__ ("addq %23,%q7\nadcq %21,%q6\nadcq %19,%q5\n\tadcq %17,%q4\n\tadcq %15,%q3\n\tadcq %13,%q2\n\tadcq %11,%q1\n\tadcq %9,%q0" \ | ^~~~~~~ ./src/crt_helpers.h:378:5: note: in expansion of macro ‘add_ssssssssaaaaaaaaaaaaaaaa’ 378 | add_ssssssssaaaaaaaaaaaaaaaa(z[7],z[6],z[5],z[4],z[3],z[2],z[1],z[0], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./src/crt_helpers.h:120:3: error: ‘asm’ operand has impossible constraints 120 | __asm__ ("addq %23,%q7\nadcq %21,%q6\nadcq %19,%q5\n\tadcq %17,%q4\n\tadcq %15,%q3\n\tadcq %13,%q2\n\tadcq %11,%q1\n\tadcq %9,%q0" \ | ^~~~~~~ ./src/crt_helpers.h:378:5: note: in expansion of macro ‘add_ssssssssaaaaaaaaaaaaaaaa’ 378 | add_ssssssssaaaaaaaaaaaaaaaa(z[7],z[6],z[5],z[4],z[3],z[2],z[1],z[0], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:616: build/fft_small/mpn_mul.lo] Error 1 error: in phase 'build': uncaught exception: %exception #<&invoke-error program: "make" arguments: ("-j" "1") exit-status: 2 term-signal: #f stop-signal: #f> phase `build' failed after 260.7 seconds command "make" "-j" "1" failed with status 2 build process 18 exited with status 256 Greg Hogan (1): gnu: flint: Update to 3.2.1. gnu/packages/algebra.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) base-commit: c3b6b57521404d223ae37d3dd91f7bb60ed0cebc -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 11:40:51 2025 Received: (at 78334) by debbugs.gnu.org; 9 May 2025 15:40:51 +0000 Received: from localhost ([127.0.0.1]:38586 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDPqF-000381-2b for submit@debbugs.gnu.org; Fri, 09 May 2025 11:40:51 -0400 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]:54363) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uDPqD-00037Q-3x for 78334@debbugs.gnu.org; Fri, 09 May 2025 11:40:49 -0400 Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-4774d68c670so37513241cf.0 for <78334@debbugs.gnu.org>; Fri, 09 May 2025 08:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1746805243; x=1747410043; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=sPAWfDSkzhlRPWusNUyMT/i4lKKscRAQbW6qhE/Vq1U=; b=cByqSjzTcgnmiCs1SHXEH3LyDIDL728NaXeBaPMAvicd8y3XEtPMYItn+uK/g0CNp+ 5nQoehkjVvUnrbHd2SJGzu47VlLaOifbd+4AN//QzaSmbA/uMiA3f0eOPNQbwdVsrOP9 oGXtiC7slDxO/Pk1A5okMpJgD55ssinL8vXD/LeZ0SBOwOTU6Tblzuqw9SYdfK8RH1wD 9LKxFPvCpoYf9Jl2xBBa1pPi50IADL/+h/FqEhaD272DT6gLbtkMBJf4/RQfy5GyXk9B 3/xf8uKkvb0cWFLrJ0DtEqPkdyoPrfDV1TZJY+ggaA/1RRAvQkYZNcxr6F2/b02+WREw KXxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746805243; x=1747410043; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sPAWfDSkzhlRPWusNUyMT/i4lKKscRAQbW6qhE/Vq1U=; b=FRvzNcQ7A7rcyiIdtquiy+HUxIGI/ksPkHJlMPxe3kIlBCPNOybPYE6C4WM2H23o5O Xh2hJmlDi9At4NGyZ8b51cZJM7ih2vIbXiGSR++d/0bH2jv/bf8CLBZ5ZxqQZU8n/DQv DWzjVh1intc/idYWH7qD6q7hrwesaAP6Hu64aQvwXoDlsckFWbExIorgo6cv1nAO4nRo wf4qXPQCDBpGpF9bssPqi2/aIB+oMoKS8oCY4bdMh03KckzXHsfbpf/30E9uGmRl/sRG YfpbLE5x18cMbdXAskIXcn0VuJWFLwNFc4slr/SaxtaOTMRV+D6TwNTh0nS7aQrRP48e paog== X-Gm-Message-State: AOJu0Ywi7FV5udeiVik853UgL1HyZEjO5MI8MJ7vm6Bf/efHWoq0b8me LzRfDYXvPqF8yGb2rBDy2W+b0yJKXEoTA6QYPhDEyokXmzDrwMg4FBkssu9MFKdonmN+kQypQR8 U X-Gm-Gg: ASbGncvF1vCN1lwRwSbNXXio5QiKImYrjKWRQGKaFlEHKgq/JRZG3iO9EO+xK6cGopB NP1j27TWBGdyecfIRuhynZcS7tBGHa3bk8MCq14Gkdu2UmHI8/Ga44FcbkZQK4ywrkTHK6y4/aB I4lqZDj+3En+mpS9jxQ7Er2iAo/+kcWeukpVNT9y7B195ydPAUFFYOLnkW1J1RKZCTyLN1qm74P Csoe5g3WhCvPvG2Bo4rnKSKA1/Ycr2GV5SyV1lqJ9xKO6j+ay6zYW0s3vH6Q+tvZ7kaGWjRmw0R MgiewZmZrKbrzSQwyWc0C7WjaxI+Nk5yyLvxyWM+bXkRdLJe5tId9v4FBOP1pP4GQb85wK/EiXA Adyx5kBBdrUJdeVcBDF9KWKPpCf8FCbZV58YfimB6 X-Google-Smtp-Source: AGHT+IHu9AWqAAgruwxWcZtRtJ1DbXwIrJlpNpdxyCTzEjiSJgEZpNegVenwKmxXsZf4NDQkZgZJHQ== X-Received: by 2002:ac8:590e:0:b0:48c:56ae:1c89 with SMTP id d75a77b69052e-49452706894mr58413841cf.2.1746805242672; Fri, 09 May 2025 08:40:42 -0700 (PDT) Received: from ip-10-117-149-49.evoforge.org (ec2-52-70-167-183.compute-1.amazonaws.com. [52.70.167.183]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-4945246d1c8sm14008571cf.6.2025.05.09.08.40.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 May 2025 08:40:42 -0700 (PDT) From: Greg Hogan To: 78334@debbugs.gnu.org Subject: [PATCH science-team 1/1] gnu: flint: Update to 3.2.1. Date: Fri, 9 May 2025 15:40:31 +0000 Message-ID: <87925a273c2da0496372055cbd1732fb6dcb698f.1746805010.git.code@greghogan.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 X-Debbugs-Cc: Andreas Enge , Eric Bavier , Sharlatan Hellseher Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78334 Cc: Greg Hogan X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/algebra.scm (flint): Update to 3.2.1. [source]: Update uri path. Change-Id: I51adce1405811adf0aec48f75ca10cb9ecb03296 --- gnu/packages/algebra.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index f928e7943c..ab2ec5e327 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm @@ -485,13 +485,13 @@ (define-public giac (define-public flint (package (name "flint") - (version "3.1.2") + (version "3.2.1") (source (origin (method url-fetch) - (uri (string-append "https://flintlib.org/flint-" version ".tar.gz")) + (uri (string-append "https://flintlib.org/download/flint-" version ".tar.gz")) (sha256 - (base32 "0017bjncpx4kdx67qcnm3nahz3gyyi2w3ggkrx586r3llcqs9czx")))) + (base32 "0gyjbkhwrmx2vgb1gailnmmzacl4aikzgi70dzmpf8lpfxny8yya")))) (build-system gnu-build-system) (inputs (list ntl)) -- 2.49.0 From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 11:53:10 2025 Received: (at 78334) by debbugs.gnu.org; 9 May 2025 15:53:10 +0000 Received: from localhost ([127.0.0.1]:38652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDQ2A-0003nn-85 for submit@debbugs.gnu.org; Fri, 09 May 2025 11:53:10 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:50414) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uDQ26-0003nC-2t for 78334@debbugs.gnu.org; Fri, 09 May 2025 11:53:07 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 70F832C9; Fri, 9 May 2025 17:52:58 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id hPNaqYPycTZ0; Fri, 9 May 2025 17:52:57 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 42E722D7; Fri, 9 May 2025 17:52:56 +0200 (CEST) Date: Fri, 9 May 2025 17:52:54 +0200 From: Andreas Enge To: Greg Hogan Subject: Re: [bug#78334] [PATCH science-team 0/1] Update flint. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Rspamd-Queue-Id: 70F832C9 X-Spamd-Result: default: False [5.40 / 15.00]; SPAM_FLAG(5.00)[]; NEURAL_SPAM(3.00)[1.000]; BAYES_HAM(-3.00)[99.99%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Spamd-Bar: +++++ X-Rspamd-Action: greylist X-Rspamd-Server: hera X-Spam-Level: ***** X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78334 Cc: Sharlatan Hellseher , 78334@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Am Fri, May 09, 2025 at 03:39:18PM +0000 schrieb Greg Hogan: > Our current version, flint 3.1.2, fails for me with: > CC fft_small/mpn_mul.c > In file included from src/fft_small/mpn_mul.c:17: > src/fft_small/mpn_mul.c: In function ‘_mpn_from_ffts_8’: > ./src/crt_helpers.h:120:3: error: ‘asm’ operand has impossible constraints > 120 | __asm__ ("addq %23,%q7\nadcq %21,%q6\nadcq %19,%q5\n\tadcq %17,%q4\n\tadcq %15,%q3\n\tadcq %13,%q2\n\tadcq %11,%q1\n\tadcq %9,%q0" \ we can update flint, but this message may indicate a different problem, which surprises me. Flint includes assembly code, but does not use fat binaries such as gmp. So it is possible that assembly code chosen on the build machine (avx or whatever) is not executable on the machine where you run your own code linked to flint. But we build the package with #:configure-flags '("--disable-assembly") so the problem should not occur. Maybe it is indeed a bug in the version we currently package. Andreas From debbugs-submit-bounces@debbugs.gnu.org Fri May 09 11:56:17 2025 Received: (at 78334) by debbugs.gnu.org; 9 May 2025 15:56:17 +0000 Received: from localhost ([127.0.0.1]:38679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uDQ5A-00041l-U9 for submit@debbugs.gnu.org; Fri, 09 May 2025 11:56:17 -0400 Received: from mail-ot1-x32f.google.com ([2607:f8b0:4864:20::32f]:53606) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1uDQ59-00041K-5z for 78334@debbugs.gnu.org; Fri, 09 May 2025 11:56:15 -0400 Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-72c14235af3so1423065a34.3 for <78334@debbugs.gnu.org>; Fri, 09 May 2025 08:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=greghogan-com.20230601.gappssmtp.com; s=20230601; t=1746806169; x=1747410969; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NEF5FVueBt4VY7rxr1oa197t8YZsvB/PvjUQb/nm5Zg=; b=0RWCofP+Q+aJ06+vtftt/OQ6D008J5CNwJTRNyzu0Hy76OkbeefxBud4pGjqa5SBqg WsGTAdCQHZoaDxCvHsAvnRrLEMeh6f7JXnu28FpxjfKSyiJsIElX62sECrQJFU97qjxg 6iorkXHs9/nLhYgbrTjPOu3jrUmvZgZAkxCu1TqcZLI4m1e7LCpi9lRJYksOF5HnN2wC 76pKVDGcEOe6d++adhU9gy+yFQyWkWAAFCPSQ5plGKB7Ok8AsPAvm4UT+hVMDgLAhB8g +NE54jx+Bv43SL3O83rTaY4qIHc8G6RgsWcy4LALDqZcnfcahV70vaK49A0l8QeCeuwD NRNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746806169; x=1747410969; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NEF5FVueBt4VY7rxr1oa197t8YZsvB/PvjUQb/nm5Zg=; b=BRRWR4n7pgg7jkjA2blZM4haFcwcfBzdKBxincsxouDY/lLDWWRogZKKbDdaxjmgq5 ZOroi6bqaytisk7/xXg8jKRAFyjM73eyWI6e1Dot74G4jlJ98V4MNgX6+lXA69hpcvyo Bmu6kFvtTmcPjntPoC/G5d8+ptXK/lx359BDG7QY1hy4/yscO8rkdloaH15FJvcY8tfd daTTI4WsxXI6Z0qXVbQyqxM0u2Zwo4vz2Mut8+TXdluGDJX1Mcytzk8RxtF+RW/PQ84h f2tDym4iFiVP8913mHdEb+lE2troTtQGj80KhTOtyvCGrrRLOc1eLkFVxtI+J9wYBkh9 VM0g== X-Gm-Message-State: AOJu0YwmIzWjH6GCCE63opDdbOy+J6uv+K3g+YJZpfCqNU/HmDaI448e eq93ZvwyuEhcwZMW/4YgwOOdX9gJmpoe4cksuKX7bZBwoUu4pydxanmNaBiXDrjYJzpVw2muqgk hoAjEPdejb/TVX/U7nNQjp8aXBkIMQDwqPhpaTg== X-Gm-Gg: ASbGncsOsDl6x++VEWd1aEkxIV/gEPvBHkJH8FNa894Otx7T0t8N2VDXz+zf1Ygp44H ZhXJ6ihYXnIWHVTeKNC/SOgJ/NjC74TqVhfOMqoA+BPOSnYJm4W6pcmiFIG1L5O7kjXshh7KVdP dS8QFA3By5Zf9J4DuWKvQFiA== X-Google-Smtp-Source: AGHT+IHNmbPcnR7N9DZDxqPiwtbBbjj0a/JX1E42kBrMRcwJGluTD1OAZtm5K9C6avF72xjm9c4uAE3bkOU+pccMCo4= X-Received: by 2002:a05:6830:398d:b0:727:24c6:87e7 with SMTP id 46e09a7af769-73226afb4ebmr2786776a34.19.1746806169266; Fri, 09 May 2025 08:56:09 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Greg Hogan Date: Fri, 9 May 2025 11:55:57 -0400 X-Gm-Features: ATxdqUH1CdgzxrOoivBn_8yqv_KvCTjil5ppErdJCbqik91O0RwfjXq9bUnjdFE Message-ID: Subject: Re: [bug#78334] [PATCH science-team 0/1] Update flint. To: Andreas Enge Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78334 Cc: Sharlatan Hellseher , 78334@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, May 9, 2025 at 11:53=E2=80=AFAM Andreas Enge wrot= e: > > Hello, > > Am Fri, May 09, 2025 at 03:39:18PM +0000 schrieb Greg Hogan: > > Our current version, flint 3.1.2, fails for me with: > > CC fft_small/mpn_mul.c > > In file included from src/fft_small/mpn_mul.c:17: > > src/fft_small/mpn_mul.c: In function =E2=80=98_mpn_from_ffts_8=E2=80=99= : > > ./src/crt_helpers.h:120:3: error: =E2=80=98asm=E2=80=99 operand has imp= ossible constraints > > 120 | __asm__ ("addq %23,%q7\nadcq %21,%q6\nadcq %19,%q5\n\tadcq %1= 7,%q4\n\tadcq %15,%q3\n\tadcq %13,%q2\n\tadcq %11,%q1\n\tadcq %9,%q0" \ > > we can update flint, but this message may indicate a different problem, > which surprises me. Flint includes assembly code, but does not use fat > binaries such as gmp. So it is possible that assembly code chosen on the > build machine (avx or whatever) is not executable on the machine where > you run your own code linked to flint. I'm building flint on the same machine as I built the rest of Guix. And this is the flint build itself, not dependent code. > But we build the package with > #:configure-flags '("--disable-assembly") > so the problem should not occur. > > Maybe it is indeed a bug in the version we currently package. v3.2.2 builds fine for me. From debbugs-submit-bounces@debbugs.gnu.org Mon May 12 11:27:32 2025 Received: (at 78334) by debbugs.gnu.org; 12 May 2025 15:27:32 +0000 Received: from localhost ([127.0.0.1]:54108 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uEV40-0001T4-02 for submit@debbugs.gnu.org; Mon, 12 May 2025 11:27:32 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:45922) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uEV3w-0001Se-FQ for 78334@debbugs.gnu.org; Mon, 12 May 2025 11:27:30 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id BB55060B; Mon, 12 May 2025 17:27:20 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id pyAxdQSUC1Bg; Mon, 12 May 2025 17:27:20 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 62A3B429; Mon, 12 May 2025 17:27:18 +0200 (CEST) Date: Mon, 12 May 2025 17:27:16 +0200 From: Andreas Enge To: Greg Hogan Subject: Re: [bug#78334] [PATCH science-team 0/1] Update flint. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Level: ***** X-Rspamd-Action: greylist X-Rspamd-Server: hera X-Rspamd-Queue-Id: BB55060B X-Spamd-Bar: +++++ X-Spamd-Result: default: False [5.40 / 15.00]; SPAM_FLAG(5.00)[]; BAYES_HAM(-3.00)[99.99%]; NEURAL_SPAM(3.00)[1.000]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; URIBL_BLOCKED(0.00)[localhost:rdns,localhost:helo]; RCPT_COUNT_THREE(0.00)[4]; FROM_HAS_DN(0.00)[]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78334 Cc: Sharlatan Hellseher , 78334@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Unfortunately this flint update breaks singular: facMul.cc: In function ‘void kronSubFp(nmod_poly_struct*, const CanonicalForm&, int)’: facMul.cc:1258:3: error: ‘flint_mpn_zero’ was not declared in this scope 1258 | flint_mpn_zero (result->coeffs, d*(degAy+1)); | ^~~~~~~~~~~~~~ facMul.cc:1267:5: error: ‘flint_mpn_copyi’ was not declared in this scope 1267 | flint_mpn_copyi (result->coeffs+k, buf->coeffs, nmod_poly_length(buf)); | ^~~~~~~~~~~~~~~ Which also means it breaks sage. This is very annoying, we cannot just push it, but need to wait for the depending packages to adapt to whatever change was made. Or ship several versions. Bug report submitted: https://github.com/flintlib/flint/issues/2315 Andreas From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 06 09:19:05 2025 Received: (at 78334) by debbugs.gnu.org; 6 Jun 2025 13:19:05 +0000 Received: from localhost ([127.0.0.1]:42729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uNWyP-0005OY-EL for submit@debbugs.gnu.org; Fri, 06 Jun 2025 09:19:05 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:49802) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uNWyM-0005Nr-AI for 78334@debbugs.gnu.org; Fri, 06 Jun 2025 09:19:03 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 56807169B; Fri, 6 Jun 2025 15:18:55 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id 2hDzYfL4foXv; Fri, 6 Jun 2025 15:18:54 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4DF47383; Fri, 6 Jun 2025 15:18:54 +0200 (CEST) Date: Fri, 6 Jun 2025 15:18:52 +0200 From: Andreas Enge To: Greg Hogan Subject: Re: [bug#78334] [PATCH science-team 0/1] Update flint. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: hera X-Rspamd-Queue-Id: 56807169B X-Spamd-Result: default: False [-1.62 / 15.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_SPAM(0.98)[0.328]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Rspamd-Action: no action X-Spamd-Bar: - X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78334 Cc: Sharlatan Hellseher , 78334@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Greg, upstream does not intend to fix the problem. In the meantime, I have updated flint to 3.1.3 and pushed after making sure all dependents (of which sage) still build. I suppose this does not solve your build problem? We should try to update to 3.2.1 (see https://github.com/flintlib/flint/issues/2311 concerning 3.2.2); but this might force us to patch quite a few upstream projects: $ ./pre-inst-env guix build -P 1 flint guix build: computing dependents of package flint@3.1.3... /gnu/store/hxdxlay89xd257f0346igxbr08qsz7sz-flint-3.1.3 /gnu/store/fz75wpdqf4c05wxbm5wr26f0ri3rvakb-singular-4.4.0p8 /gnu/store/gh4905v8pchpmj5pn339vsk9an91g4pk-cm-0.4.3 /gnu/store/3jy8lgkwanf3bka9vwhlqvxr9mwamqk7-python-pynormaliz-2.21 /gnu/store/3jc1734h8j105y7bq2542z1pblpx5a16-msolve-0.7.3 /gnu/store/9jkvnbf9hgl2xspr7gyfcrabcmjqxqxb-python-flint-0.5.0 /gnu/store/svyx62248p96bb2ywmhl9ng67vc44j32-symengine-0.14.0 /gnu/store/h89qp3v60wmpyx55idpdl4z0cbwzg4k5-normaliz-3.10.4 /gnu/store/21wp3b5zas3iwx7z3i91i9dwp5grgn9h-paritwine-0.2.1 /gnu/store/bh2zcvdkl3p0jn0ccmic6n99i8df5m2b-s7-24.1-0.23a64fa /gnu/store/dgypsfqsg18ch17g6fvn32ngpjlg3872-s7-bootstrap-24.1-0.23a64fa /gnu/store/2x9bhnla2szgxkkr614mvli5v8877hid-clingo-lpx-1.3.0 /gnu/store/2yw5y418wh8pcmdid98q143bkaqky006-sage-10.6 (depending on how many depend on flint internals) Andreas From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 11 13:23:17 2025 Received: (at 78334-done) by debbugs.gnu.org; 11 Jun 2025 17:23:18 +0000 Received: from localhost ([127.0.0.1]:51116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uPPAT-0001Vo-00 for submit@debbugs.gnu.org; Wed, 11 Jun 2025 13:23:17 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:33104) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uPPAQ-0001UJ-RX for 78334-done@debbugs.gnu.org; Wed, 11 Jun 2025 13:23:15 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id D76A61A5B; Wed, 11 Jun 2025 19:23:06 +0200 (CEST) Authentication-Results: hera.aquilenet.fr; none X-Virus-Scanned: Debian amavis at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavis, port 10024) with ESMTP id uaXjfmXAcBF1; Wed, 11 Jun 2025 19:23:06 +0200 (CEST) Received: from jurong (176-179-191-150.abo.bbox.fr [176.179.191.150]) by hera.aquilenet.fr (Postfix) with ESMTPSA id A2A78240; Wed, 11 Jun 2025 19:23:04 +0200 (CEST) Date: Wed, 11 Jun 2025 19:23:03 +0200 From: Andreas Enge To: Greg Hogan Subject: Re: [bug#78334] [PATCH science-team 0/1] Update flint. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: hera X-Rspamd-Queue-Id: D76A61A5B X-Spamd-Result: default: False [-3.23 / 15.00]; NEURAL_HAM(-2.74)[-0.914]; BAYES_HAM(-0.89)[85.91%]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; FREEMAIL_CC(0.00)[debbugs.gnu.org,posteo.net,gmail.com] X-Rspamd-Action: no action X-Spamd-Bar: --- X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 78334-done Cc: Sharlatan Hellseher , 78334-done@debbugs.gnu.org, Eric Bavier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Greg, Am Fri, Jun 06, 2025 at 03:18:52PM +0200 schrieb Andreas Enge: > We should try to update to 3.2.1 in the end this was not as bad as I had feared. I needed to make a new release of paritwine, apart from that everything built, including sage. So I have pushed the update to master, and at the same time also updated python-flint for good measure. Andreas