From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Testing on PowerMac G4
Date: Sat, 5 Jan 2008 12:43:39 +0100 [thread overview]
Message-ID: <20080105114339.GA19370@thorin> (raw)
In-Reply-To: <200801050245.41356.okuji@enbug.org>
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
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
next prev parent reply other threads:[~2008-01-05 11:45 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-31 8:12 Testing on PowerMac G4 Pavel Roskin
2007-12-31 8:45 ` Jan Nieuwenhuizen
2007-12-31 22:37 ` Pavel Roskin
2007-12-31 23:34 ` Robert Millan
2008-01-02 6:46 ` Pavel Roskin
2008-01-02 10:32 ` Robert Millan
2008-01-03 8:09 ` Pavel Roskin
2008-01-03 12:11 ` Robert Millan
2008-01-03 15:28 ` Pavel Roskin
2008-01-03 15:57 ` Robert Millan
2008-01-03 16:23 ` Pavel Roskin
2008-01-04 12:32 ` Robert Millan
2008-01-04 12:54 ` Robert Millan
2008-01-04 18:26 ` Pavel Roskin
2008-01-04 20:37 ` Robert Millan
2008-01-05 1:45 ` Yoshinori K. Okuji
2008-01-05 11:43 ` Robert Millan [this message]
2008-01-05 2:10 ` Pavel Roskin
2008-01-05 11:45 ` Robert Millan
2008-01-05 1:27 ` Yoshinori K. Okuji
2008-01-05 2:02 ` Pavel Roskin
2008-01-05 10:31 ` Yoshinori K. Okuji
2008-01-05 11:46 ` Robert Millan
2007-12-31 14:04 ` Robert Millan
2007-12-31 22:58 ` Pavel Roskin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080105114339.GA19370@thorin \
--to=rmh@aybabtu.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.