Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Albert Cahalan
On Wed, 2004-11-03 at 17:39, Benjamin Herrenschmidt wrote: > On Wed, 2004-11-03 at 23:37 +0100, Klaus Schmidinger wrote: > > > It's a bug in VDR to use a platform independent way of accessing unaligned > > data? I don't think so... > > It is a bug in _ANY_ userland application to rely on an inlin

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Christoph Hellwig
On Wed, Nov 03, 2004 at 11:37:35PM +0100, Klaus Schmidinger wrote: > It's a bug in VDR to use a platform independent way of accessing unaligned > data? I don't think so... Yes, it's a bug.

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Klaus Schmidinger
Benjamin Herrenschmidt wrote: > > On Wed, 2004-11-03 at 09:56 +0100, Christoph Ewering wrote: > > Hello List, hello Klaus, hello Benjamin! > > > > At the moment I am fighting with an error on ppc when I want to compile > > the new vdr-1.3.14 from Klaus Schmidinger. > > > > vdr uses unaligned.h an

Re: incompatible unaligned.h between x86 and ppc - kernel-hackersverify please

2004-11-03 Thread Benjamin Herrenschmidt
On Wed, 2004-11-03 at 23:37 +0100, Klaus Schmidinger wrote: > It's a bug in VDR to use a platform independent way of accessing unaligned > data? I don't think so... It is a bug in _ANY_ userland application to rely on an inline function exposed by a kernel header. If glibc doesn't provide an equi