bugGNU GRUB - Bugs: bug #27349, various build problems with grub2...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #27349: various build problems with grub2 and x86_64

Submitted by:  John Taylor <pi00100100>
Submitted on:  Sun 30 Aug 2009 07:44:45 PM UTC  
 
Category: CompilationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Tue 09 Feb 2010 01:10:24 PM UTC, comment #5:

I've just fixed the ft2build problem. AFAICS no bugs remain in this bugreport. Closing

Vladimir Serbinenko <phcoder>
Project Administrator
Fri 11 Sep 2009 02:18:40 PM UTC, comment #4:

I'm not sure about the others yet, I'm afraid, although you appear to at least have workarounds (but this bug remains open). I've committed a variant of my help2man patch after review on grub-devel.

Colin Watson <cjwatson>
Project Member
Thu 10 Sep 2009 01:53:46 PM UTC, comment #3:

Just to clarify, now it works not because of the changes in grub2 version or the host system, but thanks to your patch.

John Taylor <pi00100100>
Thu 10 Sep 2009 01:50:51 PM UTC, comment #2:

I tried revision 2584 and changed i686-unknown-linux-gnu to i486-unknown-linux-gnu (switched to another host system), and now grub2 is built without any errors. Any suggestions for the other problems? Thanks.

John Taylor <pi00100100>
Thu 10 Sep 2009 01:08:51 PM UTC, comment #1:

Does the attached patch deal with the help2man problem?

(file #18694)

Colin Watson <cjwatson>
Project Member
Sun 30 Aug 2009 07:44:45 PM UTC, original submission:

I'm trying to cross-compile grub2 SVN revision 2550 with the following configure arguments: --prefix=/usr --build=i686-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu (host system is i686 while target system is x86_64). I get the following error message:

configure: error: platform "pc" is not supported for target CPU "x86_64"

I then added the --with-platform=efi configure argument (my Intel motherboard seems to support UEFI). Now I get the following error message:

../grub2-2550/util/grub-mkfont.c:28:22: error: ft2build.h No such file or directory

So I also added the --disable-grub-mkfont configure argument. Again, I get a different error message:

help2man: can't get `--help' info from ./grub-mkimage
help2man: can't get `--help' info from ./grub-mkelfimage
help2man: can't get `--help' info from ./grub-fstest
help2man: can't get `--help' info from ./grub-editenv
make: *** [install-local] Error 126

I don't know a workaround for this last message, but I think it is due to the fact that the host system is 32-bit while the target system is 64-bit, so the target binaries cannot be executed.

John Taylor <pi00100100>

 

Attached Files
file #18694:  cross-compile.patch added by cjwatson (377B - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by phcoder (Posted a comment)
  • -unavailable- added by cjwatson (Updated the item)
  • -unavailable- added by pi00100100 (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 09 Feb 2010 01:10:24 PM UTCphcoderStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 10 Sep 2009 01:08:51 PM UTCcjwatsonAttached File-=>Added cross-compile.patch, #18694

    Back to the top


    Powered by Savane 3.1-cleanup1