Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2023 13:01:52 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: 0b8cadc98700 - main - lang/gcc11: Mark PIE_UNSAFE
Message-ID:  <202302031301.313D1qYD081683@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=0b8cadc9870038fe668eae4604b1de4a55c2e6a1

commit 0b8cadc9870038fe668eae4604b1de4a55c2e6a1
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2023-02-03 10:28:25 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2023-02-03 13:01:37 +0000

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

diff --git a/lang/gcc11/Makefile b/lang/gcc11/Makefile
index 0dc1f02f0803..ab6d3d08bd34 100644
--- a/lang/gcc11/Makefile
+++ b/lang/gcc11/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?202302031301.313D1qYD081683>