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

Re: [james@nocrew.org: Bug#116804: libc6-dev: bits/sigcontext.h #include's asm/types.h (indirectly) on ia64]



On Tue, Oct 23, 2001 at 05:47:02PM -0700, David Mosberger wrote:
> >>>>> On Tue, 23 Oct 2001 20:34:57 -0400, Ben Collins <bcollins@debian.org> said:
> 
>   Ben> Anyone mind commenting on this? IMO, asm/fpu.h should wrap
>   Ben> anything that sigcontext.h doesn't need with "#ifdef
>   Ben> __KERNEL__".
> 
> This is a bug in glibc.  It shouldn't be including asm/sigcontext.h in
> user-visible header files.  The only reason that file is included is
> to get a definition of "struct ia64_fpreg", which isn't portable
> anyhow (the kernel's declaration relies on a GNU C extension).

So the proper patch is to reproduce that struct in a portable format for
bits/sigcontext.h?

Anyone care to produce a patch for that?

-- 
 .----------=======-=-======-=========-----------=====------------=-=-----.
/                   Ben Collins    --    Debian GNU/Linux                  \
`  bcollins@debian.org  --  bcollins@openldap.org  --  bcollins@linux.com  '
 `---=========------=======-------------=-=-----=-===-======-------=--=---'



Reply to: