From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JB7Sc-0007QX-Nq for mharc-grub-devel@gnu.org; Sat, 05 Jan 2008 06:45:06 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JB7Sa-0007N7-HY for grub-devel@gnu.org; Sat, 05 Jan 2008 06:45:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JB7SX-0007Jh-NC for grub-devel@gnu.org; Sat, 05 Jan 2008 06:45:04 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JB7SX-0007JV-JA for grub-devel@gnu.org; Sat, 05 Jan 2008 06:45:01 -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 1JB7SX-0005y4-Ao for grub-devel@gnu.org; Sat, 05 Jan 2008 06:45:01 -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 1JB7SV-0002rd-MF for grub-devel@gnu.org; Sat, 05 Jan 2008 12:45:00 +0100 Received: from rmh by thorin with local (Exim 4.63) (envelope-from ) id 1JB7RD-00057a-Ra for grub-devel@gnu.org; Sat, 05 Jan 2008 12:43:39 +0100 Date: Sat, 5 Jan 2008 12:43:39 +0100 From: Robert Millan To: The development of GRUB 2 Message-ID: <20080105114339.GA19370@thorin> References: <20071231233451.GA6782@thorin> <1199471219.17196.35.camel@dv> <20080104203736.GA9375@thorin> <200801050245.41356.okuji@enbug.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200801050245.41356.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. Subject: Re: Testing on PowerMac G4 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: Sat, 05 Jan 2008 11:45:05 -0000 On Sat, Jan 05, 2008 at 02:45:41AM +0100, Yoshinori K. Okuji wrote: > On Friday 04 January 2008 21:37, Robert Millan wrote: > > > A quick look into util/elf/grub-mkimage.c finds "Don't bother preserving > > > the section headers". I don't even know if the problem is specifically > > > with the section headers or with something else. Perhaps > > > util/elf/grub-mkimage.c should be rewritten as a linker script, or maybe > > > it should use the BFD library that comes with binutils. I'm optimistic > > > about the linker script, since all we need is essentially linking. > > > > There's another [1] outstanding problem with elf/grub-mkimage.c: > > > > http://lists.gnu.org/archive/html/grub-devel/2007-10/msg00056.html > > > > I think what you propose is a good idea. It sounds odd that we have to > > reimplement ELF handling when another GNU project already has. But I don't > > know how the GRUB maintainers think about it. > > > > [1] or, perhaps, it's the same problem? > > I object to using a linker, since it is more odd that the user must install > development tools to just install GRUB. Distributors could push GNU ld from development binutils package to a separate one that is part of their base system. This happened already in Debian (and derivatives, gee) for gnupg and gpgv (since apt-get started using them for archive verification). > About BFD, the old discussion was that it made the binary size bloated, thus > didn't fit into a small disk or initrd or whatever, so it was not convenient > for installers. I don't know if the same discussion can apply nowadays, since > most people install operating systems by CD or DVD, memory size is plenty, > etc. I don't know about others, but Debian (and, yes, derivatives..) doesn't put grub-mkimage in the initrd. What is put is a script that will install standard GRUB package in the target chroot, and use that directly. I think using BFD is a good idea. > Especially if this is only for OpenFirmware platforms, I don't believe > that anybody cares. And LinuxBIOS ! And Xbox if we ever support it (I haven't managed to boot code in it yet, but it works with ELF). -- 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 /.)