Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Nov 2023 07:06:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 275039] dns/void-zones-tools: not WITH_PIE safe
Message-ID:  <bug-275039-7788-1fCaX8thsA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275039-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275039-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275039

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fuz@FreeBSD.org

--- Comment #3 from Robert Clausecker <fuz@FreeBSD.org> ---
This patch doesn't look right as it now unconditionally adds -fpic, even if=
 we
create a position-dependent binary.

I don't get why you had -fno-pic in there in the first place.  If you just
remove that flag, I suspect it'll just work as expected.

Failing that, please change the port so -fpic is only passed if WITH_PIE is
set.  E.g. you can do=20

    CFLAGS+=3D ${WITH_PIE:D-fpic}

in the port Makefile.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275039-7788-1fCaX8thsA>