On 9/19/20 8:56 AM, Paolo Bonzini wrote:
> Because most files in QEMU are grouped into static libraries, Meson
> conservatively
> compiles them with -fPIC. This is overkill and produces slowdowns up to 20%
> on
> some TCG tests.
>
> As a stopgap measure, use the b_staticpic option to limit the
Cc'ing Aleksandar as Ahmed is away.
On 9/19/20 5:56 PM, Paolo Bonzini wrote:
> Because most files in QEMU are grouped into static libraries, Meson
> conservatively
> compiles them with -fPIC. This is overkill and produces slowdowns up to 20%
> on
> some TCG tests.
>
> As a stopgap measure, use
Because most files in QEMU are grouped into static libraries, Meson
conservatively
compiles them with -fPIC. This is overkill and produces slowdowns up to 20% on
some TCG tests.
As a stopgap measure, use the b_staticpic option to limit the slowdown to
--enable-pie. https://github.com/mesonbuild