[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cross-compiling grub-1.98 i686 to x86_64: gentrigtables
From: |
Eric Herman |
Subject: |
Re: cross-compiling grub-1.98 i686 to x86_64: gentrigtables |
Date: |
Sat, 07 May 2011 20:34:50 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 |
On 05/07/2011 06:00 PM, address@hidden wrote:
It seems that make builds "gentrigtables" (which is an ELF 64-bit LSB
executable, naturally) then attempts to execute "./gentrigtables>
trigtables.c"
A patch for this seems to exist:
http://git.pokylinux.org/cgit/cgit.cgi/meta-intel/tree/common/recipes-bsp/grub/grub1.98/gentrigtables-compile-fix.patch
And referenced here:
https://lists.yoctoproject.org/pipermail/poky/2011-February/003980.html
With this note from Tom Zanussi:
> Fixes [BUG #711].
>
> gentrigtables was being build as a 64-bit binary which wouldn't run on
> the build machine. grub-mkfont was also causing compile failures, add
> dependency on libfreetype for that.
However, I believe this patch only works if the BUILD_CC variable is set
in the environment before the build is run .... Just thinking out loud,
it seems to me like finding the host system's native compiler should be
a part of the configure process.
Cheers,
-Eric
--
http://www.freesa.org/ -- mobile: +31 620719662
aim: ericigps -- skype: eric_herman -- jabber: address@hidden