Files
poky/meta/packages/linux-libc-headers/linux-libc-headers/ppc_glibc_build_fix.patch
Nitin A Kamble f8a8ec5ceb linux-libc-headers: upgrade from 2.6.33 to 2.6.34
added a new patch to fix glibc build issue on powerpc
  ppc_glibc_build_fix.patch

Added attribution to the hayes-gone.patch.

And updated the metadata variables like LICENSE & LIC_CHKSUM_FILES

And removing all the older recipes and related files

Change the linux-libc-header version inpoky-default.inc

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
2010-07-02 15:28:54 +01:00

26 lines
770 B
Diff

stdint.h has C definitions which troubles assembler. and if asm/ptrace.h
is included in assembler context, then it should not include the
C-specific stdint.h file.
This was causing glibc building issue on ppc.
Looks like this issue is introduced on the 2.6.34 kernel.
2010-06-024
Signed-Off-By:Nitin A Kamble <nitin.a.kamble@intel.com>
Acked-By:Jeff Dike <jdike@linux.intel.com>
Index: linux-2.6.34/arch/powerpc/include/asm/ptrace.h
===================================================================
--- linux-2.6.34.orig/arch/powerpc/include/asm/ptrace.h
+++ linux-2.6.34/arch/powerpc/include/asm/ptrace.h
@@ -27,8 +27,10 @@
#ifdef __KERNEL__
#include <linux/types.h>
#else
+#ifndef __ASSEMBLY__
#include <stdint.h>
#endif
+#endif
#ifndef __ASSEMBLY__