From patchwork Mon Dec 2 19:20:31 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dftxbs3e X-Patchwork-Id: 16343 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 3EB5C177FF; Mon, 2 Dec 2019 19:36:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id EC8C4177ED for ; Mon, 2 Dec 2019 19:36:13 +0000 (GMT) Received: from localhost ([::1]:43756 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibrUT-0007K1-HL for patchwork@mira.cbaines.net; Mon, 02 Dec 2019 14:36:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40538) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibrUJ-0007Ju-CC for guix-patches@gnu.org; Mon, 02 Dec 2019 14:36:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibrUI-0004MO-6U for guix-patches@gnu.org; Mon, 02 Dec 2019 14:36:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:32987) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ibrUI-0004MK-2h for guix-patches@gnu.org; Mon, 02 Dec 2019 14:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ibrUI-0006JA-0b for guix-patches@gnu.org; Mon, 02 Dec 2019 14:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38459] [PATCH] gnu: (cross-gcc-arguments|gcc-boot0): Enable 128 bit long double for POWER9. Resent-From: dftxbs3e Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2019 19:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38459 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 38459@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157531533024198 (code B ref -1); Mon, 02 Dec 2019 19:36:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Dec 2019 19:35:30 +0000 Received: from localhost ([127.0.0.1]:38960 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibrTk-0006IC-PS for submit@debbugs.gnu.org; Mon, 02 Dec 2019 14:35:30 -0500 Received: from lists.gnu.org ([209.51.188.17]:38773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ibrFP-0005uE-Th for submit@debbugs.gnu.org; Mon, 02 Dec 2019 14:20:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39108) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ibrFN-0003O5-Rm for guix-patches@gnu.org; Mon, 02 Dec 2019 14:20:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ibrFM-00006J-OG for guix-patches@gnu.org; Mon, 02 Dec 2019 14:20:37 -0500 Received: from smtp3-g21.free.fr ([212.27.42.3]:59337) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ibrFK-0008TD-Qd for guix-patches@gnu.org; Mon, 02 Dec 2019 14:20:36 -0500 Received: from [IPv6:2a01:e0a:2a2:1590:3130:d4af:7a6d:562c] (unknown [IPv6:2a01:e0a:2a2:1590:3130:d4af:7a6d:562c]) by smtp3-g21.free.fr (Postfix) with ESMTP id 8687B13F8B9 for ; Mon, 2 Dec 2019 20:20:31 +0100 (CET) From: dftxbs3e Message-ID: <9d5aee30-1cfe-434b-f191-3bbd06caa319@free.fr> Date: Mon, 2 Dec 2019 20:20:31 +0100 User-Agent: Mozilla/5.0 (X11; Linux ppc64le; rv:68.0) Gecko/20100101 Thunderbird/68.1.1 MIME-Version: 1.0 Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Windows NT kernel [generic] [fuzzy] X-Mailman-Approved-At: Mon, 02 Dec 2019 14:35:27 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, This is to be applied against core-updates and fixes: $ guix build --target=powerpc64le-linux-gnu bootstrap-tarballs dftxbs3e From 87b30dcb90572bd46c8eb087efe7d75db362f59b Mon Sep 17 00:00:00 2001 From: dftxbs3e Date: Mon, 2 Dec 2019 19:58:19 +0100 Subject: [PATCH 1/2] gnu: gcc-boot0: Enable 128 bit long double for POWER9. --- gnu/packages/commencement.scm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 8bf7704598..bfdba4dbd2 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1576,6 +1576,9 @@ exec " gcc "/bin/" program "--disable-shared" "--enable-languages=c,c++" + ;; On POWER9 (little endian) glibc needs the 128 bit long double type. + "--with-long-double-128" + ;; libstdc++ cannot be built at this stage ;; ("Link tests are not allowed after ;; GCC_NO_EXECUTABLES."). -- 2.21.0