Re: Softfloat on i386

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <CAGN_6pYX4o9pJY6nU3SY4=yz_WW0jn6ieZfzPkeajqRFb9GebQ@mail.gmail.com>
On Sun, 18 Jan 2026 at 13:51, Benny Siegert <[email protected]> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.