Re: [PATCH] linux-user: Add missing includes

2025-09-07 Thread Richard Henderson
On 9/5/25 09:31, Paolo Bonzini wrote: On 9/4/25 17:21, Peter Foley wrote: We're getting errors about this: linux-user/elfload.c:2770:36: error: use of undeclared identifier 'MAP_FIXED_NOREPLACE' Queued, thanks. Paolo Signed-off-by: Peter Foley ---   linux-user/elfload.c | 1 +   linux-use

Re: [PATCH] linux-user: Add missing includes

2025-09-05 Thread Peter Foley
On Fri, Sep 5, 2025 at 12:26 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 9/5/25 18:00, Peter Foley wrote: > > We're using glibc 2.27. > > That's just too old. > Yeah, I'm picking up on that. So it looks like short of back-porting support for MAP_FIXED_NOREPLACE to our "grte"

Re: [PATCH] linux-user: Add missing includes

2025-09-05 Thread Richard Henderson
On 9/5/25 18:00, Peter Foley wrote: We're using glibc 2.27. That's just too old. commit c42e77a90d9244c8caf76fe0e54f84200430a4e1 Author: Richard Henderson Date: Tue Aug 8 09:44:18 2023 -0700 qemu/osdep: Remove fallback for MAP_FIXED_NOREPLACE In order for our emulation of MAP_FIXE

Re: [PATCH] linux-user: Add missing includes

2025-09-05 Thread Peter Foley
On Fri, Sep 5, 2025 at 4:48 AM Richard Henderson < richard.hender...@linaro.org> wrote: > On 9/5/25 09:31, Paolo Bonzini wrote: > > On 9/4/25 17:21, Peter Foley wrote: > >> We're getting errors about this: > >> linux-user/elfload.c:2770:36: error: use of undeclared identifier > 'MAP_FIXED_NOREPLAC

Re: [PATCH] linux-user: Add missing includes

2025-09-05 Thread Peter Foley
On Fri, Sep 5, 2025 at 12:00 PM Peter Foley wrote: > > > On Fri, Sep 5, 2025 at 4:48 AM Richard Henderson < > richard.hender...@linaro.org> wrote: > >> On 9/5/25 09:31, Paolo Bonzini wrote: >> > On 9/4/25 17:21, Peter Foley wrote: >> >> We're getting errors about this: >> >> linux-user/elfload.c:

Re: [PATCH] linux-user: Add missing includes

2025-09-05 Thread Paolo Bonzini
On 9/4/25 17:21, Peter Foley wrote: We're getting errors about this: linux-user/elfload.c:2770:36: error: use of undeclared identifier 'MAP_FIXED_NOREPLACE' Queued, thanks. Paolo Signed-off-by: Peter Foley --- linux-user/elfload.c | 1 + linux-user/mmap.c| 1 + linux-user/syscall.