From nobody Thu Apr 21 19:43:41 2022 X-Original-To: dev-commits-ports-all@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 7DB67199CB91; Thu, 21 Apr 2022 19:43:41 +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 4Kknz135Vtz3LKV; Thu, 21 Apr 2022 19:43:41 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650570221; 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=Ol1nh8xMSxyi17z4n8zm0/1Loom1ebmuB/o8ckHk5Ho=; b=EOotp+R4JEPGNrTnuc4bifcVKnvSVFbDu5ftrwVv6RzWNDf8qGilDjuX/9OB74dwa+p2/f c1/YFu9mtxJooR7P/uNYjI9W/JFy9AjJCo6Kcrj1IGKW8Hg74OCQgBpD01ElhrPHc/RYZb tvns7eW98HcWLYU8eXFdQbhEEchZqpPOGY5qdgIs92ACVpnM7Vy0C/qqZA9JJ6wqMK1jfn a1aHcqq6yQ1bqRKgm0ea/e/TBM3f8gSQt5lHYrRUjIpRIq6Ak2Y8dyc7v3D6dW5g2FgWjk WX9XNBlIjbRex6Uy0d/M4F/Pm/REOTw01neBdhDb+J+czVbcm5Qdmtf7GmvaeQ== 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 4A3587284; Thu, 21 Apr 2022 19:43:41 +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 23LJhfY4088999; Thu, 21 Apr 2022 19:43:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23LJhfpG088998; Thu, 21 Apr 2022 19:43:41 GMT (envelope-from git) Date: Thu, 21 Apr 2022 19:43:41 GMT Message-Id: <202204211943.23LJhfpG088998@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: 2200a356e4b7 - main - lang/gcc12-devel: disable LTO on armv6/7 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 2200a356e4b7e83058a1fb48d01326bfe8772909 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650570221; 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=Ol1nh8xMSxyi17z4n8zm0/1Loom1ebmuB/o8ckHk5Ho=; b=pI1MFQxMk7WiS+N+wTCYd4cNikq0qluQqUESXKtEDeZkBB6yxjnwxBBLOrPaKa/noWwOSM YlkkBk/Cm7NaM/SQh0P2cBUOsTAaQe4iJ+lhDuw97hqdHucezcWbB8fhDKYsUlFxGvMXlG E6Lz1XNWcgenAEint2DvicyMZiXDBruNH4rczpb2+SGPK19+CuO5ceonFFwBKjqWzO5jOC OkXH38nzxeGGqbDJTeFXPC4rzunpEtEAf2FXtB5Cj/IYnR8wnIOUzcvN/FN1/+w5ylsrfI N46z6cmzzMzPSt11QugdR+WqS43vlFLxwIx03hD54zeYt2u8//5rFqK24tivJw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650570221; a=rsa-sha256; cv=none; b=LQmsKWjXIS8qtA+x12q59umKrNQZL8Xl9V71TYCv7ZEelFlVcs9NqoRtmIc4E30IahNnvp f9qHw6moE1HMZpkLKpocPMhxG5ZGM8J4cp4aYlNQYlce1CBW+r//1WTkVfG5u40Cj2NgGm Vgy1HfrFoTSDoYHGR3gI3zZWlATRW4uEWT3j3kllqaymSiO/J/ipqWX4DmuocADfIqNqY1 Hlx3+Y7WN3hNl9ZY9UxpvsVveyT7WhF1lCVX5EPC690X7XRw3kzjF/DJs461tE8HEXVEMI 2LFIMAx1JsuGgsmsSyW2pehNGgCbv+lGpklvLDo/V7lZ2z3Ix03OMs/6TfdP2Q== 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=2200a356e4b7e83058a1fb48d01326bfe8772909 commit 2200a356e4b7e83058a1fb48d01326bfe8772909 Author: Piotr Kubaj AuthorDate: 2022-04-21 19:40:05 +0000 Commit: Piotr Kubaj CommitDate: 2022-04-21 19:40:05 +0000 lang/gcc12-devel: disable LTO on armv6/7 PR: 261977 Requested by: fuz@fuz.su --- lang/gcc12-devel/Makefile | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index 11ff23a9e40e..f814e2948aee 100644 --- a/lang/gcc12-devel/Makefile +++ b/lang/gcc12-devel/Makefile @@ -42,9 +42,17 @@ 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 +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 GRAPHITE_DESC= Support for Graphite loop optimizations .if exists(/usr/lib32/libc.so) @@ -80,11 +88,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