From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1OF84J-0005Xf-AX for mharc-grub-devel@gnu.org; Thu, 20 May 2010 11:53:55 -0400 Received: from [140.186.70.92] (port=51808 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OF84A-0005PZ-Id for grub-devel@gnu.org; Thu, 20 May 2010 11:53:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OF845-0000ej-M9 for grub-devel@gnu.org; Thu, 20 May 2010 11:53:46 -0400 Received: from mail-gx0-f220.google.com ([209.85.217.220]:65200) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OF845-0000eY-Ha for grub-devel@gnu.org; Thu, 20 May 2010 11:53:41 -0400 Received: by gxk20 with SMTP id 20so5330220gxk.12 for ; Thu, 20 May 2010 08:53:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=BZbYpHw/8w43wkpI1/glNa3z1ECPVeuRta9+LudpKUQ=; b=V7T+jxgmIphNhSCYeH0nw7cb+radF1jXtUuIZ6kIlntNaZBz/KMf0C7GWMXCITruhl 75ohGUX0q+45EAiB/Sg3HB/9aRDud76WzVxpwTiSrpRPBg3rdg6/tSVzu3fGE1ZE2bnn 7FA/UTmiS4w9GK1PVcp/e/Qu7keokiXwUbCuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=DvAAX/jL8GURcwmhm/ukRVnhMUL03un/2pHD7zIBP+2z2GinUh2u1bqM3dOxBdqukl F9/fQt+yR5EUssulnPqxaI8A5mt1bArXEiqg4OuZwErGyy+ixICBCoWhUQWm/JLo5iCc lSjWnB7/h7iCHEBxBhzEvcjR++9Yadu1fd9a8= Received: by 10.91.31.6 with SMTP id i6mr711387agj.197.1274370820085; Thu, 20 May 2010 08:53:40 -0700 (PDT) Received: from [192.168.0.75] (cpe-24-174-180-111.satx.res.rr.com [24.174.180.111]) by mx.google.com with ESMTPS id 13sm3630gxk.12.2010.05.20.08.53.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 20 May 2010 08:53:38 -0700 (PDT) Message-ID: <4BF55B01.7010707@gmail.com> Date: Thu, 20 May 2010 10:53:37 -0500 From: Bruce Dubbs User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.16) Gecko/20080722 SeaMonkey/1.1.11 MIME-Version: 1.0 To: The development of GNU GRUB References: <4BF5345A.5010103@gmail.com> In-Reply-To: <4BF5345A.5010103@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: GCC 4.5 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 May 2010 15:53:53 -0000 Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. I've noticed that GCC 4.5 is released and is available in > debian. With this version -mregparam=3 bug is fixed. So I intend to > remove all NESTED_FUNC_ATTR and use -mregparm=3 only on gcc >=4.5 and > -mregparam=1 otherwise. This has the disadvatantage of increasing binary > size with pre-4.5 gcc but it also greatly reduces the bug surface and so > will eventually result in better quality. Any oppositions? > I do not intend to require gcc 4.5, only highly recommend it. There have been reports of problems with -Os in gcc-4.5.0. In one case, the linux kernel is not functional. Specifically the file arch/x86/kernel/tsc.c causes a kernel panic. I advise caution in this area. -- Bruce