-
Notifications
You must be signed in to change notification settings - Fork 17.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
internal/bytealg: SIGILL on s390x #41552
Comments
CC @mundaym |
Thanks for the bug report @richatbawag. A few requests:
The illegal instruction is pointing at an LGR instruction, but that is very unlikely to be accurate. Most likely the error is coming from the instruction before, a VLL instruction. We should only be trying to execute that if the vector facility is installed, but maybe the logic is slightly wrong. |
vendor_id : IBM/S390 # processors : 2 bogomips per cpu: 24038.00 max thread id : 0 features : esan3 zarch stfle msa ldisp eimm dfp etf3eh highgprs sie facilities : 0 1 2 3 4 6 7 10 12 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 48 49 50 51 52 53 55 57 74 75 76 77 80 81 82 128 168 cache0 : level=1 type=Data scope=Private size=128K line_size=256 associativity=8 cache1 : level=1 type=Instruction scope=Private size=128K line_size=256 associativity=8 cache2 : level=2 type=Data scope=Private size=4096K line_size=256 associativity=8 cache3 : level=2 type=Instruction scope=Private size=4096K line_size=256 associativity=8 cache4 : level=3 type=Unified scope=Shared size=262144K line_size=256 associativity=32 cache5 : level=4 type=Unified scope=Shared size=983040K line_size=256 associativity=60 processor 0: version = FF, identification = 0008F8, machine = 2964 processor 1: version = FF, identification = 0008F8, machine = 2964 cpu number : 0 cpu MHz dynamic : 5200 cpu MHz static : 5200 cpu number : 1 cpu MHz dynamic : 5200 cpu MHz static : 5200
A real machine, no qemu
Fails again. go1.14.9 works |
Thanks for the information. Looks like you are running a z13 with the vector facility disabled. I think I know what the issue is. CL 156998 added calls to Requiring callers to check |
Change https://golang.org/cl/256717 mentions this issue: |
@gopherbot Please create backport issue for Go 1.15. This bug means that |
Backport issue(s) opened: #41595 (for 1.15). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://golang.org/wiki/MinorReleases. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes (currently this is the latest release)
What operating system and processor architecture are you using (
go env
)?Linux Ubuntu 18.04.5 LTS, s390x
go env
OutputWhat did you do?
go_1.15.2_build_form_source_tests_fail_s390x.txt
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: