From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JKX6q-0005vB-Pl for mharc-grub-devel@gnu.org; Thu, 31 Jan 2008 05:57:32 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JKX6n-0005sy-VC for grub-devel@gnu.org; Thu, 31 Jan 2008 05:57:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JKX6m-0005sT-52 for grub-devel@gnu.org; Thu, 31 Jan 2008 05:57:28 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JKX6l-0005sK-LX for grub-devel@gnu.org; Thu, 31 Jan 2008 05:57:27 -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 1JKX6l-00030n-JH for grub-devel@gnu.org; Thu, 31 Jan 2008 05:57:27 -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 1JKX6Z-0005yr-GT for grub-devel@gnu.org; Thu, 31 Jan 2008 11:57:16 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JKX4k-00034h-9W for grub-devel@gnu.org; Thu, 31 Jan 2008 11:55:22 +0100 Date: Thu, 31 Jan 2008 11:55:22 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080131105522.GD10889@thorin> References: <20080130232646.GA25637@nubol.oskuro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20080130232646.GA25637@nubol.oskuro.net> 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. Subject: Re: powerpc fixes 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, 31 Jan 2008 10:57:30 -0000 On Thu, Jan 31, 2008 at 12:26:46AM +0100, Jordi Mallach wrote: > The following patches fix the powerpc build for the latest Debian > package. Sorry for not diffing this against HEAD. > > However, the resulting binaries don't work as expected: > > 18111:jordi@horta:/boot/grub$ sudo grub-install "(hd0)" > grub-probe: error: /dev/stdin:1: Bad device name > grub-probe: error: /dev/stdin:1: Bad device name > /boot/grub must be a mount point. > > grub-mkdevicemap generated this when I called it by hand: > (/pci@f4000000/ata-6@d/disk@0) /dev/hda Are you using the latest ofpathname? > diff -Nuar grub2-1.95+20080128/conf/powerpc-ieee1275.mk buildd/grub2-1.95+20080128/conf/powerpc-ieee1275.mk > --- grub2-1.95+20080128/conf/powerpc-ieee1275.mk 2008-01-27 22:44:02.000000000 +0000 > +++ buildd/grub2-1.95+20080128/conf/powerpc-ieee1275.mk 2008-01-30 22:45:59.000000000 +0000 Please skip *.mk files in patches ;-) > @@ -69,7 +70,7 @@ > fs/affs.c fs/cpio.c fs/ext2.c fs/fat.c fs/hfs.c \ > fs/hfsplus.c fs/iso9660.c fs/jfs.c fs/minix.c \ > fs/ntfs.c fs/ntfscomp.c fs/reiserfs.c fs/sfs.c \ > - fs/ufs.c fs/xfs.c \ > + fs/ufs.c fs/xfs.c fs/fshelp.c \ > \ > io/gzio.c \ > kern/device.c kern/disk.c kern/dl.c kern/elf.c kern/env.c \ This won't apply cleanly to HEAD. > diff -Nuar grub2-1.95+20080128/include/grub/powerpc/libgcc.h buildd/grub2-1.95+20080128/include/grub/powerpc/libgcc.h > --- grub2-1.95+20080128/include/grub/powerpc/libgcc.h 2008-01-10 07:27:08.000000000 +0000 > +++ buildd/grub2-1.95+20080128/include/grub/powerpc/libgcc.h 2008-01-30 22:39:43.000000000 +0000 > @@ -25,21 +25,14 @@ > 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); > void EXPORT_FUNC (__muldf3) (void); > void EXPORT_FUNC (__mulsf3) (void); > -void EXPORT_FUNC (__pack_d) (void); > -void EXPORT_FUNC (__pack_f) (void); > void EXPORT_FUNC (__subdf3) (void); > void EXPORT_FUNC (__subsf3) (void); > -void EXPORT_FUNC (__thenan_df) (void); > -void EXPORT_FUNC (__thenan_sf) (void); > void EXPORT_FUNC (__trampoline_setup) (void); > void EXPORT_FUNC (__truncdfsf2) (void); > void EXPORT_FUNC (__ucmpdi2) (void); > -void EXPORT_FUNC (__unpack_d) (void); > -void EXPORT_FUNC (__unpack_f) (void); > void EXPORT_FUNC (__floatdisf) (void); > void EXPORT_FUNC (__cmpdi2) (void); This part (as discussed in the other thread) is wrong. We need to extract symbol list dynamicaly (if we don't want to break arbitrary versions of gcc). -- 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 /.)