root@11:/# uname -a
Linux 4.15.0-123-generic #126-Ubuntu SMP Wed Oct 21 09:40:11 UTC 2020 s390x GNU/Linux
Then tried to install the golang version mentioned below:
golang | 2:1.15~1 | http://deb.debian.org/debian sid/main s390x Packages
root@11:/# go version
Illegal instruction (core dumped)
root@11:/# go version -v
Segmentation fault (core dumped)
The error is the same as the one faced while implementing the s390x container using qemu-user-static on x86 machine with go install commands as mentioned in the main issue above.
Here is the output of the steps I tried:
root@11:~# cat /proc/sys/ fs/binfmt_ misc/qemu- s390x qemu-s390x- static 000000000000000 0000020016 0ffffffffffffff fffffeffff
enabled
interpreter /usr/bin/
flags: F
offset 0
magic 7f454c460202010
mask ffffffffffffff0
debootstrap --arch=s390x --foreign sid chroot-s390x_dir
cp -f /usr/bin/ qemu-s390x- static /root/chroot- s390x_dir/ usr/bin/
chmod +x /root/chroot- s390x_dir/ usr/bin/ qemu-s390x- static
chroot chroot-s390x_dir /debootstrap/ debootstrap --second-stage --verbose
chroot chroot-s390x_dir/
root@11:/# uname -a
Linux 4.15.0-123-generic #126-Ubuntu SMP Wed Oct 21 09:40:11 UTC 2020 s390x GNU/Linux
Then tried to install the golang version mentioned below: deb.debian. org/debian sid/main s390x Packages
golang | 2:1.15~1 | http://
root@11:/# go version
Illegal instruction (core dumped)
root@11:/# go version -v
Segmentation fault (core dumped)
The error is the same as the one faced while implementing the s390x container using qemu-user-static on x86 machine with go install commands as mentioned in the main issue above.