Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MxHuz-0007QV-Th for mharc-grub-devel@gnu.org; Mon, 12 Oct 2009 06:14:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MxHuy-0007P8-Ac for grub-devel@gnu.org; Mon, 12 Oct 2009 06:14:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MxHux-0007NB-0g for grub-devel@gnu.org; Mon, 12 Oct 2009 06:14:15 -0400 Received: from [199.232.76.173] (port=54253 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MxHuw-0007Mn-NL for grub-devel@gnu.org; Mon, 12 Oct 2009 06:14:14 -0400 Received: from 74-93-104-97-washington.hfc.comcastbusiness.net ([74.93.104.97]:37149 helo=sunset.davemloft.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MxHuw-0006aF-D9 for grub-devel@gnu.org; Mon, 12 Oct 2009 06:14:14 -0400 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 5516AC8C2A3; Mon, 12 Oct 2009 03:14:30 -0700 (PDT) Date: Mon, 12 Oct 2009 03:14:30 -0700 (PDT) Message-Id: <20091012.031430.106385568.davem@davemloft.net> To: grub-devel@gnu.org, bean123ch@gmail.com From: David Miller In-Reply-To: References: <1255337746.3204.23.camel@fz.local> X-Mailer: Mew version 6.2.51 on Emacs 22.1 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Cc: Subject: Re: powerpc/sparc problems 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: Mon, 12 Oct 2009 10:14:16 -0000 From: Bean Date: Mon, 12 Oct 2009 17:58:42 +0800 > Try my branch, it includes the libgcc functions in grub instead of > rely on external library. It builds and run properly for > powerpc-ieee1275 last time I check. Good luck when the compiler changes the interface and/or semantics of these routines in a future version. Will you enumerate your in-tree copies by gcc version with ifdefs or similar? That's why gcc and it's libgcc are distributed together, and gcc configures itself to link with a specific libgcc and only that libgcc. This whole things perfectly fine in GRUB when I implemented the necessary machinery to find if these routines exist in libgcc at configure time and to reference them properly in the build. They've merely been broken meanwhile and someone just needs to rectify that regression.