From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4FDC8159CAA for ; Wed, 31 Jul 2024 00:02:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDDE62BC026; Wed, 31 Jul 2024 00:02:41 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C07DC2BC026 for ; Wed, 31 Jul 2024 00:02:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C57F1335D75 for ; Wed, 31 Jul 2024 00:02:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3863A1E65 for ; Wed, 31 Jul 2024 00:02:39 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1722384107.18cf313474587d078b1520f03511433ead141de4.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/ X-VCS-Repository: repo/gentoo X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 18cf313474587d078b1520f03511433ead141de4 X-VCS-Branch: master Date: Wed, 31 Jul 2024 00:02:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 595789ec-afbc-4f5e-8d18-781292c1297f X-Archives-Hash: 14cc1b7a0412386a504f2050754bbe6e commit: 18cf313474587d078b1520f03511433ead141de4 Author: A. Wilcox Wilcox-Tech com> AuthorDate: Sun Jul 21 16:06:59 2024 +0000 Commit: Sam James gentoo org> CommitDate: Wed Jul 31 00:01:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18cf3134 toolchain.eclass: ppc64-musl: Disable libquadmath * --disable-libquadmath is needed to avoid GCC PR 116007. * --disable-libquadmath-support is needed for Fortran to build, as GCC upstream requires a weak header when float128 is available. * --with-long-double-128=no explicitly disables all Float128 support. [sam: Fix whitespace.] Bug: https://bugs.gentoo.org/892874 Signed-off-by: A. Wilcox Wilcox-Tech.com> Closes: https://github.com/gentoo/gentoo/pull/37689 Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index c7c366a37ad0..a60024c134c3 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -1214,7 +1214,14 @@ toolchain_src_configure() { # - https://git.musl-libc.org/cgit/musl/tree/INSTALL # - bug #704784 # - https://gcc.gnu.org/PR93157 - [[ ${CTARGET} == powerpc64-*-musl ]] && confgcc+=( --with-abi=elfv2 ) + # musl additionally does not support libquadmath. See: + # - https://gcc.gnu.org/PR116007 + [[ ${CTARGET} == powerpc64-*-musl ]] && confgcc+=( + --with-abi=elfv2 + --disable-libquadmath + --disable-libquadmath-support + --with-long-double-128=no + ) if in_iuse ieee-long-double; then # musl requires 64-bit long double, not IBM double-double or IEEE quad.