lkml.org 
[lkml]   [2015]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86/headers: Fix (old) header file dependency bug in uapi/asm/sigcontext32.h

    * Mikko Rapeli <mikko.rapeli@iki.fi> wrote:

    > > sigcontext32.h is a 64-bit only header (for compat functionality), and you are
    > > trying to build this on i386, right?
    >
    > Yes, i386 32bit.
    >
    > > In theory we could unify them mostly, the two structures match mostly, except that
    > > '_fpstate_ia32::padding' is named 'padding1' in _fpstate, and there's also some
    > > legacy uglies wrt. user-space sigcontext definitions.
    > >
    > > So this either gets cleaned up properly, with the legacy hacks/wrappers clearly
    > > isolated, or we could state that you shouldn't build 64-bit headers in 32-bit
    > > environments.
    >
    > Should the sigcontext32.h have some 32bit ifdefs maybe?

    That gets ugly pretty fast.

    > I assume that the exported header files should be the same for both 64 and 32
    > bit i386/x86

    Yes. I have written a small series cleaning up all these header problems - I'll
    send it out in a few minutes.

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2015-09-05 09:41    [W:2.849 / U:0.288 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site