tech-pkg archive

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

Re: Softfloat on i386



On Sun, 18 Jan 2026 at 13:51, Benny Siegert <bsiegert%netbsd.org@localhost> wrote:
>
> On Sun, 18 Jan 2026, David Brownlee wrote:
>
> > Adding "GOOPT+= GO386=softfloat" and building a fresh go bootstrap
> > (go14 -> go118 -> go120 -> go122 -> go125) in the build for
> > wireguard-go
>
> This is the correct option.
>
> > That is, the following packages should have it (technically 123 and 124
> > are not used in a default build, but it should apply in case anyone
> > tries to build them for a specific reason)
> > - go120
> > - go122
> > - go123
> > - go124
> > - go125
>
> I am a bit fuzzy, but I think that setting the variable when building
> wireguard-go should suffice. The compiler can always emit both. And the
> standard library is recompiled as needed. So if you set GO386 when
> building wireguard *only*, the package should still work on your 586
> machine.

Ah, so this could entirely be a go-package and go-module related
option - not needed for the go compiler builds at all?

Will retest when I have a chance

David


Home | Main Index | Thread Index | Old Index