Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2023 15:11:21 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: 444f183cebf8 - main - lang/gcc12: Mark PIE_UNSAFE
Message-ID:  <202302031511.313FBLfU069642@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=444f183cebf8b5e304b143a900e2f70f1e30bde4

commit 444f183cebf8b5e304b143a900e2f70f1e30bde4
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2023-02-03 13:03:28 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-02-03 15:11:03 +0000

    lang/gcc12: Mark PIE_UNSAFE
    
    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/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/gcc12/Makefile b/lang/gcc12/Makefile
index 3987299d1cab..24895e8dc2d5 100644
--- a/lang/gcc12/Makefile
+++ b/lang/gcc12/Makefile
@@ -80,9 +80,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?202302031511.313FBLfU069642>