qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] meson: remove -no-pie linker flag


From: Paolo Bonzini
Subject: Re: [PATCH] meson: remove -no-pie linker flag
Date: Tue, 23 May 2023 10:02:51 +0200

On Tue, May 23, 2023 at 10:00 AM Daniel P. Berrangé <berrange@redhat.com> wrote:
> I'm curious why we need to do anything ?  I would have thought that meson
> should handle 'b_pie' itself, passing the right args to $CC that it feels
> are appropriate. I don't recall seeing other apps using meson trying to
> handle b_pie logic - what's special about QEMU ? IOW, is it possible to
> delete this entire b_pie condition and thus avoid worrying about this
> problem ?

The issue is that Meson only has "enable PIE" or "leave PIE to the
compiler default", while QEMU also has "disable PIE"---which is the
messy one.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]