From nobody Sat Dec 18 19:08:52 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 7B51818FA311; Sat, 18 Dec 2021 19:08:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JGb451PGFz4v2B; Sat, 18 Dec 2021 19:08:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0C84514D93; Sat, 18 Dec 2021 19:08:53 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1BIJ8qTK001575; Sat, 18 Dec 2021 19:08:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BIJ8q7m001574; Sat, 18 Dec 2021 19:08:52 GMT (envelope-from git) Date: Sat, 18 Dec 2021 19:08:52 GMT Message-Id: <202112181908.1BIJ8q7m001574@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: a0b9c2356650 - main - lang/gcc9: fix build on powerpc64le List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a0b9c235665060baf86ab16dc141afa53115b3d9 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639854533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6zDPS/uVkRLqjCbm0Vr7hFw8wVhPBplSXx0aT8spR2A=; b=iMAldCc+b2kDQ3Z+9VElEgTB6c9jozhUODrb3kKJbM/dASOdZXJ/iClgCwUZAJAYd2VwLI JYWGpYmWfOSyok0ZK8HpAhwb2y361G6mFUOaTF3EBdU20WUJ92OvcNe1GsGSryjIORb50y EhuOfBEU1fOQKy2FDcxdcRvg/D99cWNMviO5KLvImYAdLzhKAsEGeN5GN6Z4wEbI4GNXLA TpPHHkYuruO8ydVInRBxnqweIdSjGRQrQWsgKXB+zCM2zTDmMxbARPqwJDvmNQ0bWiQjuH P3aXTp/B53sZn2L5hHy80iAv/CMf+NSyJN8IwPj3lBg5ROTDfk7QPYYQhH3kXA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639854533; a=rsa-sha256; cv=none; b=iKEwSE66DVAZ/sgiMBeGJAZaCODDyDMwIfCO5ag0i5EZoY42VJPy3BA16z5ljJ4A3LMoDA aVBrNjmSZgZW5sPWhPjwbULJlPAqhNyXhGPVajeuf0RtAV4ETtP7KjqlMLDUsCtPCyArEr CACZi1y21zqeWBm+oj217P9cGywgB6ztGDMuNAYockO0WhPdMAp34D77OIG/jdIvQdnCWx Y7suAl8mUeUh9ygsw553GceLCxd8Ru5wI1Dtille6rXt8ZBjkMmx9DrB4zXCP7H2wdQN/e rTOI173j+I8LpOgRzvlt5SklR5rkOiG+6gelnm+tuptRNKaCTEUBEHZhq1lmlA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=a0b9c235665060baf86ab16dc141afa53115b3d9 commit a0b9c235665060baf86ab16dc141afa53115b3d9 Author: Piotr Kubaj AuthorDate: 2021-12-18 19:06:37 +0000 Commit: Piotr Kubaj CommitDate: 2021-12-18 19:06:37 +0000 lang/gcc9: fix build on powerpc64le Backport patch from gcc9-devel to fix build. --- lang/gcc9/Makefile | 2 +- lang/gcc9/files/patch-gcc_configure | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/lang/gcc9/Makefile b/lang/gcc9/Makefile index bbf434c0b83c..029662650c29 100644 --- a/lang/gcc9/Makefile +++ b/lang/gcc9/Makefile @@ -12,7 +12,7 @@ COMMENT= GNU Compiler Collection 9 LICENSE= GPLv3 GPLv3RLE LICENSE_COMB= multi -ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64 +ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpc64le sparc64 LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ diff --git a/lang/gcc9/files/patch-gcc_configure b/lang/gcc9/files/patch-gcc_configure new file mode 100644 index 000000000000..c83a180b248d --- /dev/null +++ b/lang/gcc9/files/patch-gcc_configure @@ -0,0 +1,11 @@ +--- gcc/configure.orig 2021-04-29 10:19:44 UTC ++++ gcc/configure +@@ -29405,7 +29405,7 @@ $as_echo "#define HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1" + esac + + case "$target:$tm_file" in +- powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) ++ powerpc64*-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*) + case "$target" in + *le-*-linux*) + emul_name="-melf64lppc"