[Qemu-devel] [Bug 1763536] Re: go build fails under qemu-ppc64le-static (qemu-user)

2018-04-25 Thread David Wilder
Thanks for the update, I will test that version and report back ( it may be a few days) -- You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1763536 Title: go build fails under qemu-ppc64le-static

[Qemu-devel] [Bug 1763536] Re: go build fails under qemu-ppc64le-static (qemu-user)

2018-04-17 Thread David Wilder
I will attempt to find an way to re-create without docker. The key is we need a way to create a ppc64le (or arm64) fakeroot with go that we can chroot into. That is easy to do with docker. BTW: the use case using docker and qemu-user-static is becoming fairly common way to cross build container

[Qemu-devel] [Bug 1763536] Re: go build fails under qemu-ppc64le-static (qemu-user)

2018-04-13 Thread David Wilder
FYI: To workaround this issue you can limit the docker container to a single cpu like this: docker run --cpuset-cpus 0 -it cross-test3 go build hello.go This works for docker build as well. docker build--cpuset-cpus 0 . -- You received this bug notification because you are a member of

[Qemu-devel] [Bug 1763536] Re: go build fails under qemu-ppc64le-static (qemu-user)

2018-04-13 Thread David Wilder
I missed a step for reproduction. Step 1 should be: docker run --rm --privileged multiarch/qemu-user-static:register This modprobes binfmt and registers qemu-ppc64le-static as the interpreter for ppc64le executables. -- You received this bug notification because you are a member of qemu-

[Qemu-devel] [Bug 1763536] [NEW] go build fails under qemu-ppc64le-static (qemu-user)

2018-04-12 Thread David Wilder
Public bug reported: I am using qemu-user (built static) in a docker container environment. When running multi-threaded go commands in the container (go build for example) the process may hang, report segfaults or other errors. I built qemu-ppc64le from the upstream git (master). I see the