pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/podman - working on netbsd?



On 9/12/26 8:16 AM, P Gman wrote:

If NetBSD requires Position Independent Code, as suggested by some
google searches, you may need to clean and replace with the following
flags (as always, with your discretion):

No, it doesn't require PIC, but it may very well default to building PIE and if the compiler flags are not properly handled by the package, the error would happen.

LDFLAGS+=       -Wl,-z,notext

NEVER add that flag. It will just make the binary not work out of the box on any system with PAX m-protect enabled and there is absolutely no justification ever for text relocations on x86_64.

Joerg



Home | Main Index | Thread Index | Old Index