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: Michael Tokarev
Subject: Re: [PATCH] meson: remove -no-pie linker flag
Date: Tue, 23 May 2023 10:52:27 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0

22.05.2023 18:54, Richard Henderson wrote:
..
-no-pie is a linker flag, but distro folk that didn't quite know what they were doing made local changes to gcc's specs file.  So it *is* a compiler command-line flag, but only for some builds of gcc.

Which distros is that? Debian?
Patching gcc spec file like this - if that's true - is a way to disaster,
and should be stopped.

Thanks,

/mjt
We can't just remove -no-pie, we need to probe for it as 
cc.get_supported_arguments instead of cc.get_supported_link_arguments.

Or something.  It's a mess, for sure.


r~






reply via email to

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