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

[PATCH]: Linuxthreads build for PPC


Hi Daniel

linuxthreads build failed for ppc. The build complained about uintiptr_t in tls.h

In file included from ../include/tls.h:6,
                from ../sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h:23,
                from <stdin>:1:
../linuxthreads/sysdeps/powerpc/tls.h:56: error: expected specifier-qualifier-list before 'uintptr_t'



This patch below fixes the issue.


Thanks


-Khem


2006-05-04  Khem Raj  <kraj@mvista.com>
     * sysdeps/powerpc/tls.h: Include <stdint.h>.

Index: glibc-2.4.90/linuxthreads/sysdeps/powerpc/tls.h
===================================================================
--- glibc-2.4.90.orig/linuxthreads/sysdeps/powerpc/tls.h
+++ glibc-2.4.90/linuxthreads/sysdeps/powerpc/tls.h
@@ -20,11 +20,13 @@
 #ifndef _TLS_H
 #define _TLS_H
 
+
 #ifndef __ASSEMBLER__
 
 # include <pt-machine.h>
 # include <stdbool.h>
 # include <stddef.h>
+# include <stdint.h>
 
 /* Type for the dtv.  */
 typedef union dtv

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