[Bug 268907] ports-mgmt/pkg: not WITH_PIE safe

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Jan 2023 12:33:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268907

            Bug ID: 268907
           Summary: ports-mgmt/pkg: not WITH_PIE safe
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: pkg@FreeBSD.org
          Reporter: netchild@FreeBSD.org
          Assignee: pkg@FreeBSD.org
             Flags: maintainer-feedback?(pkg@FreeBSD.org)

Hi,

building the port with WITH_PIE makes it fail (error message tells that ld
can't relocate a specific symbol and that it should be recompiled wiht -fPIE).
Until this is fixed, the port should get PIE_UNSAFE=yes in the Makefile (this
fixes the build for me).

Bye,
Alexander.

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