Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Mk2OC-000398-9z for mharc-grub-devel@gnu.org; Sat, 05 Sep 2009 17:01:40 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mk2OA-00036a-Pz for grub-devel@gnu.org; Sat, 05 Sep 2009 17:01:38 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mk2O6-0002xr-U1 for grub-devel@gnu.org; Sat, 05 Sep 2009 17:01:38 -0400 Received: from [199.232.76.173] (port=57031 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mk2O6-0002xW-Ob for grub-devel@gnu.org; Sat, 05 Sep 2009 17:01:34 -0400 Received: from mail-bw0-f220.google.com ([209.85.218.220]:49828) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mk2O6-000398-5j for grub-devel@gnu.org; Sat, 05 Sep 2009 17:01:34 -0400 Received: by bwz20 with SMTP id 20so1403876bwz.42 for ; Sat, 05 Sep 2009 14:01:32 -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 :content-transfer-encoding; bh=BC/6cF2Lr+Sl2yzMSSOiaD9xApg2YQi2+Odd6ZaC07k=; b=x5lfE+GKl389T4kz18YG3Qjomc625N9J2algY7oUfI+96ypfmCxE3gRX1pneMD9nR+ LnV3GZV49QhxPWzhzVQg5dZ8AW8WImPmNJo7JfUCEUwTMU1I/vR3TLghgiXKtBhE1J1t MKebjOqsy/eh53Waxak6hoD3wIXjKZRReAMZ8= 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:content-transfer-encoding; b=qXfj9WAyhV048Myv3pUwdToRDb8i3HRivhfArhAZOV8RPOrPZECjjyFS7fFse7xtYm +ulPtcQTU/0CZAyNEfpDBoMB4hcSrjyHfIxLjKawJABT4rnEb3IEVL1ItcxHMcqgq21p VGzwgQqYt8uC4gRP7khCYuVCbEjdMyFOgm1Ug= MIME-Version: 1.0 Received: by 10.204.10.131 with SMTP id p3mr10448100bkp.49.1252184492550; Sat, 05 Sep 2009 14:01:32 -0700 (PDT) In-Reply-To: <20090903145854.GL6656@thorin> References: <20090901160704.GB27042@thorin> <20090903145854.GL6656@thorin> Date: Sat, 5 Sep 2009 23:01:32 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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: Sat, 05 Sep 2009 21:01:39 -0000 On Thu, Sep 3, 2009 at 4:58 PM, Robert Millan wrote: > On Tue, Sep 01, 2009 at 06:07:04PM +0200, Robert Millan wrote: >> On Tue, Sep 01, 2009 at 03:44:18PM +0200, Vladimir 'phcoder' Serbinenko = wrote: >> > >> > +AC_CACHE_CHECK([whether gcc is recent enough], grub_cv_cc_recent, [ >> > + =A0CFLAGS=3D >> > + =A0AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ >> > +#if defined (__GNUC__) && (__GNUC__ < 4 || __GNUC_MINOR__ < 2) >> > +#error Use at least GCC 4.2 >> > +#endif >> >> This would fail with e.g. GCC 5.0. =A0Other than this, the patch is fine= . >> >> If Bean wants to add a configure option (e.g. like QEMU's --disable-gcc-= check) >> so that this requirement can be overriden, that's ok too. > > Btw, INSTALL file still says 2.95. =A0If we do this, it should be adjuste= d as > well. > Cosidering recent gcc's still have nested function bug I consider forcing 4.2 is absolutely unnecessary. However INSTALL needs to be upgraded and mention a newer GCC since grub2 isn't compileable with gcc 2.95 > -- > Robert Millan > > =A0The DRM opt-in fallacy: "Your data belongs to us. We will decide when = (and > =A0how) you may access your data; but nobody's threatening your freedom: = we > =A0still allow you to remove your data and not access it at all." > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > --=20 Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git