| Summary: | dev-lang/go-1.16.x does not build on x86 (go/src/internal/cpu/cpu_x86.s: signal: illegal instruction) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Jouni Rinne <l33tmmx> |
| Component: | Current packages | Assignee: | William Hubbs <williamh> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | major | CC: | geoffrey+gentoo, ionen, sam |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| See Also: | https://github.com/golang/go/issues/44500 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build.log
emerge --info /proc/cpuinfo build.log |
||
|
Description
Jouni Rinne
2021-04-03 08:54:30 UTC
Created attachment 696996 [details]
emerge --info
Created attachment 696999 [details]
/proc/cpuinfo
My guess would be that it's trying to use SSE2 (which you don't have), not that I have such machine to confirm. If you have a non-SSE2 386, the following affects you: https://golang.org/doc/go1.16#386 https://golang.org/doc/go1.15#386 Go 1.15 is the last release to support x87-only floating-point hardware (GO386=387). Future releases will 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). I am not sure what I can do since this is an upstream decision, so please let me know. This may be the issue. (In reply to William Hubbs from comment #4) > I am not sure what I can do since this is an upstream decision, so > please let me know. Well, because it is Google's stupid decision, I don't think you can, or need to do anything. As for me, I need to either stick to go-1.15 for the rest of that old machine's life, or stop using all software needing go. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc46df8c41da1cd54074683f0ca389e92e9a9707 commit dc46df8c41da1cd54074683f0ca389e92e9a9707 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2021-06-06 19:56:50 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2021-06-06 19:56:50 +0000 dev-lang/go: 1.16.5 bump Bug: https://bugs.gentoo.org/779859 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: William Hubbs <williamh@gentoo.org> dev-lang/go/Manifest | 1 + dev-lang/go/go-1.16.5.ebuild | 189 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 190 insertions(+) Please test go 1.16.5; you should be able to build it. Thanks, William I am closing this as needinfo because there has been no response. Please report the status of building go 1.16.x and feel free to re-open this bug if it still can't be built. Thanks, William The machine I was trying to build go-1.16 finally broke down two weeks ago after almost 20 years of service... This heatwave was probably too much for it. Hello, I'm hit by this bug on my (old) HP server (dual pentium III Coppermine). Neither go 1.16.5 nor 1.16.7 build on this machine. I've attached the build.log to the bug report. Created attachment 733105 [details]
build.log
(In reply to Spekadyon from comment #11) > Hello, > > I'm hit by this bug on my (old) HP server (dual pentium III Coppermine). > Neither go 1.16.5 nor 1.16.7 build on this machine. I've attached the > build.log to the bug report. I think this might be a different bug, actually. Could you file a new one please? (In reply to Sam James from comment #13) > (In reply to Spekadyon from comment #11) > > Hello, > > > > I'm hit by this bug on my (old) HP server (dual pentium III Coppermine). > > Neither go 1.16.5 nor 1.16.7 build on this machine. I've attached the > > build.log to the bug report. > > I think this might be a different bug, actually. Could you file a new one > please? Yes, I read the bug report too fast, sorry. I'm opening a new one. |