Re: error when compiling lang/go

2023-06-19 Thread Theo de Raadt
Theo Buehler wrote: > On Mon, Jun 19, 2023 at 08:50:44AM -0600, Theo de Raadt wrote: > > If you disable XSAVE_XSAVES, then userland IBT enforcement is also disabled. > > > > XSAVES is required to manage the IBT enforcement mechanism's internal state > > over a context switch. > > > > All machin

Re: error when compiling lang/go

2023-06-19 Thread Theo Buehler
On Mon, Jun 19, 2023 at 08:50:44AM -0600, Theo de Raadt wrote: > If you disable XSAVE_XSAVES, then userland IBT enforcement is also disabled. > > XSAVES is required to manage the IBT enforcement mechanism's internal state > over a context switch. > > All machines with IBT have XSAVES. The thing

Re: error when compiling lang/go

2023-06-19 Thread Theo de Raadt
If you disable XSAVE_XSAVES, then userland IBT enforcement is also disabled. XSAVES is required to manage the IBT enforcement mechanism's internal state over a context switch. All machines with IBT have XSAVES. If I understand right, there are other ways of managing the state, but this is the on

Re: error when compiling lang/go

2023-06-19 Thread Theo Buehler
On Mon, Jun 19, 2023 at 04:31:19PM +0200, Solene Rapenne wrote: > Hi, I can't get lang/go to compile on my system, which is a Xen VM. > > I can compile almost anything, including qt or webkitgtk, but lang/go > is failing with various errors each time. I'm not sure it's a XEN bug > though, maybe an

error when compiling lang/go

2023-06-19 Thread Solene Rapenne
Hi, I can't get lang/go to compile on my system, which is a Xen VM. I can compile almost anything, including qt or webkitgtk, but lang/go is failing with various errors each time. I'm not sure it's a XEN bug though, maybe an issue with recent IBT? kern.version=OpenBSD 7.3-current (GENERIC.MP) #12