Message ID | cover.1746805010.git.code@greghogan.com |
---|---|
Headers |
Return-Path: <guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org> X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C70EF27BC4B; Fri, 9 May 2025 16:40:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 2682727BC49 for <patchwork@mira.cbaines.net>; Fri, 9 May 2025 16:40:28 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <guix-patches-bounces@gnu.org>) id 1uDPpl-0006yB-Cr; Fri, 09 May 2025 11:40:21 -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 <Debian-debbugs@debbugs.gnu.org>) id 1uDPpX-0006tI-Af for guix-patches@gnu.org; Fri, 09 May 2025 11:40:16 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uDPpW-0001NN-64 for guix-patches@gnu.org; Fri, 09 May 2025 11:40:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=hDDY5aisvlvT6+ydJGiKnpA7k+ye6g9UnpiEyoagsic=; b=QhkIfus1An8JMMa+tO967EpGn6ANhKsw3gP+oULXGS6wY7dQ6oGfE0+gnT6v/4Ri/vagHdkPp2C9/WAHhv/58PVMMdLuPHy1QqWh26mJv/eiWUOg0ym4MQl6k0/m9nlfWhthsCGW72ggHKBO0JKHQNJkL0TRlJ38zXMksRkvn49xhMqqQflYoIdBpBuSd9UHFUDd7m9zHrRXexETvhiLBOAzx6RwAqQ1tjvfFFdNH54bFP0kQ+D06PU9dajIf2123+wJAUaXwB8xRqERPNwKDsMfmiw++coBlwNY6W3GZtWiSxWlVBGHGzUfHLko29/AszZkwsvE7G/JlKFlCuux8Q==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from <Debian-debbugs@debbugs.gnu.org>) id 1uDPpR-000308-Pq; Fri, 09 May 2025 11:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78334] [PATCH science-team 0/1] Update flint. Resent-From: Greg Hogan <code@greghogan.com> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org> Resent-CC: andreas@enge.fr, bavier@posteo.net, sharlatanus@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 09 May 2025 15:40:01 +0000 Resent-Message-ID: <handler.78334.B.174680519711509@debbugs.gnu.org> Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 78334 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 78334@debbugs.gnu.org Cc: Greg Hogan <code@greghogan.com>, Andreas Enge <andreas@enge.fr>, Eric Bavier <bavier@posteo.net>, Sharlatan Hellseher <sharlatanus@gmail.com> X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Andreas Enge <andreas@enge.fr>, Eric Bavier <bavier@posteo.net>, Sharlatan Hellseher <sharlatanus@gmail.com> Received: via spool by submit@debbugs.gnu.org id=B.174680519711509 (code B ref -1); Fri, 09 May 2025 15:40:01 +0000 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 <debbugs-submit-bounces@debbugs.gnu.org>) 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 <code@greghogan.com>) 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 <code@greghogan.com>) 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 <code@greghogan.com>) 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 <guix-patches@gnu.org>; 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 <code@greghogan.com> Date: Fri, 9 May 2025 15:39:18 +0000 Message-ID: <cover.1746805010.git.code@greghogan.com> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: <guix-patches.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/guix-patches> List-Post: <mailto:guix-patches@gnu.org> List-Help: <mailto:guix-patches-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/guix-patches>, <mailto:guix-patches-request@gnu.org?subject=subscribe> Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches |
Series |
Update flint.
|
|
Message
Greg Hogan
May 9, 2025, 3:39 p.m. UTC
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
Comments
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
On Fri, May 9, 2025 at 11:53 AM Andreas Enge <andreas@enge.fr> wrote: > > 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. 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.