All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [PATCH] New x86_64 EFI patch
Date: Thu, 17 Jul 2008 11:22:15 -0400	[thread overview]
Message-ID: <1216308135.16120.5.camel@dv> (raw)
In-Reply-To: <1216306949.21767.20.camel@localhost>

On Thu, 2008-07-17 at 17:02 +0200, Javier Martín wrote:
> El jue, 17-07-2008 a las 17:50 +0800, Bean escribió:
> > Committed.
> > 
> Seemingly, the fact that there is now separate recognition for "x86_64"
> machine types has borked the current build system in amd64 PCs:
> 
> $ make
> ./config.status --recheck
> running CONFIG_SHELL=/bin/bash /bin/bash ../src/configure
> --prefix=/home/javier/Proyectos/grub/build/out/  --no-create
> --no-recursion
> checking build system type... x86_64-unknown-linux-gnu
> checking host system type... x86_64-unknown-linux-gnu
> checking target system type... x86_64-unknown-linux-gnu
> configure: error: unsupported machine type
> make: *** [config.status] Error 1

I've just noticed that.  I think x86_64 should default to "i386-pc"
platform.  I'll have a look how to do it nicely.

> The current system would build bootloader files as i386-pc (with the
> -m32 switch in gcc, which itself created the infamous "cannot find start
> or _start" problem when a multilib version of gcc was not installed) and
> helper files like grub-setup as amd64.

I was trying add an extra check there, but ran into more interesting
stuff.  Basically, the target checks should be better separated from the
rest.  I'll take another look.

>  This caused problems of its own,
> like grub-emu (built as amd64) being unable to load any grub modules
> (built as i386), but at least worked OOtB.

I didn't know grub-emu could load modules!  Live and learn :-)

> I was able to correctly recompile if I reconfigured GRUB with
> --target=i386-pc-linux-gnu (i386-pc alone was not recognized). Is this
> the current way to go? I feel it should not be so, because it multiboot2
> comes out with amd64 support, there should be an x86_64-pc grub2.

Perhaps we'll have it eventually.  But I agree, the default should be
restored for now.

-- 
Regards,
Pavel Roskin



  parent reply	other threads:[~2008-07-17 15:22 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-20 17:04 [PATCH] New x86_64 EFI patch Bean
2008-06-21 17:04 ` Bean
2008-06-23 11:58   ` Isaac Dupree
2008-06-23 12:53     ` Bean
2008-06-24 12:52   ` Isaac Dupree
2008-06-24 13:12     ` Bean
2008-06-24 16:57       ` Isaac Dupree
2008-06-24 17:11         ` Bean
2008-06-24 21:59           ` Isaac Dupree
2008-06-25  6:49             ` Bean
2008-06-25 12:50               ` Isaac Dupree
2008-06-25 13:54                 ` Bean
2008-06-28 10:51                   ` Isaac Dupree
2008-06-28 11:55                     ` Bean
2008-06-29 23:55                       ` Isaac Dupree
2008-06-30  5:05                         ` Bean
2008-07-02 13:43                           ` Bean
2008-07-05 23:02                           ` Isaac Dupree
2008-07-06  4:31                             ` Bean
2008-07-08 16:16                               ` Isaac Dupree
2008-07-08 16:31                                 ` Bean
2008-07-12 14:41                                   ` Robert Millan
2008-07-12 15:16                                     ` Bean
2008-07-12 15:26                                       ` Bean
2008-07-12 17:10                                         ` Robert Millan
2008-07-12 18:05                                           ` Bean
2008-07-17  9:50                                             ` Bean
2008-07-17 15:02                                               ` Javier Martín
2008-07-17 15:18                                                 ` Bean
2008-07-17 15:28                                                   ` Pavel Roskin
2008-07-17 15:22                                                 ` Pavel Roskin [this message]
2008-07-17 15:26                                                   ` Bean
2008-07-17 15:45                                                     ` Javier Martín
2008-07-17 15:50                                                       ` Bean
2008-07-17 16:01                                                         ` Javier Martín
2008-07-17 16:17                                                           ` Pavel Roskin
2008-07-17 16:06                                                         ` Pavel Roskin
2008-07-17 16:17                                                           ` Javier Martín
2008-07-19 15:01                                             ` generic BIOS-less boot (Re: [PATCH] New x86_64 EFI patch) Robert Millan
2008-07-12 15:26                                       ` [PATCH] New x86_64 EFI patch Robert Millan
2008-07-12 15:37                                         ` Bean
2008-07-12 15:48                                           ` Bean
2008-06-25 12:59               ` Isaac Dupree
2008-07-03 18:11 ` Marco Gerards
2008-07-03 19:51   ` Bean

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=1216308135.16120.5.camel@dv \
    --to=proski@gnu.org \
    --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.