Re: [Qemu-devel] [PATCH] linux-user: avoid using glibc internals

2014-04-29 Thread Natanael Copa
On Wed, 23 Apr 2014 19:00:41 +0100 Peter Maydell wrote: > On 23 April 2014 15:59, Natanael Copa wrote: > > Avoid using glibc specific internals. > > > > Calculate the sigevent pad size is calculated in similar way as kernel > > does it. > > > > This is needed for building with musl libc. > > Th

[Qemu-devel] [PATCH] linux-user: avoid using glibc internals in _syscall5 and in definition of target_sigevent struct

2014-04-29 Thread Natanael Copa
Use the public sigset_t instead of the glibc specific internal __sigset_t in _syscall. Calculate the sigevent pad size is calculated in similar way as kernel does it instead of using glibc internal field _pad. This is needed for building with musl libc. Signed-off-by: Natanael Copa --- Changes

Re: [Qemu-devel] [PATCH] linux-user: avoid using glibc internals

2014-04-29 Thread Natanael Copa
On Wed, 23 Apr 2014 19:00:41 +0100 Peter Maydell wrote: > On 23 April 2014 15:59, Natanael Copa wrote: > > Avoid using glibc specific internals. > > > > Calculate the sigevent pad size is calculated in similar way as kernel > > does it. > > > > This is needed for building with musl libc. > > Th

Re: [Qemu-devel] [PATCH] linux-user: avoid using glibc internals

2014-04-23 Thread Peter Maydell
On 23 April 2014 15:59, Natanael Copa wrote: > Avoid using glibc specific internals. > > Calculate the sigevent pad size is calculated in similar way as kernel > does it. > > This is needed for building with musl libc. Thanks for this patch -- is this the only fix that was needed, or are there mo

[Qemu-devel] [PATCH] linux-user: avoid using glibc internals

2014-04-23 Thread Natanael Copa
Avoid using glibc specific internals. Calculate the sigevent pad size is calculated in similar way as kernel does it. This is needed for building with musl libc. Signed-off-by: Natanael Copa --- linux-user/syscall.c | 2 +- linux-user/syscall_defs.h | 6 +- 2 files changed, 6 insertio