All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <metgerards@student.han.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: multiboot
Date: Thu, 09 Dec 2004 13:51:23 +0000	[thread overview]
Message-ID: <874qivbmw4.fsf@marco.marco-g.com> (raw)
In-Reply-To: <87vfbbofzr.fsf@night.trouble.net> (Johan Rydberg's message of "Thu, 09 Dec 2004 12:42:00 +0100")

Johan Rydberg <jrydberg@night.trouble.net> writes:

> "Yoshinori K. Okuji" <okuji@enbug.org> writes:
>
>>> That brings us the next issue; BUILD_CC is used to build
>>> _everything_, including the host-specific object files, and since
>>> BUILD_CC is set to /usr/bin/gcc in my cross-compiler environment it
>>> will try to compile PPC assembler sources with a i386 compiler.  Not
>>> good.
>>
>> Why? Host-specific objects are compiled by CC instead of BUILD_CC.
>
> Not for the powerpc target, where everything is "utilities" including
> grubof.

Right, but that is just a "bug" that should be fixed after module
loading works.

As for module loading.  It already works, but in grubof it crashes
when jumping into the module.  This is most likely a problem with the
protection of the memory.  Johan told me to have a look at the ibat
registers, etc.  I'll do that.

I can check in the kern/powerpc/dl.c + powerpc-ieee1275.rmk changes so
it becomes easy for Hollis to finish grub-mkimage, IIRC he still
wanted to do some things there, although it worked fine for me.

That way we can get module loading quite soon and fix the problem with
utilities as well...  Hacking around this problem while it is not
crucial does not seem right to me.

Thanks,
Marco




      reply	other threads:[~2004-12-09 14:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-07 11:09 multiboot Johan Rydberg
2004-12-07 14:51 ` multiboot Marco Gerards
2004-12-08 10:44   ` multiboot Johan Rydberg
2004-12-08 11:59     ` multiboot Marco Gerards
2004-12-08 12:27       ` multiboot Johan Rydberg
2004-12-08 12:23         ` multiboot Marco Gerards
2004-12-08 13:24           ` multiboot Johan Rydberg
2004-12-08 13:34             ` multiboot Johan Rydberg
2004-12-08 14:57             ` multiboot Marco Gerards
2004-12-08 15:32               ` multiboot Johan Rydberg
2004-12-08 19:10                 ` multiboot Marco Gerards
2004-12-09  2:16             ` multiboot Yoshinori K. Okuji
2004-12-09 11:42               ` multiboot Johan Rydberg
2004-12-09 13:51                 ` Marco Gerards [this message]

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=874qivbmw4.fsf@marco.marco-g.com \
    --to=metgerards@student.han.nl \
    --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.