Re: i386 baseline issue for Go packages in Bookworm

2021-04-24 Thread Shengjing Zhu
On Sun, Apr 18, 2021 at 1:09 AM 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

Re: i386 baseline issue for Go packages in Bookworm

2021-04-21 Thread Matthias Klose
On 4/17/21 7:09 PM, 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

Re: i386 baseline issue for Go packages in Bookworm

2021-04-18 Thread Shengjing Zhu
On Sun, Apr 18, 2021 at 5:18 AM Tianon Gravi wrote: > > On Sat, 17 Apr 2021 at 10:10, Shengjing Zhu wrote: > > 1. Raise the i386 baseline to SSE2. > > 2. Downgrade the Go packages to softfloat. > > 3. Build all Go packages with GCCGO on i386. > > We've been setting "GO386=387" since src:golang

Re: i386 baseline issue for Go packages in Bookworm

2021-04-17 Thread Adrian Bunk
On Sat, Apr 17, 2021 at 10:32:26PM +0500, Andrey Rahmatullin wrote: >... > 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

Re: i386 baseline issue for Go packages in Bookworm

2021-04-17 Thread Tianon Gravi
On Sat, 17 Apr 2021 at 10:10, Shengjing Zhu wrote: > 1. Raise the i386 baseline to SSE2. > 2. Downgrade the Go packages to softfloat. > 3. Build all Go packages with GCCGO on i386. We've been setting "GO386=387" since src:golang was introduced, so 2. is already the reality. :D What makes Go

Re: i386 baseline issue for Go packages in Bookworm

2021-04-17 Thread Andrey Rahmatullin
On Sun, Apr 18, 2021 at 01:42:51AM +0800, Shengjing Zhu wrote: > On Sun, Apr 18, 2021 at 1:32 AM Andrey Rahmatullin wrote: > > 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. > >

Re: i386 baseline issue for Go packages in Bookworm

2021-04-17 Thread Shengjing Zhu
On Sun, Apr 18, 2021 at 1:32 AM Andrey Rahmatullin wrote: > 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. Just FTR, it does't apply to Go packages, as all Go packages are written

Re: i386 baseline issue for Go packages in Bookworm

2021-04-17 Thread Andrey Rahmatullin
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

i386 baseline issue for Go packages in Bookworm

2021-04-17 Thread Shengjing Zhu
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).