This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3 00/17] Consolidate Linux sysvipc implementation


On Friday, December 9, 2016 10:30:53 AM CET Steve Ellcey wrote:
> 
> Adhemerval,
> 
> It looks like you may have to tweek your change to test-skeleton.c in
> this patch.  The FAIL_EXIT macro was moved from test-skeleton.c
> to support/check.h so I assume your new FAIL_UNSUPPORTED macro should
> be moved there as well.
> 
> I have been doing aarch64 and x86 builds here with your patch and have
> not had any problems except with my new aarch64 ILP32 code.  There I
> had to change the definition of __IPC_64 in the new header
> file sysdeps/unix/sysv/linux/aarch64/ipc_priv.h from:
> 
> #define __IPC_64     0x0
> 
> to:
> 
> #ifdef __LP64__
> # define __IPC_64     0x0
> #else /* __ILP32  */
> # define __IPC_64     0x100
> #endif

Huh?

I would hope that this is not really needed, it looks like
a kernel bug. The old style IPC has been deprecated for so
long that nothing should need to pass the 0x100 flag, unless
it dates back to the last century.

Do we need to override the version parsing in the kernel?

	Arnd


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]