[PATCH] Fix IPC for PPC (maybe needed for mips and sparc64 too?)

Andreas Jaeger aj@suse.de
Mon Sep 18 00:35:00 GMT 2000


>>>>> Franz Sirl writes:

 > 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.


Thanks - I'll add similar fixes for MIPS now.

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-alpha mailing list