I was seeing the same failure on 2.5.42.
>
> I am in no way inplying that you are making any guarantees about your patches to
> work with something but the kernels they are released for.
> On the other hand I thought you might find it useful if I report to you
> problems with more modern kernels that I encounter so that when you will
> update UML to never kernel you do not need to hit all the problems by yourself.
>
> > However the __i386__ thing should be taken care of by Makefile-i386 doing
> > CFLAGS += -U__i386__
> > I might have messed up the patch, I'll check and fix it if so.
>
> Yes, it seems to be the case.
>
> CFLAGS is defined first in arch/um/Makefile and only then you do
> include Makefile-{SUBARCH}
>
> Moving 'include $(ARCH_DIR)/Makefile-$(SUBARCH)' in front of CFLAGS
> helped.
This fixed the __i386__ issue, but messed up the header symlinks. I
moved CFLAGS after the includes and this appears to have fixed both
problems, but makefile magic is not my thing so YMMV.
-andmike
-- Michael Anderson andmike@us.ibm.com- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/