[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CC70333.80400@zytor.com>
Date: Tue, 26 Oct 2010 09:34:59 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: Andi Kleen <andi@...stfloor.org>
CC: linux-kvm@...r.kernel.org, avi@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: fyi: gcc33-hammer crashes when compiling kvm emulate.c
On 10/26/2010 05:38 AM, Andi Kleen wrote:
> Hi,
>
> While doing a test run with the minimum supported compiler
> I found:
>
> An old gcc 3.3-hammer segfaults when compiling the current KVM
> emulate.c (or rather in x86_emulate_insns) on x86-64.
>
> The compiler goes into an endless recursion in validate_rtx and then
> eventually overflows the stack and dies.
>
> I minimized a test case, but didn't find a workaround
> (minimized test case http://halobates.de/emulate-min.i)
>
> My guess it's related to some of the inline assembler uses.
>
> This might be an excuse to bump the minimum compiler version again.
>
We have said 3.4 minimum for x86 for a long time now, and have an RFC
out to bump to 4.1. Unfortunately there isn't a good repo of
arch-specific version requirements in the kernel source code; in fact, I
just talked to Tony Luck yesterday about the need for that.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists