Re: [Qemu-devel] ELF load command alignment not page-aligned

2019-09-17 Thread Richard Henderson
On 9/17/19 7:40 AM, Peter Maydell wrote: > On Tue, 17 Sep 2019 at 11:49, Philippe Mathieu-Daudé > wrote: >> >> Cc'ing PPC folks and Laurent. >> >> On 9/16/19 11:06 PM, Niccolò Belli wrote: >>> Hi, >>> I'm trying to use qemu-user-static to chroot into a foreign amd64 >>> environment from my ppc64l

Re: [Qemu-devel] ELF load command alignment not page-aligned

2019-09-17 Thread Peter Maydell
On Tue, 17 Sep 2019 at 11:49, Philippe Mathieu-Daudé wrote: > > Cc'ing PPC folks and Laurent. > > On 9/16/19 11:06 PM, Niccolò Belli wrote: > > Hi, > > I'm trying to use qemu-user-static to chroot into a foreign amd64 > > environment from my ppc64le host. > > The host has a 64k page size, while x8

Re: [Qemu-devel] ELF load command alignment not page-aligned

2019-09-17 Thread Laurent Vivier
On 17/09/2019 13:09, Niccolò Belli wrote: > Il 2019-09-17 12:40 Laurent Vivier ha scritto: >> Which version of qemu do you use? >> >> Last time I tested that on my PoweMac G5 (ppc64, qemu-4.0), it worked. > > I'm using 4.1, but I also tried 3.1.1. > > I can get some binaries to work, but lots of

Re: [Qemu-devel] ELF load command alignment not page-aligned

2019-09-17 Thread Niccolò Belli
Il 2019-09-17 12:40 Laurent Vivier ha scritto: Which version of qemu do you use? Last time I tested that on my PoweMac G5 (ppc64, qemu-4.0), it worked. I'm using 4.1, but I also tried 3.1.1. I can get some binaries to work, but lots of them won't. Even debootstrapping a Debian system proves

Re: [Qemu-devel] ELF load command alignment not page-aligned

2019-09-17 Thread Philippe Mathieu-Daudé
Cc'ing PPC folks and Laurent. On 9/16/19 11:06 PM, Niccolò Belli wrote: > Hi, > I'm trying to use qemu-user-static to chroot into a foreign amd64 > environment from my ppc64le host. > The host has a 64k page size, while x86_64 uses 4k. > I get those errors while loading shared libraries: "ELF load

Re: [Qemu-devel] ELF load command alignment not page-aligned

2019-09-17 Thread Laurent Vivier
On 17/09/2019 12:33, Philippe Mathieu-Daudé wrote: > Cc'ing PPC folks and Laurent. > > On 9/16/19 11:06 PM, Niccolò Belli wrote: >> Hi, >> I'm trying to use qemu-user-static to chroot into a foreign amd64 >> environment from my ppc64le host. >> The host has a 64k page size, while x86_64 uses 4k. >

[Qemu-devel] ELF load command alignment not page-aligned

2019-09-16 Thread Niccolò Belli
Hi, I'm trying to use qemu-user-static to chroot into a foreign amd64 environment from my ppc64le host. The host has a 64k page size, while x86_64 uses 4k. I get those errors while loading shared libraries: "ELF load command alignment not page-aligned" Is there any way to fix this? I cannot sim