Re: [PATCH] fix UML on x86-64

From: Linus Torvalds
Date: Tue May 06 2008 - 19:28:39 EST




On Tue, 6 May 2008, Ulrich Drepper wrote:
>
> This patch breaks UML for me on x86-64 running Fedora 8 (gcc 4.1.2):

It breaks things how?

Because on x86, the cut-off is gcc4 vs pre-4. See arch/x86/Makefile:

KBUILD_CFLAGS += $(shell if [ $(call cc-version) -lt 0400 ] ; then \
echo $(call cc-option,-fno-unit-at-a-time); fi ;)

and it's a bit distressing that these compiler flags are set two different
ways (in fact, I was already bothered by the fact that UML sets it totally
independently of x86 in the first place).

So what is the UML failure behaviour with gcc-4.1.2?

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