[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#239063: linux-kernel-headers: error in sigcontext.h



On Sat, Mar 20, 2004 at 05:46:57PM +0100, Björn Torkelsson wrote:
> Package: linux-kernel-headers
> Version: 2.5.999-test7-bk-15
> Severity: normal
> 
> /usr/include/asm/sigcontext.h includes the following line:
> 
> struct _fpstate __user * fpstate;
> 
> which looks somewhat wrong to me, and which also gives me an error when
> trying to compile the latest arla snapshot.
> 
> Shouldn't it be:
> 
> struct _fpstate * fpstate;

Why is not /usr/include/linux/compiler.h taking care of this for you?
It's included at the top of asm/sigcontext.h.

Are you building some userland portion of arla?  If it's the kernel
module you shouldn't be using /usr/include/asm...

> 
> which is what is in kernel 2.4.25 (the original line on the other hand
> is in 2.6.4) for i386. x86_64 have the second line in both 2.4.25 and
> 2.6.4. 
> 
> /torkel
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.25
> Locale: LANG=en_GB, LC_CTYPE=sv_SE
> 
> -- no debconf information
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-glibc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



Reply to: