This is the mail archive of the libc-alpha@sources.redhat.com 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]

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


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

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