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 A1A93158086 for ; Mon, 27 Dec 2021 05:37:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F9202BC028; Mon, 27 Dec 2021 05:37:38 +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 8947C2BC005 for ; Mon, 27 Dec 2021 05:37:35 +0000 (UTC) Content-Type: multipart/signed; boundary="Apple-Mail=_A036DACB-03ED-4BD7-B834-5CB089438C8A"; protocol="application/pgp-signature"; micalg=pgp-sha512 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply Mime-Version: 1.0 (Mac OS X Mail 15.0 \(3693.40.0.1.81\)) Subject: Re: [gentoo-dev] [PATCH] toolchain.eclass: fix crossdev powerpc-*-musl builds From: Sam James In-Reply-To: <20211227052412.3492387-1-gyakovlev@gentoo.org> Date: Mon, 27 Dec 2021 05:37:29 +0000 Cc: toolchain@gentoo.org, Georgy Yakovlev Message-Id: References: <20211227052412.3492387-1-gyakovlev@gentoo.org> To: gentoo-dev@lists.gentoo.org X-Mailer: Apple Mail (2.3693.40.0.1.81) X-Archives-Salt: 20b970c3-4d16-498e-af27-0a3db86a5349 X-Archives-Hash: 4fac8505d0578c01a7229dcca9f67435 --Apple-Mail=_A036DACB-03ED-4BD7-B834-5CB089438C8A Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On 27 Dec 2021, at 05:24, Georgy Yakovlev wrote: > > otherwise initial build may fail with: > unknown long double size, cannot define BFP_FMT If possible, would you mind filing a bug with the build log of it failing (and brief steps on how to get it) just so we can easily test if we can drop it in future? (We have a lot of hacks like this where I worry we'll never be able to drop them with confidence) If it takes a huge amount of work to get there, then don't bother, as it's negligible gain. > > Signed-off-by: Georgy Yakovlev > --- > eclass/toolchain.eclass | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass > index fd03ba176276..1102c4fc5d56 100644 > --- a/eclass/toolchain.eclass > +++ b/eclass/toolchain.eclass > @@ -1099,6 +1099,11 @@ toolchain_src_configure() { > # Set up defaults based on current CFLAGS > is-flagq -mfloat-gprs=double && confgcc+=( --enable-e500-double ) > [[ ${CTARGET//_/-} == *-e500v2-* ]] && confgcc+=( --enable-e500-double ) > + if [[ ${CTARGET} == powerpc-*-musl ]]; then > + # fix: unknown long double size, cannot define BFP_FMT > + confgcc+=( --disable-decimal-float ) > + export gcc_cv_target_ldbl128=no > + fi > ;; > ppc64) > # On ppc64 big endian target gcc assumes elfv1 by default, > -- > 2.34.1 > > Looks fine otherwise though. best, sam --Apple-Mail=_A036DACB-03ED-4BD7-B834-5CB089438C8A Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQGTBAEBCgB9FiEEYOpPv/uDUzOcqtTy9JIoEO6gSDsFAmHJURlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYw RUE0RkJGRkI4MzUzMzM5Q0FBRDRGMkY0OTIyODEwRUVBMDQ4M0IACgkQ9JIoEO6g SDvTmggAkguPVWhdPn2AEARaOGtoldsFT+mAvcdTiwex2+O1FIl0QsKgXRjyC8fb xdDREh553xBfcg3uBlQDqp+bEnnuYoQgMj0gnSfy11zEj8SqPgyBcM9AGqEVVSzN /OpMW6tdR9WE6D64MFlorFqfThDRbduJGDFIz+IRtyiLG0nNqTjLAVKV7DVDohca iFSyT+2znJzkOaagUQd5ONZtaJEt5raqHfOpZe3ACfabFNYhTdaIUpkqB/xFq0nS Tp6BIXO8JAf4WO8DOC0QHP5iryIMtXoPClOZlgy6uIj/5MfwmavgWvpbh4UHhTPd rsyuHaEumMQ610HltbB+uDTmetykUw== =fi/l -----END PGP SIGNATURE----- --Apple-Mail=_A036DACB-03ED-4BD7-B834-5CB089438C8A--