From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755459AbYIHWmb (ORCPT ); Mon, 8 Sep 2008 18:42:31 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754034AbYIHWmX (ORCPT ); Mon, 8 Sep 2008 18:42:23 -0400 Received: from smtp1.linux-foundation.org ([140.211.169.13]:55933 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753828AbYIHWmW (ORCPT ); Mon, 8 Sep 2008 18:42:22 -0400 Date: Mon, 8 Sep 2008 15:42:08 -0700 (PDT) From: Linus Torvalds To: "H. Peter Anvin" cc: Andi Kleen , linux@sandersweb.net, linux-kernel@vger.kernel.org, the arch/x86 maintainers Subject: Re: [BUG] x86 kenel won't boot under Virtual PC In-Reply-To: <48C57884.30607@zytor.com> Message-ID: References: <200809071922.32974.linux@sandersweb.net> <48C48467.40703@zytor.com> <200809072249.17280.linux@sandersweb.net> <48C4A46B.90705@zytor.com> <20080908154535.GL26079@one.firstfloor.org> <48C54839.8050304@zytor.com> <48C54F1B.8040604@zytor.com> <20080908170029.GP26079@one.firstfloor.org> <48C55C0A.7070203@zytor.com> <48C57884.30607@zytor.com> User-Agent: Alpine 1.10 (LFD 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 8 Sep 2008, H. Peter Anvin wrote: > > OK, digging some more into this garbage... > > Apparently the situation isn't quite as dire as it first seems. > At least gcc 4.3.0 doesn't actually pass -mtune= to gas; it just drops the > option on the floor. This means this bug isn't manifest when calling from gcc > (as opposed to invoking as directly.) Ok, goodie. And we don't pass the -mtune=xyz option when we use gas directly, so we should be all ok. > However, I would still like to push the following patch to be on the safe > side, ok? I have no problem with it, with the fix to actually assemble things. But I also don't think it's a huge deal (ie not 2.6.27 stuff - we don't know if some odd version of as does something odd with -mtune=generic, or whether this can interact oddly with some version of gcc perhaps passing the _correct_ -mtune to the assembler?). Linus