Hello,

> The purego package, which calls C libraries without CGO, does not (at
> least officially) support OpenBSD, [...]

It very much doesn't and changing that is non-trivial as OpenBSD doesn't
support syscall() anymore.

See https://github.com/ebitengine/purego/issues/454

On Sun, 2026-09-20 at 12:52 +0000, Yon wrote:
> Hi,
> 
> On Sun, Sep 20, 2026 at 12:06:28PM +0000, Niels Müller Larsen wrote:
> >  $ go run guitest10.go
> > # github.com/ebitengine/purego
> > ../../../go/pkg/mod/github.com/ebitengine/[email protected]/struct_amd64
> > .go:12:46: undefined: syscall15Args
> > 
> > I am on go 1.26.2
> > 
> > I hope someone has a hint for me.
> 
> The purego package, which calls C libraries without CGO, does not
> (at least officially) support OpenBSD, and those tk9 bindings rely
> on it. CGO is the portable way, so I'd look for a CGO-based GUI
> library: for example gioui or the (unmaintained) "gothic" bindings
> for tk8.6 (or some maintained fork).
> 
> Yon
> 


Reply via email to