Re: [PATCH] UML - SYSEMU fixes

From: Blaisorblade
Date: Mon Dec 06 2004 - 14:14:55 EST


On Sunday 05 December 2004 14:30, Jon Masters wrote:
> Jeff Dike wrote:
> | jonmasters@xxxxxxxxx said:
> |>That's great, but do any of these patches address various undefines in
> |>arch/um/kernel/process.c:check_sysemu when built without skas?

> | Apparently they did. I just checked with skas turned off and got a

> successful

> | build.

They don't - check_sysemu is used also in TT mode.

> Good. I've got a working build on an Intel box but it's being more
> stubburn building for ppc in 2.6.9 - I'll post an update when I've
> actually looked at it.

PPC port is not maintained at the moment - there are some rumors of somebody
reviving it, but nothing is certain.

> |>Also, on 2.6.9, I get dud CFLAGS defined when CONFIG_PROF is set *and*
> |>CONFIG_FRAME_POINTER is also set - gcc complains about use of "-gp"
> |>and "-fomit-frame-pointer" but surely it should be building with frame
> |>pointers anyway if I've asked it to do so?

I saw that from someone else - I don't remember what was the problem, but it
seemed to be some strange kind of .config. Make sure that CONFIG_DEBUG_INFO
and CONFIG_FRAME_POINTER are both set (the second is the needed one, the
first implies the second for UML).

"make oldconfig ARCH=um" should fix such problems.

> | I just checked with that config, and it builds fine.

> Oh good. Then it works now.

> Cheers,

> Jon.

--
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/