Reproduced using go/qemu from the Archive in 21.04.
(I hope that is the error you meant)
$ apt install qemu-user-static
$ apt install golang-go
$ qemu-s390x-static /usr/bin/go
fatal error: cas5
runtime: panic before malloc heap initialized
runtime stack:
runtime.throw(0x61427a, 0x4)
/usr/lib/go-1.16/src/runtime/panic.go:1117 +0x70 fp=0x4000800690
sp=0x4000800668 pc=0x4a5d0
runtime.check()
/usr/lib/go-1.16/src/runtime/runtime1.go:232 +0x3ec fp=0x40008006e0
sp=0x4000800690 pc=0x5d25c
runtime.rt0_go(0x38, 0x5, 0xa, 0x6, 0x1000, 0x7, 0x4000801000, 0x8, 0x0, 0x9,
...)
/usr/lib/go-1.16/src/runtime/asm_s390x.s:141 +0xb2 fp=0x40008007a0
sp=0x40008006e0 pc=0x7ef32
I have a PPA at
https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/4514/+packages
And with that I'll see if this behavior changed ...
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1922010
Title:
[Ubuntu 21.04] IBM Z go binary crashes under Qemu
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1922010/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs