grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] New x86_64 EFI patch


From: Javier Martín
Subject: Re: [PATCH] New x86_64 EFI patch
Date: Thu, 17 Jul 2008 17:02:29 +0200

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

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. 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 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.

Attachment: signature.asc
Description: Esta parte del mensaje está firmada digitalmente


reply via email to

[Prev in Thread] Current Thread [Next in Thread]