What happened to include/asm-ppc??

6 messages, 4 authors, 2007-02-16 · open the first message on its own page

What happened to include/asm-ppc??

From: <hidden>
Date: 2007-02-16 20:25:36

I'm using lastest ELDK (4.1) with Linux 2.6.19.2.
After upgrading from ELDK 4.0 I can't get any of
my user apps to build.  The problem is that many
of the headers that were in include/asm-ppc are
now gone.  For example, posix_types.h and sigcontext.h.
All the other arches seem to have a full complement
of header files in their asm directories.  Can someone give me a clue??  Thanks!

Re: What happened to include/asm-ppc??

From: Andy Fleming <hidden>
Date: 2007-02-16 20:45:07

They're probably in include/asm-powerpc/

You'll need both, since there are still some files in asm-ppc that  
are needed by the asm-powerpc stuff.

On Feb 16, 2007, at 14:25, [off-list ref]  
[off-list ref] wrote:
I'm using lastest ELDK (4.1) with Linux 2.6.19.2.
After upgrading from ELDK 4.0 I can't get any of
my user apps to build.  The problem is that many
of the headers that were in include/asm-ppc are
now gone.  For example, posix_types.h and sigcontext.h.
All the other arches seem to have a full complement
of header files in their asm directories.  Can someone give me a  
clue??  Thanks!

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: What happened to include/asm-ppc??

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-02-16 20:56:02

On Friday 16 February 2007 21:45, Andy Fleming wrote:
=20
They're probably in include/asm-powerpc/
=20
You'll need both, since there are still some files in asm-ppc that =A0
are needed by the asm-powerpc stuff.
That shouldn't be the case, the headers from asm-powerpc should be
sufficient for all 32 and 64 bit user apps, if not then you should
really report that as a bug.

	Arnd <><

Re: What happened to include/asm-ppc??

From: Andy Fleming <hidden>
Date: 2007-02-16 21:19:37

On Feb 16, 2007, at 14:50, Arnd Bergmann wrote:
On Friday 16 February 2007 21:45, Andy Fleming wrote:
quoted
They're probably in include/asm-powerpc/

You'll need both, since there are still some files in asm-ppc that
are needed by the asm-powerpc stuff.
That shouldn't be the case, the headers from asm-powerpc should be
sufficient for all 32 and 64 bit user apps, if not then you should
really report that as a bug.

I might be wrong.  But last I heard, there's a link between arch/ 
powerpc/include/asm and include/asm-ppc

And visa-versa.

	Arnd <><

Re: What happened to include/asm-ppc??

From: Timur Tabi <hidden>
Date: 2007-02-16 22:40:56

Arnd Bergmann wrote:
That shouldn't be the case, the headers from asm-powerpc should be
sufficient for all 32 and 64 bit user apps, if not then you should
really report that as a bug.
I thought applications weren't supposed to include kernel header files?

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

Re: What happened to include/asm-ppc??

From: Arnd Bergmann <arnd@arndb.de>
Date: 2007-02-16 23:22:51

On Friday 16 February 2007 23:40, Timur Tabi wrote:
quoted
That shouldn't be the case, the headers from asm-powerpc should be
sufficient for all 32 and 64 bit user apps, if not then you should
really report that as a bug.
I thought applications weren't supposed to include kernel header files?
Right, but glibc depends on them. We now have a mechanism of installing
a subset of the kernel headers with 'make headers_install' in order
to be used by glibc. This currently will install a set of the asm-powerpc
files, but we got rid of all user dependencies on asm-ppc headers.

	Arnd <><
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help