pkgsrc-Users archive

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

Re: databases/mongo-tools fail due to PaX, patch included



On Thu, Jan 5, 2023 at 11:12 AM Paul Ripke <stix%stix.id.au@localhost> wrote:
> Huh. Ok, looking deeper, this seems to be due to cgo... the normal
> workaround is to 'go build -buildmode=pie', which, sadly, does not
> appear supported on netbsd-amd64. This is bigger than just "report
> upstream" :/

Yes, -buildmode=pie is not supported by Go on NetBSD at all. A
contribution would certainly be welcome!

In the absence of PIE support, ISTR that we disable various
mitigations on all Go binaries?


-- 
Benny


Home | Main Index | Thread Index | Old Index