From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1J77PP-0005li-2z for mharc-grub-devel@gnu.org; Tue, 25 Dec 2007 05:53:15 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J77PN-0005iX-IF for grub-devel@gnu.org; Tue, 25 Dec 2007 05:53:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J77PM-0005fk-0B for grub-devel@gnu.org; Tue, 25 Dec 2007 05:53:13 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J77PL-0005fZ-Tc for grub-devel@gnu.org; Tue, 25 Dec 2007 05:53:11 -0500 Received: from aybabtu.com ([69.60.117.155]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J77PL-0006IS-Om for grub-devel@gnu.org; Tue, 25 Dec 2007 05:53:11 -0500 Received: from [192.168.10.6] (helo=thorin) by aybabtu.com with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1J77PI-0005mJ-ID; Tue, 25 Dec 2007 11:53:09 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1J77Ox-0005nF-2x; Tue, 25 Dec 2007 11:52:47 +0100 Date: Tue, 25 Dec 2007 11:52:47 +0100 From: Robert Millan To: "Yoshinori K. Okuji" Message-ID: <20071225105247.GB21880@thorin> References: <20071222194111.GA8254@durotan.0x539.de> <20071225093241.GA12060@thorin> <200712251129.58555.okuji@enbug.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="HcAYCG3uE/tztfnV" Content-Disposition: inline In-Reply-To: <200712251129.58555.okuji@enbug.org> Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Cc: grub-devel@gnu.org, Philipp Kern , 457491-forwarded@bugs.debian.org Subject: Re: Fwd: grub2: FTBFS on powerpc (__floatundisf in ls is not defined) 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, 25 Dec 2007 10:53:13 -0000 --HcAYCG3uE/tztfnV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 25, 2007 at 11:29:58AM +0100, Yoshinori K. Okuji wrote: > On Tuesday 25 December 2007 10:32, Robert Millan wrote: > > Any comments on this one? > > > > It seems to me that the module dependency hack doesn't take into account > > gcc internal symbols. > > > > Maybe skipping symbols starting with _ (or __?) would suffice ? > > If this is easy, I think it would be better to add symbols defined in libgcc > into kernel-defined symbols on ppc (as well as on sparc?). Ah, I see there's a mechanism for that already. Philipp, I'm attaching a patch for the __floatundisf. There might be others, though. Please, could you check and report ? Thanks -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) --HcAYCG3uE/tztfnV Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="powerpc_symbols.diff" diff -ur grub2/include/grub/powerpc/libgcc.h grub2.powerpc/include/grub/powerpc/libgcc.h --- grub2/include/grub/powerpc/libgcc.h 2007-07-22 01:32:24.000000000 +0200 +++ grub2.powerpc/include/grub/powerpc/libgcc.h 2007-12-25 11:50:33.000000000 +0100 @@ -25,6 +25,7 @@ void EXPORT_FUNC (__fixunsdfsi) (void); void EXPORT_FUNC (__floatsidf) (void); void EXPORT_FUNC (__floatsisf) (void); +void EXPORT_FUNC (__floatundisf) (void); void EXPORT_FUNC (__lshrdi3) (void); void EXPORT_FUNC (__make_dp) (void); void EXPORT_FUNC (__make_fp) (void); --HcAYCG3uE/tztfnV--