From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GJwIFmKbdGCMdQEAgWs5BA (envelope-from ) for ; Mon, 12 Apr 2021 21:11:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8D/3D2KbdGAQSwAA1q6Kng (envelope-from ) for ; Mon, 12 Apr 2021 19:11:30 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A41F29731 for ; Mon, 12 Apr 2021 21:11:28 +0200 (CEST) Received: from localhost ([::1]:34762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lW1y1-0001Z9-9A for larch@yhetil.org; Mon, 12 Apr 2021 15:11:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51430) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lW1xi-0001Yp-2e for bug-guix@gnu.org; Mon, 12 Apr 2021 15:11:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46548) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lW1xe-0004Ls-G0 for bug-guix@gnu.org; Mon, 12 Apr 2021 15:11:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lW1xe-0001QA-AK for bug-guix@gnu.org; Mon, 12 Apr 2021 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47698: [powerpc64le-linux] "check" package fails to build Resent-From: Chris Marusich Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 12 Apr 2021 19:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47698 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47698@debbugs.gnu.org Received: via spool by 47698-submit@debbugs.gnu.org id=B47698.16182546165400 (code B ref 47698); Mon, 12 Apr 2021 19:11:02 +0000 Received: (at 47698) by debbugs.gnu.org; 12 Apr 2021 19:10:16 +0000 Received: from localhost ([127.0.0.1]:58094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW1wu-0001P2-AE for submit@debbugs.gnu.org; Mon, 12 Apr 2021 15:10:16 -0400 Received: from mail-pl1-f181.google.com ([209.85.214.181]:46927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW1ws-0001Ok-1Y for 47698@debbugs.gnu.org; Mon, 12 Apr 2021 15:10:14 -0400 Received: by mail-pl1-f181.google.com with SMTP id m18so4684732plc.13 for <47698@debbugs.gnu.org>; Mon, 12 Apr 2021 12:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=TOzT/7ga350fFukHAeu8r1M0YY6ZOQjZnrb7wdOOyGI=; b=QtlLPPjtrVAnrcI30uEJKc1HttyPyk8P+uXpEPHgxAIC3o/s76WXdwixsoJFfrFywq +oedfb07G6/L9pF3IOYkZ6IYNgfOzOuLPytf0ZWN82TSsxXrAvRG1IxG/ssUktwwzS2k jwb1Egvy8L/5E6R2E7AkU2Cz7YQuvEQ0gPEuSkUBD+KJ/ojU43WbDCdcRBZAj89NosBE a3WhQSVnezc9JQsVbyLgX5C1XWiDMoLQub1+OTRN2ciLI3X5KQuPp3g+1jFc02+V9A2n dc+zPgBtFL0vaVtU3hd20mJPYeiaJNjs2BFJnp3izw55DhzZ9j84MHBGrcfnWQo2GxZP qG0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=TOzT/7ga350fFukHAeu8r1M0YY6ZOQjZnrb7wdOOyGI=; b=QpMGBleJ9mcNJ4A5TXD65kdFbnpuxGZ76z2ECjPC63ndLdFWHTZLpIBbR0w5FmAj2D H0mfmXq53L95WUrVbx0B6kiaub3A6zS/RbXT6g6Rk2TGDS6MD8SmRh6f4bZdBP+LStD1 GgLvpr/k+fRgv8i+iJW3tl9Ocn3KW0U1sZylNmWNgENFfqrnrqCXmTUJvQD36IScZvom sxx0Sy2hdd7KsDK6BzOwQZQMVl6ItdfUXgV1oesRG625iDngVXL3V9eolCW8N1pvzrmQ uKwZsoCOE0f/kq8pG+qxDFVrRtSJMjWcnye+6qht4hmJGl0acInUKdL8sv10SNmoU7Er Ti8g== X-Gm-Message-State: AOAM533YwN+PNEO7cnDScQ0epFEFZxNY55xE9BRhANBXqsf6VKmEZhgt JgVottulOf/U0HTeT5HbAwehGJ0K6Af+eQ== X-Google-Smtp-Source: ABdhPJxlM32lq1AVz35KY7YRD5VWkigNvYxlPCjjz6kNfW25a4V3tWr3fkKg3u38XNE9y1Ts+1oOFw== X-Received: by 2002:a17:90a:1b4b:: with SMTP id q69mr697653pjq.188.1618254607541; Mon, 12 Apr 2021 12:10:07 -0700 (PDT) Received: from garuda-lan (c-24-18-44-142.hsd1.wa.comcast.net. [24.18.44.142]) by smtp.gmail.com with ESMTPSA id fs3sm178751pjb.30.2021.04.12.12.10.05 for <47698@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Apr 2021 12:10:06 -0700 (PDT) From: Chris Marusich References: <87v98ty6rr.fsf@gmail.com> Date: Mon, 12 Apr 2021 12:10:03 -0700 In-Reply-To: <87v98ty6rr.fsf@gmail.com> (Chris Marusich's message of "Sat, 10 Apr 2021 18:00:40 -0700") Message-ID: <87a6q32ub8.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1618254688; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=TOzT/7ga350fFukHAeu8r1M0YY6ZOQjZnrb7wdOOyGI=; b=MOrSiXXq59iCuKoOhNIz37W9BkUJ1PKfYwdI+C92qcO6ARQbsud0dwKnX8v5Cgu+4qccZ7 6Ke1y2LIoBONX4hbUIXJ0w6EgUcvzQqvKABUyCoZGDExM7dsiZi3d+ah0q0e5PC22zOKYF rlmlAZugXxa87e6px8gVyH2fQ8b8QOjwKq7czxkK75ImGvQ9TceHKRguuwRhqF8x7YotGJ EX2NkjSkr+urU7grs2xrWv1y7Dgv9J8LJ+mlL7Nn6d68CGLVFo0O8uN0PsTItcuulsyMaN oEK+iwCBMo3qcBh1AdDX/7hopQo1BExknMTDMIKNBRYZAGXRJ2RTdpbogkGN/g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618254688; a=rsa-sha256; cv=none; b=FK/OrlLsaIlUlA+MRt40HSciqzI3hXGndf4gjgN7dYIQs+zH5Crgue78ODaL0PYHAMhO46 kz0JEKN9wO52BmJqa85e55ywlWm0VQTTQlL56d3viQididDGCQJbYBr6AplXqvMgopmRAf CM1ZBOm0rCrOCCFpXoPrpoHcHZiE/1yTjE7UAAxTtkRbRQ4VtwlitXARwMa6Gu15mVJwPP M3ncIL3Lhn5KTuV7RRMA/TgLPlxTfmztyLvgKCsyxwD1GOHfr7svbL5iQgRmQM7kZAXBK0 wQiO+Rbl06Bx1PvBaxzfDgK1KIVmE4Ar7po25zKIrt0hgp0zwDsNLH509GFJkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=QtlLPPjt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.94 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=QtlLPPjt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 6A41F29731 X-Spam-Score: -0.94 X-Migadu-Scanner: scn0.migadu.com X-TUID: no/7ymCuFcvq --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Chris Marusich writes: > I don't really know what's going on, but I'll try compiling GCC 7.5.0 > with the --with-long-double option, and I'll report whether it fixes > this issue. If someone has any other idea before then, I'm all ears. It did not seem to fix the issue. I tried using a patch like the attached, but the "check" package still seems to fail its test suite in the same way as before. Something else must be going on. Maybe the best thing to do is to try to manually create a minimal reproducible case, and then investigate using that simpler case. =2D-=20 Chris --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-Simplify-the-use-of-with-long-double-128-on-powe.patch Content-Transfer-Encoding: quoted-printable From=20ad89f9f59d22cc10fbf7dd6f738ce15a6e79b640 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Sat, 10 Apr 2021 18:16:17 -0700 Subject: [PATCH] gnu: Simplify the use of --with-long-double-128 on powerpc64le. In short, this change adds the "--with-long-double-128" configure option in one place and removes it from two other (now-redundant) places. It does not cause any rebuilds on systems other than powerpc64le-linux. * gnu/packages/gcc.scm (gcc-configure-flags-for-triplet): Add a clause for targets starting with "powerpc64le-" which adds the "--with-long-double-128" option. This causes any package using this procedure to be built using this new option on powerpc64le systems. In particular, this affects the gcc package and the gcc-final package, in addition to all the other versions of GCC defined in (gnu packages gcc). * gnu/packages/commencement.scm (gcc-boot0)[#:configure-flags]: Remove the code that adds the "--with-long-double-128" configure option for powerpc64l= e, since it is now redundant. The gcc-boot0 package uses (and adds to) the gcc package's configure options. This means that the above change in gcc.scm is sufficient to ensure that the gcc-boot0 package's configure options will include "--with-long-double-128" on powerpc64le systems. * gnu/packages/cross-base.scm (cross-gcc-arguments)[#:configure-flags]: Rem= ove the code that adds the "--with-long-double-128" configure option for powerpc64le, since it is now redundant. The cross-gcc-arguments procedure uses (and adds to) the configure options of its xgcc argument (a package). This means that regardless of which gcc from gcc.scm is used as the xgcc, t= he above change in gcc.scm is sufficient to ensure that the cross-gcc-arguments procedure's configure options will include "--with-long-double-128" on powerpc64le systems. =2D-- gnu/packages/commencement.scm | 7 ------- gnu/packages/cross-base.scm | 6 ------ gnu/packages/gcc.scm | 3 +++ 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index d4511ed914..db564db9c4 100644 =2D-- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -2819,13 +2819,6 @@ exec " gcc "/bin/" program "--disable-shared" "--enable-languages=3Dc,c++" =20 =2D ;; boot-triplet inserts "guix" in the triplet. =2D ,@(if (equal? "powerpc64le-guix-linux-gnu" (b= oot-triplet)) =2D ;; On POWER9 (little endian) glibc need= s the =2D ;; 128-bit long double type. =2D '("--with-long-double-128") =2D '()) =2D ;; libstdc++ cannot be built at this stage ;; ("Link tests are not allowed after ;; GCC_NO_EXECUTABLES."). diff --git a/gnu/packages/cross-base.scm b/gnu/packages/cross-base.scm index 180594509b..c1e5f2eb79 100644 =2D-- a/gnu/packages/cross-base.scm +++ b/gnu/packages/cross-base.scm @@ -153,12 +153,6 @@ base compiler and using LIBC (which may be either a li= bc package or #f.)" "--disable-decimal-float" ;would need libc "--disable-libcilkrts" =20 =2D ,@(if (string-prefix? "powerpc64le-" targe= t) =2D ;; On POWER9 (little endian) glibc ne= eds =2D ;; the 128-bit long double type. =2D '("--with-long-double-128") =2D '()) =2D ;; When target is any OS other than 'none' = these ;; libraries will fail if there is no libc ;; present. See diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm index a412c93c29..22a0f35422 100644 =2D-- a/gnu/packages/gcc.scm +++ b/gnu/packages/gcc.scm @@ -79,6 +79,9 @@ where the OS part is overloaded to denote a specific ABI-= --into GCC ;; Cilk has been removed from GCC 8 anyway. '("--disable-libcilkrts")) =20 + ((string-prefix? "powerpc64le-" target) + '("--with-long-double-128")) + (else ;; TODO: Add `arm.*-gnueabi', etc. '()))) =2D-=20 2.30.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJJBAEBCAAzFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAmB0mwsVHGNtbWFydXNp Y2hAZ21haWwuY29tAAoJEN1AmhXYIkadtjIP/j2zQAOgY2xW21xyn7ULX2hYJ3eC MetRZPULhDm+GlYzYy1KW2Ui6JAW3sZfQqisS7ud72WzDJYdvwXx2JMf+JwY/hjI IOOztXpl0LeWAZmAnGvEecBLyxlMQcSlSeY2NOtuRoegA7fzMTJfqpIXTdiTL+lE SZnZU1BKqFk/Y3yV+fWAbyeEgeQ2QIbOgQJK3FjQc9ML0oH4HbrsNcmusl0rIJ5s jO8H9o5Igs6XRB7KdThi3XLBqJ8L0P/GnLZSKFNfR19BlYBu79ZBGPP7cZrcvk9h JBhNHYVvm3E6zzR5NDfpOFbtkV+laqUZHZQ7KzO7561lGo5pfNO1OPsPNuhD1hoH qE/xWZT6l0elAjAoV5AXBvo7YLYlXj+4apMZtVtD0W7UA1S28UKvXuvT605X+3v2 yBphaqhqFuMfhbaWr5qBtH/TmiicfjB+zVWSl8hjyUVEbE2hPbW8vrlt28qoiwBz DpZesUw5OMY5Oe66loFcT2UYRKHkFe64cm5S11WhjihKB49SpHbhLFmbziZ/IUiH KXX537/k+X0YQsLZCZbUu7KO9h2wvGIVtePdxMGau/hd/aJUEejtZTI7wr/plIy1 iR4cjcUHPQQlLFqKk0NTaqGJjY7lmNgu+o4nxGZzCidiDp2YaCz4l5zerOtZ9l5X bbJG5QPdv8ImbFk8 =dMQC -----END PGP SIGNATURE----- --==-=-=--