From nobody Tue Jun 28 17:24:34 2022 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 6DBB486DD1F; Tue, 28 Jun 2022 17:24:34 +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 4LXWg62Kfxz4vRw; Tue, 28 Jun 2022 17:24:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656437074; 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=S1cTYP3tPNPNiM0kE0QESm4ExYswoC8IJlJ0LlVLGLc=; b=WqFY20qZg0RLejPgBBMlq+t4ahlS4uMDXlSb1WM35D9FSWwiJlR7HQqk/plwJJXNRKuxLS 4Uq0OUWgKVrdm046zDg0hIoTfXow0E478MgRkHOgb6dj2iMj8jbcdUxdW21cqj86/MgKJ8 fu8Ws6ZJd+jX/5c4wy97bI0swMW2CC2sgpraZZzJVFPZ9126SpiNXKTEgdB+20BT8xhbF0 1T0CzRa1Iwxd1dTXS3kVjmtQ5Tcth4GmcLNx9GgyUXuFvYSs21gG+EBfeOQZi3Hf5l3FwI wJV5qdCX6NjCaGQn7qKjqcyBN8D1JPalGHHiU+nb4GqzZ80C8ogY0wvXPY63CA== 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 2882121487; Tue, 28 Jun 2022 17:24:34 +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 25SHOYxQ001106; Tue, 28 Jun 2022 17:24:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25SHOYLL001105; Tue, 28 Jun 2022 17:24:34 GMT (envelope-from git) Date: Tue, 28 Jun 2022 17:24:34 GMT Message-Id: <202206281724.25SHOYLL001105@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: aadf6428cc48 - main - lang/gcc11: disable LTO on armv6/7 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: aadf6428cc480fbeda72ec90d53ef340e95f49ca Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1656437074; 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=S1cTYP3tPNPNiM0kE0QESm4ExYswoC8IJlJ0LlVLGLc=; b=PKpnutjexv2ZJ2s6m0+PJmhDHnDtNKPbC4WTiJK+HKYkRCk6w94sTaJkao11wsaNC2mEGv 0q7K9rfvaqq1VybNubjFcii6hY2t4a37U6WTJWj91FzNmm19YAL5Lt+65vie7DaLjkmwEo nCRh3hQoSxYKVWpR+4fzZn8g4CmGphDZL0HJqpWrIlA+LTHStdcTV8b2on2qR95RsuQCSu x1dPtFNyhIj9v3y3V4dU8Rkqdhbz4J2W+3OCuuT015ugx8c4mPQ4V7cjj+DU+vwbnHvhW7 DNCsw2MxafAD9J0fDm7Q035jE6KeeaEyMaH0sVwt8u/MXXYYZtz/1Gx5xWAYqg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1656437074; a=rsa-sha256; cv=none; b=pX6ODu4aho+F+552bevQUc6uw7VSv9T5FqvcxWG/vBUamgq7bb+2R8Rh23OFjoVeFLQfYy jjlRBCuNM3JlhSGj3LYJ+urk5T2J/1RDIO/4fWzy0yHIqq/DKh1O9zBsKdBCG9TTliQ3Yo xdZSpmKECmFOLHv/jrbQPl9vRcYgTzW5jt9FQJvXfjQw+IFcSSSHU1cKW1TkuDdHVAN6HN 1hSr0tNEGpbA1rauwm4EYOdae3/JZwMoZbtm/b23ZjQtM2QOiGocVulwcNJfC5BxOUOkbt nbNP+8ncuR6ScG52+F0hyOQExX5L7c7RRTk9d0Qz8nWd14Zd4mspLVakLnnr0A== 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=aadf6428cc480fbeda72ec90d53ef340e95f49ca commit aadf6428cc480fbeda72ec90d53ef340e95f49ca Author: Piotr Kubaj AuthorDate: 2022-06-28 17:23:18 +0000 Commit: Piotr Kubaj CommitDate: 2022-06-28 17:24:24 +0000 lang/gcc11: disable LTO on armv6/7 PR: 261977 --- lang/gcc11/Makefile | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile index 87f72649f377..350d5983a9c6 100644 --- a/lang/gcc11/Makefile +++ b/lang/gcc11/Makefile @@ -36,10 +36,18 @@ SUFFIX= ${PORTVERSION:C/([0-9]+).*/\1/} CFLAGS:= ${CFLAGS:N-mretpoline} CXXFLAGS:= ${CXXFLAGS:N-mretpoline} -OPTIONS_DEFINE= BOOTSTRAP GRAPHITE -OPTIONS_DEFAULT= BOOTSTRAP -BOOTSTRAP_DESC= Build using a full bootstrap +OPTIONS_DEFINE= GRAPHITE GRAPHITE_DESC= Support for Graphite loop optimizations +OPTIONS_DEFAULT_aarch64=LTO_BOOTSTRAP +OPTIONS_DEFAULT_amd64= LTO_BOOTSTRAP +OPTIONS_DEFAULT_i386= LTO_BOOTSTRAP +OPTIONS_DEFAULT_powerpc=LTO_BOOTSTRAP +OPTIONS_DEFAULT_powerpc64=LTO_BOOTSTRAP +OPTIONS_DEFAULT_powerpc64le=LTO_BOOTSTRAP +OPTIONS_RADIO= BOOTSTRAP +OPTIONS_RADIO_BOOTSTRAP= LTO_BOOTSTRAP STANDARD_BOOTSTRAP +LTO_BOOTSTRAP_DESC= Build using a full LTO bootstrap +STANDARD_BOOTSTRAP_DESC= Build using a full bootstrap without LTO .if exists(/usr/lib32/libc.so) OPTIONS_DEFINE_amd64+= MULTILIB @@ -67,11 +75,14 @@ TARGLIB32= ${PREFIX}/lib32 # The version information is added later LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} GNU_CONFIGURE= yes CONFIGURE_OUTSOURCE= yes -.if empty(PORT_OPTIONS:MBOOTSTRAP) +.if empty(PORT_OPTIONS:M*BOOTSTRAP) CONFIGURE_ARGS+=--disable-bootstrap -.else +.elif ${PORT_OPTIONS:MLTO_BOOTSTRAP} CONFIGURE_ARGS+=--with-build-config=bootstrap-lto-noplugin ALL_TARGET= bootstrap-lean +.else +CONFIGURE_ARGS+=--with-build-config=bootstrap-debug +ALL_TARGET= bootstrap-lean .endif INSTALL_TARGET= install-strip .if ${UID} != 0