From nobody Sun Jan 22 09:10:33 2023 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 4P06s52Mjcz314LW; Sun, 22 Jan 2023 09:10:33 +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 4P06s51xcKz3MyB; Sun, 22 Jan 2023 09:10:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674378633; 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=3rgLO4eXbz6spz0rYwvhpz0w5Uv9ikNvK0RlUmcnw5E=; b=CnadKCPDGCcyrY9O24to8SA6I+R9VijydtaoenxSv/a6oAPR255ic8KguSky74PwS3dx3A lpRjeyiCj/Yneq7ZUNYgrVU57JzuCu+96E5IPcjLpVPWIYEf++PRi44gHImnn6iGiHi9DF iaBao2FCLgDyUe4P4lpIR7mSW5CusmAK73q4U4zHKadBp0HPF1K4+SJGI0nm65MaW4XOpm wAiVEMl9wHvB4UFqYs4YVXGdhErOlVDNbZV0OnCv6+W30Im2HsqOb4lr5C/cMq2FNZSKcj PVhMRUl5kJJGOyWd9zNNGTVraPY9+xWnPaTZ5xbtkVILN4gvrAz4HPYfRmIxVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674378633; 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=3rgLO4eXbz6spz0rYwvhpz0w5Uv9ikNvK0RlUmcnw5E=; b=PkM5OTjCP9WZDr0W1qS8+sVbNdLMhNokehoAysXmi080SkQy6b4McWfohB/CS7oPqSjY1R PvPJ2coDHJGMXUOpe2XxCSC0dfWxZ/uKspVo/FJ24HS3MER1eTbdxJl3yTOd1Dnyfd1JFJ pp7+jwR4J9StDcNGPdveriC2NhNdUQ6DQj9khmTDavdS9S+22Ebb+1HRb0l9NUsLgxeBgj 6qB9qlmsYtjOcXojTAotI4t5EYvmUdCXRTuz/+IBGcuJiYMJsrYPfp2QT31gDByiz+pcQC 53gqYFnpdqvIqSZ4L7CaWrxfAE1/mgk+MjWGDteMicvqoW5mtnqSww3qIa9DHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674378633; a=rsa-sha256; cv=none; b=nBpEwzv+VLdPUQAL+d0l0ZlD5XJwNbwg9lOf8zfBzbYded/63vkZnFi4C10OlQd3YXSYIj i3y4jeq7ZJNjMTKcfVHcSbMBRnBy9qwtxGtBqP3AVnqDm44m/4wJdcIOEeM2ZabNf/HXNt CZpgcNGuPex8tpuHrOnEyeSOsh5fWitl3qIz6i+qdp19Ro5symRILqr7MR1FYwNnulLYrJ UHmyBRe6wHry2RNvNSnu88CsnFFmykEO0aGajmCxpONhMxIcgcR2+YJj2sJB8xNLP1O9Pc INu7WPwCX8va+f32jeOpa8nD9OQNx+rMDIpnXLzpX4E1siM3h3sslakDp42O/Q== 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 4P06s513l3zkRf; Sun, 22 Jan 2023 09:10:33 +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 30M9AXde038270; Sun, 22 Jan 2023 09:10:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30M9AX2R038269; Sun, 22 Jan 2023 09:10:33 GMT (envelope-from git) Date: Sun, 22 Jan 2023 09:10:33 GMT Message-Id: <202301220910.30M9AX2R038269@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: d10424ba993b - main - lang/gcc11-devel: Mark PIE_UNSAFE if a BOOTSTRAP option is enabled 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: salvadore X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d10424ba993b72ecfb07b1199b8015a4991a2a86 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=d10424ba993b72ecfb07b1199b8015a4991a2a86 commit d10424ba993b72ecfb07b1199b8015a4991a2a86 Author: Lorenzo Salvadore AuthorDate: 2023-01-21 21:00:41 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-01-22 09:09:57 +0000 lang/gcc11-devel: Mark PIE_UNSAFE if a BOOTSTRAP option is enabled Building the port with WITH_PIE fails if STANDARD_BOOTSTRAP or LTO_BOOTSTRAP option is enabled. Mark PIE_UNSAFE when such an option is enabled until a better solution is found. PR: 268901 Reported by: netchild --- lang/gcc11-devel/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lang/gcc11-devel/Makefile b/lang/gcc11-devel/Makefile index 57ce4cc74769..87f2a744d66c 100644 --- a/lang/gcc11-devel/Makefile +++ b/lang/gcc11-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc PORTVERSION= 11.3.1.s20230120 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -86,9 +87,11 @@ CONFIGURE_ARGS+=--disable-bootstrap .elif ${PORT_OPTIONS:MLTO_BOOTSTRAP} CONFIGURE_ARGS+=--with-build-config=bootstrap-lto-noplugin ALL_TARGET= bootstrap-lean +PIE_UNSAFE= yes .else CONFIGURE_ARGS+=--with-build-config=bootstrap-debug ALL_TARGET= bootstrap-lean +PIE_UNSAFE= yes .endif INSTALL_TARGET= install-strip .if ${UID} != 0