From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MEq7V-00015D-54 for mharc-grub-devel@gnu.org; Thu, 11 Jun 2009 15:39:29 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MEq7T-000128-82 for grub-devel@gnu.org; Thu, 11 Jun 2009 15:39:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MEq7O-0000sm-Ih for grub-devel@gnu.org; Thu, 11 Jun 2009 15:39:26 -0400 Received: from [199.232.76.173] (port=43560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MEq7O-0000sA-9Y for grub-devel@gnu.org; Thu, 11 Jun 2009 15:39:22 -0400 Received: from mailout10.t-online.de ([194.25.134.21]:35517) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MEq7N-0007Uu-SI for grub-devel@gnu.org; Thu, 11 Jun 2009 15:39:22 -0400 Received: from fwd08.aul.t-online.de by mailout10.t-online.de with smtp id 1MEq7L-0000fn-01; Thu, 11 Jun 2009 21:39:19 +0200 Received: from [10.3.2.2] (ZZ0p1MZ1QhEvh+nnTPk1ySaySEw2vH+7diZvGdXe4WAZ-enDsOkraTqchyRDJmIZlF@[217.235.210.109]) by fwd08.aul.t-online.de with esmtp id 1MEq7E-0YsSbg0; Thu, 11 Jun 2009 21:39:12 +0200 Message-ID: <4A315D61.8060705@t-online.de> Date: Thu, 11 Jun 2009 21:39:13 +0200 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.21) Gecko/20090403 SeaMonkey/1.1.16 MIME-Version: 1.0 To: grub-devel@gnu.org References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ID: ZZ0p1MZ1QhEvh+nnTPk1ySaySEw2vH+7diZvGdXe4WAZ-enDsOkraTqchyRDJmIZlF X-TOI-MSGID: 079da353-13c3-4d10-bbd2-27b2220b8748 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [2290] 2009-06-10 Pavel Roskin 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: Thu, 11 Jun 2009 19:39:27 -0000 Pavel Roskin wrote: > Revision: 2290 > http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2290 > Author: proski > Date: 2009-06-10 18:32:13 +0000 (Wed, 10 Jun 2009) > Log Message: > ----------- > 2009-06-10 Pavel Roskin > > * configure.ac: Use -nostdlib when probing for the target. It > should not be required to have libc for the target. > ... > # Set them to their new values for the tests below. > CC="$TARGET_CC" > -CFLAGS="$TARGET_CFLAGS" > +CFLAGS="$TARGET_CFLAGS -nostdlib" > CPPFLAGS="$TARGET_CPPFLAGS" > LDFLAGS="$TARGET_LDFLAGS" > > > This change breaks build at least on Cygwin, ./configure fails with: checking whether target compiler is working... no configure: error: cannot compile for the target The link test in grub_PROG_TARGET_CC fails due to missing '__main' symbol from libgcc. According to gcc 4.3.2 man page, '-nostdlib' usually requires '-lgcc'. -- Regards, Christian Franke