[Bug 583733] Re: [powerpc] asm/ptrace.h change in 2.6.34 breaks eglibc build
Andy Whitcroft
apw at canonical.com
Fri May 21 11:00:09 UTC 2010
The headers reported here are the post-munging headers as exposed in
linux-libc-dev. As a result they differ from the upstream commits.
This include was introduced by the commit below:
commit 3162d92dfb79a0b5fc03380b8819fa5f870ebf1e
Author: Dave Kleikamp <shaggy at linux.vnet.ibm.com>
Date: Mon Feb 8 11:51:05 2010 +0000
powerpc: Extended ptrace interface
Which introduced this fragment:
+#ifdef __KERNEL__
+#include <linux/types.h>
+#else
+#include <stdint.h>
+#endif
+
#ifndef __ASSEMBLY__
Now for the kernel this is fine as the linux/types.h is asm protected
also. For userspace not so much. Looking over all of the consumers of
the types which are added they are all __ASSEMBLY__ protected, so it
seems entirly reasonable to move this whole assemblage into the #ifndef
__ASSEMBLY__ section.
--
[powerpc] asm/ptrace.h change in 2.6.34 breaks eglibc build
https://bugs.launchpad.net/bugs/583733
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux in ubuntu.
More information about the kernel-bugs
mailing list