Date: Mon, 23 Jan 2023 00:16:19 GMT From: Lorenzo Salvadore <salvadore@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 80494beb2239 - main - lang/gcc12-devel: Mark PIE_UNSAFE if a BOOTSTRAP option is enabled Message-ID: <202301230016.30N0GJMa026362@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by salvadore: URL: https://cgit.FreeBSD.org/ports/commit/?id=80494beb223980f77d45bc8797253d284da8acbb commit 80494beb223980f77d45bc8797253d284da8acbb Author: Lorenzo Salvadore <salvadore@FreeBSD.org> AuthorDate: 2023-01-22 19:43:10 +0000 Commit: Lorenzo Salvadore <salvadore@FreeBSD.org> CommitDate: 2023-01-23 00:15:46 +0000 lang/gcc12-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/gcc12-devel/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lang/gcc12-devel/Makefile b/lang/gcc12-devel/Makefile index 0ca63d02dbc1..9d3b9ca81d78 100644 --- a/lang/gcc12-devel/Makefile +++ b/lang/gcc12-devel/Makefile @@ -1,5 +1,6 @@ PORTNAME= gcc PORTVERSION= 12.2.1.s20230121 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= GCC/snapshots/${DIST_VERSION} PKGNAMESUFFIX= ${SUFFIX}-devel @@ -87,9 +88,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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202301230016.30N0GJMa026362>