From nobody Wed Sep 10 10:12:14 2025 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 4cMGhG6R7Hz67NkD; Wed, 10 Sep 2025 10:12:14 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cMGhG5kV4z3ZK1; Wed, 10 Sep 2025 10:12:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757499134; 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=aneWKsrgMzxVhhaBr73Q1Qi956SLk/eARkWvcNrH5TY=; b=pmg+R+hNMeiV7i1wMiumy1EPWiHYvuQRrESP9cAan2P+4VV+eoC8C6yHZEdcY1XmleG2o4 4YBXtJlCHGt0FHNa80GvPpQBtjLZ219zn+spoA/8HxJ4Y7qKGhgsV4sEgmTB/Rv8TG+Vm1 1wrRuH5ADdd8T/HlWJzerNB9wvL+KQuBjGS6xPzuTsR/5N/kcG2ClWORcxoZD/0byG9DEM M3Z+IHlhaRMxUR698+BeD+myp1T7mkQsZD5IRZvZC4UJ1TjOOfPGovHIkHclCIkINg/vei LpP1Z+44UhpyYx/+I/MXDSYVMRWUrZY9nu6XIJnHuqDFBG32Xy0shfAeIEHCtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1757499134; 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=aneWKsrgMzxVhhaBr73Q1Qi956SLk/eARkWvcNrH5TY=; b=l7E6v/W2Wlf264Mhtw7Zfolqn2wfqJUxBRuAUJKPhBFZtZYZAdPPSSWXqiQxURYfbPJbaO gE9qIPqY+WDq4WIp9LfoYJd7qP8N+m6p83qYTjhGc6foa550wwinsGRSHNrNnGyLZRDeLa pbVhyA59YbqQh0lwEalxtY2EmHqnlAmCoqPA11jeu4r155olXgZ/NXIoq8NmgX4fEdhE8G 5b21bUsAj4HfDWtRHDPuiW7dkRZK1ZYpJVA5XQASv9VAZQCtFPib8ZVYOFsl7ykWNc/FFM XiYy+jwCQq4KyZaWyKKMLOhB06cNGt3L9FKq8D6cRUtTGah4pgitLydIdAM2jw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1757499134; a=rsa-sha256; cv=none; b=QVQGIsVT/csK72zWGFVSnoLfTXaLuy3HFzpAi5zBcZR8tEVRB+NbN1SP4xiX+AJsOQN/R6 kG8Klw34SWI0MviuLTL2aRVb08ARPU60VJzlox69Nr1Uv3R43JGVMjWAPsZ5YZCzOeMkXT IV0XUPntCwWdTsMKOWGOnuUFd418OnspwCWRyh5cd0o3YnK2Eyvmzia6Fw4WEY+Z0uXDcS ZfspfZLsJVh+PYJ1y6Ps7bo4wTWgLtftXO7VwLW4FpPqNV97G+LAZBj6XMauF0qXKN50Gw mDRpjphrb7qGakcYS+0PKMUHRw8AcsPmF2MOg4KijgRXnJvdw6QCHjjoCi1K7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cMGhG5D5Qz1t1; Wed, 10 Sep 2025 10:12:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 58AACEjj008315; Wed, 10 Sep 2025 10:12:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 58AACESQ008312; Wed, 10 Sep 2025 10:12:14 GMT (envelope-from git) Date: Wed, 10 Sep 2025 10:12:14 GMT Message-Id: <202509101012.58AACESQ008312@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Lorenzo Salvadore Subject: git: 0683db4d8cc6 - main - lang/gcc14: Build jit only when bootstrap is on 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0683db4d8cc67701799ea3c9eafd3dce1cb5b9d1 Auto-Submitted: auto-generated The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=0683db4d8cc67701799ea3c9eafd3dce1cb5b9d1 commit 0683db4d8cc67701799ea3c9eafd3dce1cb5b9d1 Author: Lorenzo Salvadore AuthorDate: 2025-09-03 12:14:58 +0000 Commit: Lorenzo Salvadore CommitDate: 2025-09-10 10:09:57 +0000 lang/gcc14: Build jit only when bootstrap is on Building jit without bootstrap does not work, so we add jit to the enabled languages only if a bootstrap option has been selected. Indeed, building GCC on FreeBSD with FreeBSD's default compiler (clang) and without bootstraping it is not fully supported. See e-mail https://lists.freebsd.org/archives/dev-commits-ports-main/2025-August/160223.html for more details. Reported by: vishwin --- lang/gcc14/Makefile | 6 +++++- lang/gcc14/pkg-help | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/lang/gcc14/Makefile b/lang/gcc14/Makefile index 29e119905af3..3f2d7cf4848d 100644 --- a/lang/gcc14/Makefile +++ b/lang/gcc14/Makefile @@ -80,7 +80,11 @@ CONFIGURE_TARGET= x86_64-portbld-${OPSYS:tl}${OSREL} CONFIGURE_ARGS+= --with-abi=elfv2 .endif -LANGUAGES:= c,c++,objc,fortran,jit +LANGUAGES= c,c++,objc,fortran +.if ${ARCH} != i386 && !empty(PORT_OPTIONS:M*BOOTSTRAP) +LANGUAGES:= ${LANGUAGES},jit +.endif + TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} TARGLIB32= ${PREFIX}/lib32 # The version information is added later LIBEXEC= ${PREFIX}/libexec/gcc${SUFFIX} diff --git a/lang/gcc14/pkg-help b/lang/gcc14/pkg-help index 9030bbb28d3f..632e1c65f816 100644 --- a/lang/gcc14/pkg-help +++ b/lang/gcc14/pkg-help @@ -1,3 +1,6 @@ Building this port with LTO_BOOTSTRAP enabled requires significant amounts of memory and time. Consider disabling LTO_BOOTSTRAP in favor of STANDARD_BOOTSTRAP -(or disabling BOOTSTRAP altogether) in case that is a problem. +in case that is a problem. + +Note that disabling bootstrap altogether is possible, but not recommended: some +features (e.g. jit) requires you to choose a bootstrap option to be enabled.