On 2019/11/07 23:12, Theo Buehler wrote: > I was trying to debug a WIP port, so I compiled it with '-g -O0' on my > amd64 laptop. When trying to execute the binary, I got > > $ ./lean > ksh: ./lean: Cannot allocate memory
Oh I have seen this too, when I was trying to get an -O0 debug buil of icinga2 for upstream to aee if they could figure out what is weird about signals on OpenBSD. I didn't track it as far as PT_OPENBSD_RANDOMIZE but it seems likely, I'll try with the snapshot. (Info at https://marc.info/?l=openbsd-ports&m=157134213701532&w=2 if anyone wants a challenge, I can send instructions for a standalone build if someone wants a challenge but hates ports ;-))
