From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qMHRGU65XWCOmwAAgWs5BA (envelope-from ) for ; Fri, 26 Mar 2021 11:37:02 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id OEvwE065XWD5VgAA1q6Kng (envelope-from ) for ; Fri, 26 Mar 2021 10:37:02 +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 D42FB2422C for ; Fri, 26 Mar 2021 11:37:01 +0100 (CET) Received: from localhost ([::1]:56216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lPjps-00019y-S5 for larch@yhetil.org; Fri, 26 Mar 2021 06:37:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60210) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lPjl4-0007c4-J7 for guix-patches@gnu.org; Fri, 26 Mar 2021 06:32:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57196) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lPjl4-0007b4-AV for guix-patches@gnu.org; Fri, 26 Mar 2021 06:32:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lPjl4-0001f9-6Y for guix-patches@gnu.org; Fri, 26 Mar 2021 06:32:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#47349] [PATCH] gnu: cross-base: Relax check for powerpc64le Resent-From: Andreas Enge Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 26 Mar 2021 10:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47349 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Chris Marusich Cc: 47349@debbugs.gnu.org, Carl Dong Received: via spool by 47349-submit@debbugs.gnu.org id=B47349.16167546926353 (code B ref 47349); Fri, 26 Mar 2021 10:32:02 +0000 Received: (at 47349) by debbugs.gnu.org; 26 Mar 2021 10:31:32 +0000 Received: from localhost ([127.0.0.1]:40509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPjka-0001eO-F7 for submit@debbugs.gnu.org; Fri, 26 Mar 2021 06:31:32 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:44924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lPjkY-0001e7-HI for 47349@debbugs.gnu.org; Fri, 26 Mar 2021 06:31:31 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id CD2DE25E; Fri, 26 Mar 2021 11:31:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mi8awsJurD1s; Fri, 26 Mar 2021 11:31:23 +0100 (CET) Received: from jurong (p200300dd5710fa00d100617c1be1ebbb.dip0.t-ipconnect.de [IPv6:2003:dd:5710:fa00:d100:617c:1be1:ebbb]) by hera.aquilenet.fr (Postfix) with ESMTPSA id B6E751FD; Fri, 26 Mar 2021 11:31:18 +0100 (CET) Date: Fri, 26 Mar 2021 11:31:16 +0100 From: Andreas Enge Message-ID: References: <20210323160213.1194843-1-contact@carldong.me> <871rc2bfb9.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871rc2bfb9.fsf@gmail.com> X-Spamd-Bar: / X-Rspamd-Server: hera X-Rspamd-Queue-Id: CD2DE25E X-Spamd-Result: default: False [-0.50 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; FREEMAIL_ENVRCPT(0.00)[gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; FORGED_RECIPIENTS(2.00)[cmmarusich@gmail.com ..,andreas.enge@aquilenet.fr ...]; RCVD_COUNT_TWO(0.00)[2]; BAYES_HAM(-3.00)[100.00%] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616755022; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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; bh=FE2qHrOfrYGNQSkFMgzrhVUmeg1lgCXAFChEwC3mimc=; b=nyipIgXLvp87dcBtYc8Ntqp+/4C+xJp5e94JDFI++xE2kXKnT44qTpRRBC9V1aYMEHRRQc QCdTQCc37V7kmC9gWM+TGf2BNDCTG07zkh9MyyHvlV0ojr2OxCUBCz939Tl/xD8L4opmYr ReKwiI1AKeTOC7X7eDUhxgr+QjAeyzFnbY+7aNxcWDGY8i5zpsYJQLV+5G4fIImmqO+SgL VYA2accwvPQruvpkfhIKnV0Jw76SV8l3iBY4SRZ6mxqjyTmQKczIoJyJ707xf1G/KdRsjY /EyPsezaJVtj0Z8NMM0Y0HJQHQ3FTSCcJQ6QZ5948/g3lJ/3v/NiwE55RRKbgQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616755022; a=rsa-sha256; cv=none; b=m18BAfAHhmhzknyDhMXaMNRMUUWW+pGS5E3CrDJhLhBFAM6ks4f207Nf/uq7dAfrWJVN/z Ii0S899LLTU4dwXmmcb16J4M6/6KeM74aIH9FN7/qzpRQGW6SI14+iYzL1T3M4pnBh3VAx 3gYnSdKabAD6HzRARcViHxp71EEciUoBCttN4nn42IoAoh9cZt8N7KdUPm3tkZyCjhwvxm LRrVJW+6U4H8iB+WluyXyvgpk79OBPm7/N9iW8p2IMnltomW6FKr7McWWmKmfcLZOUKCFX JTtNmAi+Vaill8jM1t9qqhgYIs1JeWy6pz0B3Pw70xsm8gk3Tzo2g9n70/ZtOw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D42FB2422C X-Spam-Score: -1.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: tg52L+UWUrlk Hello Chris, I have no idea about cross compilers, but it would certainly be nice if the final gcc supported long doubles. As a check, you can have a look at the log file for building gmp, obtained with "guix build --log-file gmp". If you grep for "long double", it should contain a line checking for long double... yes Hm, just "having" long double is maybe not all we want. >From the gcc documentation at https://gcc.gnu.org/install/configure.html: --with-long-double-128 Specify if long double type should be 128-bit by default on selected GNU/Linux architectures. If using --without-long-double-128, long double will be by default 64-bit, the same as double type. When neither of these configure options are used, the default will be 128-bit long double when built against GNU C Library 2.4 and later, 64-bit long double otherwise. Of course we would like long double to have 128 bits, since otherwise there is no difference with double. And at least with the current gcc and a glibc from 2006 or later, the flag should not be neeed. On my x86_64 machine, sizeof(long double) is 16 bytes with gcc@10, 5 or 7. Could you try to compile and run the trivial program #include void main () { printf ("long double %i\n", sizeof (long double)); } and see what it outputs on powerpc? Well, while --with-long-double-128 should not be needed since it should be the default, you may as well add it to the flags, since it is the desired behaviour. Andreas