Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MiTyP-0008Nr-BN for mharc-grub-devel@gnu.org; Tue, 01 Sep 2009 10:04:37 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MiTyN-0008N2-FN for grub-devel@gnu.org; Tue, 01 Sep 2009 10:04:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MiTyI-0008Kw-Lp for grub-devel@gnu.org; Tue, 01 Sep 2009 10:04:34 -0400 Received: from [199.232.76.173] (port=44278 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MiTyI-0008Kk-FX for grub-devel@gnu.org; Tue, 01 Sep 2009 10:04:30 -0400 Received: from mail-pz0-f193.google.com ([209.85.222.193]:52041) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MiTyH-0001uA-A1 for grub-devel@gnu.org; Tue, 01 Sep 2009 10:04:29 -0400 Received: by pzk31 with SMTP id 31so11379pzk.6 for ; Tue, 01 Sep 2009 07:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=kIW9G42CYSkgt9Mho2mU/IoSnl2UJJrPkHU4ZHhqGEY=; b=rQk/pIYV++uR0Eqb8s0LvKJhpHYeBXSLBvl37Zmwz+EYLkMeX64vPijWoMNWlr/IVt oo7MUOnDKOyJWxomktjDM/ebL5Iejtges9ktBoM5DytkE4XmIQaVM4XRcGwNa/pzbv/+ YWv8HbTUpFBpS4vo2iYlcIwEokaJFREXlcHWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=c9tQ8WDLEx/qw6eHkSHITXnJwtA/PbAmYchH0jbT9pE6G1sUsDCxcegTbck3A+sOMb XyEGmi63GoLFleK9AYZLozdDb1hYCHcXscGxqEqkQVuYZdUduoe0YagBuUssGBxsrLkw ZjWHRMfM1Anxs01mVUSTFUdjEhzIbked0/9pk= MIME-Version: 1.0 Received: by 10.140.174.8 with SMTP id w8mr1615579rve.133.1251813867479; Tue, 01 Sep 2009 07:04:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 1 Sep 2009 22:04:27 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Require at least gcc 4.2 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Sep 2009 14:04:35 -0000 On Tue, Sep 1, 2009 at 9:44 PM, Vladimir 'phcoder' Serbinenko wrote: > It looks like grub2's codebase triggers bugs in old compiler. I don't > feel like we should support these compilers at all. Hence this patch. > If someone wants to use older compiler he's free to patch this check > out but this way he's aware that we don't support gcc prior to 4.2 Hi, I don't think it's gcc's version that's causing the problem, it's the bug of some local port like apple's gcc. In fact, I've been using mingw gcc 3.4.5 for a long time and doesn't seem to have issue. It'd be nice to locate the specific bug and write a small test problem to check for it (something like NESTED_FUNC_ATTR), instead of reply blindly on gcc version. (what if apple's gcc-4.2 also contain some bug ?) -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/