qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: "Philippe Mathieu-Daudé" <philmd@redhat.com>,
	"Niccolò Belli" <darkbasic@linuxsystems.it>,
	qemu-devel@nongnu.org, "open list:sPAPR" <qemu-ppc@nongnu.org>
Subject: Re: [Qemu-devel] ELF load command alignment not page-aligned
Date: Tue, 17 Sep 2019 12:40:14 +0200	[thread overview]
Message-ID: <e2292382-968a-106f-b10a-e6987a9c3db1@redhat.com> (raw)
In-Reply-To: <9d1ea4ff-a0df-f7c6-54ca-c03b010c5ff1@redhat.com>

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.
>> I get those errors while loading shared libraries: "ELF load command
>> alignment not page-aligned"
>> Is there any way to fix this? I cannot simply switch to 4k page size
>> because my btrfs filesystem won't mount anymore (it requires the
>> sectorsize to be equal to the page size).

Which version of qemu do you use?

Last time I tested that on my PoweMac G5 (ppc64, qemu-4.0), it worked.

Thanks,
Laurent


  reply	other threads:[~2019-09-17 10:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-16 21:06 [Qemu-devel] ELF load command alignment not page-aligned Niccolò Belli
2019-09-17 10:33 ` Philippe Mathieu-Daudé
2019-09-17 10:40   ` Laurent Vivier [this message]
2019-09-17 11:09     ` Niccolò Belli
2019-09-17 11:35       ` Laurent Vivier
2019-09-17 11:40   ` Peter Maydell
2019-09-17 19:12     ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e2292382-968a-106f-b10a-e6987a9c3db1@redhat.com \
    --to=lvivier@redhat.com \
    --cc=darkbasic@linuxsystems.it \
    --cc=philmd@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).