[Expired for QEMU because there has been no activity for 60 days.]
** Changed in: qemu
Status: Incomplete => Expired
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886793
Title:
"go
I used the command "docker run --rm --privileged multiarch/qemu-user-static
--reset -p yes".
This pulls the latest one automatically.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886793
Title:
** Changed in: qemu
Status: New => Incomplete
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886793
Title:
"go install" command fails while running inside s390x docker container
on x86_64
Using latest greatest go from https://golang.org/dl/
[root@atomic-00 hello]# /usr/local/go/bin/go version
go version go1.15.7 linux/s390x
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886793
Which qemu version do you end up using? "/usr/bin/qemu-s390x-static"
*usually* refers to the one provided by your distro, not your custom
build.
FWIW, I just installed go under Fedora 32 (which uses a slightly older
version of go):
[root@atomic-00 ~]# uname -a
Linux atomic-00
Any update on this?
Tried on fresh env, Illegal instruction (core dumped), and Segmentation fault
(core dumped) errors are still thrown with go commands.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
Here is the output of the steps I tried:
root@11:~# cat /proc/sys/fs/binfmt_misc/qemu-s390x
enabled
interpreter /usr/bin/qemu-s390x-static
flags: F
offset 0
magic 7f454c46020201020016
mask ff00fffe
debootstrap --arch=s390x --foreign sid
Let me try again using the following commands on a fresh x86 host.
#apt install debootstrap
#debootstrap_dir=debootstrap
#debootstrap --arch=s390x --foreign sid "$debootstrap_dir"
#sudo mkdir -p "${debootstrap_dir}/usr/bin"
#sudo cp "$(which qemu-s390x-static)" "${debootstrap_dir}/usr/bin"
#sudo
Le 23/11/2020 à 12:03, Nirman Narang a écrit :
> Any update on this?
> I tried the latest version of qemu-user-static, it still fails with the same
> error.
>
It works fine for me. Perhaps your chroot has been corrupted by your
previous attempts
--
You received this bug notification because
Any update on this?
I tried the latest version of qemu-user-static, it still fails with the same
error.
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886793
Title:
"go install" command fails
I ran the following commands:
#apt install debootstrap
#debootstrap_dir=debootstrap
#debootstrap --arch=s390x --foreign sid "$debootstrap_dir"
#sudo mkdir -p "${debootstrap_dir}/usr/bin"
#sudo cp "$(which qemu-s390x-static)" "${debootstrap_dir}/usr/bin"
#sudo cp "$(which qemu-s390x)"
I will try the same and will report here soon.
What about the issue with getting a go s390x environment inside and
s390x container running on x86 host using qemu-user-static? (This
problem is also mentioned in the main issue above. This is the ultimate
target which needs to be achieved, I want to
If you install go directly in your host system you must also install the
libraries of s390x somewhere (except if it statically linked).
The easiest way to test this is to install debian chroot, with something
like:
Check binftm_misc is configured:
# cat /proc/sys/fs/binfmt_misc/qemu-s390x
Cloned qemu source code, checked out latest tag v5.0.0, built and
installed the same on x86 Ubuntu host using "make" and "make install".
root:~# qemu-s390x --version
qemu-s390x version 5.0.0 (v5.0.0-dirty)
Copyright (c) 2003-2020 Fabrice Bellard and the QEMU Project developers
root:~# wget -q
Could you try to reproduce the problem with the latest version of QEMU
from git repo?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1886793
Title:
"go install" command fails while running inside
One more thing which I tried:
I installed qemu on x86 Ubuntu host with apt-get install.
Extracted s390x go 1.14.2 binaries on the same. Ran the following commands:
root:~ wget -q https://storage.googleapis.com/golang/go1.14.2.linux-s390x.tar.gz
root@:~# chmod ugo+r go1.14.2.linux-s390x.tar.gz
16 matches
Mail list logo