All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Georgi <patrick@georgi-clan.de>
To: grub-devel@gnu.org
Subject: Re: [PATCH] make grub2 compile with libc-less crosscompilers
Date: Mon, 04 Jun 2007 19:03:18 +0200	[thread overview]
Message-ID: <f41giq$2bj$1@sea.gmane.org> (raw)
In-Reply-To: <200705191944.13081.okuji@enbug.org>

Yoshinori K. Okuji schrieb:
> Also, without grub-emu, how do you plan to debug GRUB?
I'd have some questions relating to that to improve the patch, if possible.
But first, please note that grub-emu currently can't work because argp.h 
and its features aren't provided on Solaris, so I can't test the proper 
operation of it.

As for grub-emu, does it use the target-built objects (ie. .mod files) 
and loads them in the host system?
If so, is this why you need the _start/start (and the other) detection, 
so the modules contain the right symbol for the host?
In this case, the right solution would probably be to do those tests 
using the host compiler, not the target's.

The target doesn't care one way or the other (there is no non-grub code 
around that looks for symbols at boot time), so it can just inherit, 
what the host is doing.

I can provide a patch that takes this into account, if my guesses are 
correct, but I'd need some more insights in what exactly is required.


Thanks,
Patrick Georgi




  parent reply	other threads:[~2007-06-04 17:02 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-19 15:30 [PATCH] make grub2 compile with libc-less crosscompilers Patrick Georgi
2007-05-19 17:44 ` Yoshinori K. Okuji
2007-05-19 17:53   ` Patrick Georgi
2007-05-20 17:45   ` Stefan Reinauer
2007-06-04 17:03   ` Patrick Georgi [this message]
2007-05-31 14:59 ` Patrick Georgi

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='f41giq$2bj$1@sea.gmane.org' \
    --to=patrick@georgi-clan.de \
    --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.