[PATCH] Fix IPC for PPC (maybe needed for mips and sparc64 too?)
Franz Sirl
Franz.Sirl-kernel@lauterbach.com
Sun Sep 17 13:20:00 GMT 2000
Hi,
I finally found the reason why some X apps (namely gdm and the gtk+ tree
example) had problems on Linux/PPC, glibc was treating PPC as a 16bit
uid_t/gid_t/etc. platform, but this was never the case on PPC, we had 32bit
from the beginning. The attached patch fixes it. Mips and sparc64 may need
similar fixes.
Franz.
* sysdeps/unix/sysv/linux/kernel-features.h: Always define
__ASSUME_32BITUIDS for __powerpc__.
* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
* sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.
More information about the Libc-alpha
mailing list