Re: Softfloat on i386

Benny Siegert <[email protected]>
Newsgroups gmane.os.netbsd.devel.packages
Message-ID <[email protected]>

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.

-- 
Benny
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.