LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* What happened to include/asm-ppc??
@ 2007-02-16 20:25 blueskyjb
  2007-02-16 20:45 ` Andy Fleming
  0 siblings, 1 reply; 6+ messages in thread
From: blueskyjb @ 2007-02-16 20:25 UTC (permalink / raw)
  To: linuxppc-embedded


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!

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What happened to include/asm-ppc??
  2007-02-16 20:25 What happened to include/asm-ppc?? blueskyjb
@ 2007-02-16 20:45 ` Andy Fleming
  2007-02-16 20:50   ` Arnd Bergmann
  0 siblings, 1 reply; 6+ messages in thread
From: Andy Fleming @ 2007-02-16 20:45 UTC (permalink / raw)
  To: <blueskyjb@verizon.net>; +Cc: linuxppc-embedded

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, <blueskyjb@verizon.net>  
<blueskyjb@verizon.net> 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What happened to include/asm-ppc??
  2007-02-16 20:45 ` Andy Fleming
@ 2007-02-16 20:50   ` Arnd Bergmann
  2007-02-16 21:19     ` Andy Fleming
  2007-02-16 22:40     ` Timur Tabi
  0 siblings, 2 replies; 6+ messages in thread
From: Arnd Bergmann @ 2007-02-16 20:50 UTC (permalink / raw)
  To: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What happened to include/asm-ppc??
  2007-02-16 20:50   ` Arnd Bergmann
@ 2007-02-16 21:19     ` Andy Fleming
  2007-02-16 22:40     ` Timur Tabi
  1 sibling, 0 replies; 6+ messages in thread
From: Andy Fleming @ 2007-02-16 21:19 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linuxppc-embedded


On Feb 16, 2007, at 14:50, Arnd Bergmann wrote:

> On Friday 16 February 2007 21:45, Andy Fleming wrote:
>>
>> 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 <><

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What happened to include/asm-ppc??
  2007-02-16 20:50   ` Arnd Bergmann
  2007-02-16 21:19     ` Andy Fleming
@ 2007-02-16 22:40     ` Timur Tabi
  2007-02-16 23:22       ` Arnd Bergmann
  1 sibling, 1 reply; 6+ messages in thread
From: Timur Tabi @ 2007-02-16 22:40 UTC (permalink / raw)
  To: Arnd Bergmann; +Cc: linuxppc-embedded

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: What happened to include/asm-ppc??
  2007-02-16 22:40     ` Timur Tabi
@ 2007-02-16 23:22       ` Arnd Bergmann
  0 siblings, 0 replies; 6+ messages in thread
From: Arnd Bergmann @ 2007-02-16 23:22 UTC (permalink / raw)
  To: Timur Tabi; +Cc: linuxppc-embedded

On Friday 16 February 2007 23:40, Timur Tabi 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?
> 
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 <><

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-02-16 23:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-16 20:25 What happened to include/asm-ppc?? blueskyjb
2007-02-16 20:45 ` Andy Fleming
2007-02-16 20:50   ` Arnd Bergmann
2007-02-16 21:19     ` Andy Fleming
2007-02-16 22:40     ` Timur Tabi
2007-02-16 23:22       ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox