From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.anongoth.pl (mail.anongoth.pl [46.248.190.61]) by sourceware.org (Postfix) with ESMTPS id 2019C3858C74 for ; Sun, 20 Mar 2022 12:07:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 2019C3858C74 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=freebsd.org Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=freebsd.org Received: from anongoth.pl (unknown [192.168.1.15]) (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) (Client did not present a certificate) (Authenticated sender: pkubaj@anongoth.pl) by mail.anongoth.pl (Postfix) with ESMTPSA id 1E23912A479; Sun, 20 Mar 2022 13:07:17 +0100 (CET) Date: Sun, 20 Mar 2022 13:07:15 +0100 From: Piotr Kubaj To: David Edelsohn , Segher Boessenkool Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] fortran: use fpu-glibc on powerpc*-unknown-freebsd Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="72EbjlrFFKjEQnY+" Content-Disposition: inline X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_SOFTFAIL, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2022 12:07:23 -0000 --72EbjlrFFKjEQnY+ Content-Type: multipart/mixed; boundary="jEAo4F2SW05uB/aL" Content-Disposition: inline --jEAo4F2SW05uB/aL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline fpu-glibc name is a bit incorrect, since it also works on other systems. I have verified that it builds and can also build other packages correctly (that were failing before). --jEAo4F2SW05uB/aL Content-Type: text/x-diff; charset=utf-8 Content-Disposition: attachment; filename="0001-fortran-on-powerpc-unknown-freebsd-also-use-fpu-glib.patch" Content-Transfer-Encoding: quoted-printable =46rom 0feb83fae30070cf250781449670638d7addd947 Mon Sep 17 00:00:00 2001 =46rom: Piotr Kubaj Date: Sun, 20 Mar 2022 13:03:13 +0100 Subject: [PATCH] fortran: on powerpc*-unknown-freebsd*, also use fpu-glibc It builds fine and correctly bulds packages on FreeBSD. It looks like "fpu-glibc" name is a bit misleading since it also works on FreeBSD. Signed-off-by: Piotr Kubaj --- libgfortran/configure.host | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libgfortran/configure.host b/libgfortran/configure.host index 3d6c2db7772..0f8bc7e0459 100644 --- a/libgfortran/configure.host +++ b/libgfortran/configure.host @@ -61,6 +61,14 @@ case "${host_cpu}" in ieee_support=3D'yes' ;; esac + ;; + powerpc*) + case "${host_os}" in + freebsd*) + fpu_host=3D'fpu-glibc' + ieee_support=3D'yes' + ;; + esac =20 esac =20 --=20 2.35.1 --jEAo4F2SW05uB/aL-- --72EbjlrFFKjEQnY+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmI3GPIACgkQelmbhSCD nJ1brQ/8DMTReehCpHqW+D9gSpvAGVBhVDuM5CNmfraB/FLwvL+Nk1dWKJmstcWJ te3AZDU16Uw7BK7r0Afj0WDNkrLWHSkH7PwY2ycGIzka72/ihCqG7MavcF95g0gf zk4IvMXPrcmYnmjuzIU4QsK2XicnzwhRJcyxBBTcq8A5otOrC2Eqk/lckK0F2mc9 +d3ZBKx/Fn67UnF6/dmepXIHPNNyVSEzYhoCKlrApbXFHXA8s/HxOVty7/97iYQN 46F1LKyflgxmxIRBPxSaBUNjuPAy4dg7K4rc/BFNdX71G30rcPc0/p30Cg0oP4lV xT7K7/hiLhYRtO7Xn2SbVuZJhPa7qtza90dUxk7SipQIGTjKzIbkZpSelqKu0IWZ UNTwSxExxBY8aBvMqPBv938+doA9YgkvGGqAeLuXKxUFRSIgSOYZZZnbNigQRAux +sKltBH2kfcN+3Uf1gXG4ZY01F3RVoMjqsKF0tDtxqBqNWrZOdFDnXWEpNjTfiiU 6NNOwNRETVWF67QnLBoDEL74uTniouMKfoT4LljI50eQZLzpjwTkbXAm2whXBEFo NmgSFDrA55o5HCRiqE4xkDAVEAjL0cjyPIakgwJJ2btB8dUy3DizN6jOl430+72G hyXya/HN9ghLydjvXMz3nRye6VI/rerXbnV/pP+fi730HSByIZU= =22JO -----END PGP SIGNATURE----- --72EbjlrFFKjEQnY+--