Re: [uml-devel] [linux-2.6-bk] UML compile broken!

From: Blaisorblade
Date: Wed Apr 06 2005 - 15:06:39 EST


On Wednesday 06 April 2005 15:16, Anton Altaparmakov wrote:
> Uml compile is btoken in current linus bk 2.6:
>
> CC arch/um/kernel/ptrace.o
> arch/um/kernel/ptrace.c: In function `send_sigtrap':
> arch/um/kernel/ptrace.c:324: warning: implicit declaration of function
> `SC_IP'
> arch/um/kernel/ptrace.c:324: error: union has no member named `tt'
> arch/um/kernel/ptrace.c:324: error: union has no member named `tt'
> arch/um/kernel/ptrace.c:324: error: invalid lvalue in unary `&'
> make[1]: *** [arch/um/kernel/ptrace.o] Error 1
> make: *** [arch/um/kernel] Error 2
>
> My .config is attached. I suspect it is because I am not compiling in
> TT support and only SKAS...
Well, good guess - you're getting more and more used with UML!

Yes, the fix is in -mm.

Quoting from -rc2-mm1 announce:

+uml-fix-compilation-for-__choose_mode-addition.patch

UML fix

Andrew, can you merge it now, if you want, after Anton verifies it's the
correct fix indeed for his problem? I *do* expect his situation to fail
without the patch, but just to be more sure.

However, I recall with 2.6.11-bk7 a slightly different problem, when compiling
only SKAS mode in, and I don't think this has been fixed:

[uml-devel] [UML/2.6] -bk7 tree does not run when compiled as SKAS-only

I'm forwarding that mail to LKML and you, Andrew - for your -rc regressions
mail folder.
--
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/