From nobody Tue Jan 24 00:38:37 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 4P17PT2SZXz2v4hL; Tue, 24 Jan 2023 00:38:37 +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 4P17PT22mpz41Rb; Tue, 24 Jan 2023 00:38:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674520717; 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=XmjuPc0HpHBMhKn/lmxIxdvQECv2Nsk2TFyskEr4NBI=; b=xsV7/qqlxwsM1v3Hy/Rd6/dZWPOxxEFnYF5BotJqLIQ8xem1Euk+9HlkvTrqKMG+LiF7EV tZB6plARtURiJgxxCZyvJI9Jqv06VLqHF4xHtciUJokZ+TmgH4ToAJtUkj72JOe7ET0iG7 LBNynL65dUSnUQEi6koQ9kK7jS9C/DfoH45q1D68H0G+4udtrQL86QXOk1JuOu9pa5PLvM MwnJO7Gtjo2NdyUUBlAEGhsWvfTRubgrd0vA46DKUUGYNdZ+xkL2j/ZgjbGC4P1r/5mVAY ETkcsl3fL7/5/xHqvTd4+Lk+cgGoIqFtFw+1/CoUutqyIXNw6WXHp70jjTaoNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674520717; 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=XmjuPc0HpHBMhKn/lmxIxdvQECv2Nsk2TFyskEr4NBI=; b=XNGXhopYKwsD7MSMiSmhe3QP8jGQzA0sPK/Q+3XNSIObuICBv4E3WouGi0fZ77WXXn079N De1ITpA0UtI41Gf3vngx98QhqMuJsTSlaDdQiuWhuwaMn7BnLERPLFnEvQQ1jYhZPmJkdS MiyVSwUBT7GcDXUMcAbDo29ibhObyBdAPUSCfEEH7QloVsLr29aD3wsIbQsU4A59G5IYWD emiZ5Z6SExhxIB7TBgw2f74s+NrLZ9ZQkUc5wNCJ3IHhnM/JH1344FPTNQXLUHj5uFtJpa 4mAQFXf3bZePLx31u2rjVg41fH2VwhAWMHV5Y+Ov80D03DoMo0b4jLW/sij9mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674520717; a=rsa-sha256; cv=none; b=Wh8ehvcWo+3Jg8iMfFTZYCu+yTcxlN59F+fI77DDQSgZ1w/DVAmxSUksBASqODW/r/qnZu 1PuxmZY+kTofCJssXiOH/I/n1CZM7AFkR9KJSZHWG9B2Rrlg4Q0cMzQuj/+kxD5FkSJkU3 MePXmZlfdp4YFtmhcWjG5pGAXOXd/0QviYi5o92auZjRbimvGM7mvYckiOq1zHaQCDxFEq cmQeY9ESG13K/NgRigxrBNc+xsxVCv/ttd5e9UW1CW35Tuucp0juHem0/2mu/rSB9FvPXP 2cgKg65JAk845LNIq5vFMkzJn6bE8gj3VY0xQLC1tFs3ewi5aqrRUYgI8TAjiw== 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 4P17PT174Czq8n; Tue, 24 Jan 2023 00:38:37 +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 30O0cb4M019002; Tue, 24 Jan 2023 00:38:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 30O0cb1v019001; Tue, 24 Jan 2023 00:38:37 GMT (envelope-from git) Date: Tue, 24 Jan 2023 00:38:37 GMT Message-Id: <202301240038.30O0cb1v019001@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: 08587f681899 - main - lang/gcc13-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: 08587f681899354917a2a8c7b6719bf0b8863b28 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=08587f681899354917a2a8c7b6719bf0b8863b28 commit 08587f681899354917a2a8c7b6719bf0b8863b28 Author: Lorenzo Salvadore AuthorDate: 2023-01-23 23:58:10 +0000 Commit: Lorenzo Salvadore CommitDate: 2023-01-24 00:37:44 +0000 lang/gcc13-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/gcc13-devel/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lang/gcc13-devel/Makefile b/lang/gcc13-devel/Makefile index 25aacb562dc0..e0c28067a1cc 100644 --- a/lang/gcc13-devel/Makefile +++ b/lang/gcc13-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc PORTVERSION= 13.0.1.s20230122 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -88,9 +89,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