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

Re: i386 baseline issue for Go packages in Bookworm



On Sun, Apr 18, 2021 at 01:09:40AM +0800, Shengjing Zhu wrote:
> Hi,
> 
> As the release of Go 1.16, upstream no longer supports x87-only floating-point.
> 
> https://golang.org/doc/go1.16#386
> 
> > require at least SSE2 support on 386, raising Go's minimum GOARCH=386
> > requirement to the Intel Pentium 4 (released in 2000) or
> > AMD Opteron/Athlon 64 (released in 2003).
> 
> So we have 3 options for Go packages on i386 in Bookwarm.
> 
> 1. Raise the i386 baseline to SSE2.
> 2. Downgrade the Go packages to softfloat.
> 3. Build all Go packages with GCCGO on i386.
> 
> As for the option 3, I don't how best is supported by upstream.
> But most packages may work, if some specific packages FTBFS after switching
> to GCCGO, they need to be removed on i386 unfortunately.
> 
> What people prefer for the 3 options?
Either 
1) decide "the i386 architecture is for retrocomputing" and disable
building on it for packages that can't run on retro hardware, or 
2) decide "the i386 architecture is for the legacy software" and raise the
baseline to match the amd64 one,
2a) also don't build non-library packages there.
Or we could make two architectures, I guess.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: