Messages in this thread | | | Date | Sat, 5 Sep 2015 09:32:33 +0200 | From | Ingo Molnar <> | Subject | Re: [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
| |