mbox series

[0/3] Fix the build on CentOS 7

Message ID 20230810215706.1394220-1-iii@linux.ibm.com
Headers show
Series Fix the build on CentOS 7 | expand

Message

Ilya Leoshkevich Aug. 10, 2023, 9:51 p.m. UTC
Hi,

I know that CentOS 7 is not tested anymore, but unfortunately it's the
only ppc64le system that I have, so I had to fix a few build issues
that crept in since the testing stopped. The fixes are simple and may
be helpful to people in the same situation.

Best regards,
Ilya

Ilya Leoshkevich (3):
  linux-user: Fix the build on systems without SOL_ALG
  linux-user: Fix the build on systems without MAP_SHARED_VALIDATE
  linux-user: Fix the build on systems without MADV_{KEEP,WIPE}ONFORK

 linux-user/mmap.c    | 1 +
 linux-user/syscall.c | 3 +++
 2 files changed, 4 insertions(+)

Comments

Daniel P. Berrangé Aug. 17, 2023, 11:03 a.m. UTC | #1
On Thu, Aug 10, 2023 at 11:51:30PM +0200, Ilya Leoshkevich wrote:
> Hi,
> 
> I know that CentOS 7 is not tested anymore, but unfortunately it's the
> only ppc64le system that I have, so I had to fix a few build issues
> that crept in since the testing stopped. The fixes are simple and may
> be helpful to people in the same situation.

Actually it is more than not tested. CentOS 7 is explicitly
unsupported per our platform support matrix:

https://www.qemu.org/docs/master/about/build-platforms.html

and thus we will *intentionally* delete backwards compatibility code
that it needs, in order to simplify QEMU's codebase.

> Ilya Leoshkevich (3):
>   linux-user: Fix the build on systems without SOL_ALG
>   linux-user: Fix the build on systems without MAP_SHARED_VALIDATE
>   linux-user: Fix the build on systems without MADV_{KEEP,WIPE}ONFORK

We explicitly do NOT want to add this kind of back compat code
for unsupported platforms.

With regards,
Daniel