bug-grub
[Top][All Lists]
Advanced

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

[bug #31908] Hard-coded call to objcopy in grub-core/genmod.sh.in


From: Shea Levy
Subject: [bug #31908] Hard-coded call to objcopy in grub-core/genmod.sh.in
Date: Fri, 17 Dec 2010 19:13:50 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_5; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.19 Safari/534.13

URL:
  <http://savannah.gnu.org/bugs/?31908>

                 Summary: Hard-coded call to objcopy in
grub-core/genmod.sh.in
                 Project: GNU GRUB
            Submitted by: shlevy
            Submitted on: Fri Dec 17 19:13:49 2010
                Category: Compilation
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Shea Levy
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

grub-core/genmod.sh.in calls objcopy several times, when it should call
@address@hidden 

Noticed this issue when following the Macbook pure EFI tutorial
(http://grub.enbug.org/TestingOnMacbook). I'm installing a 32-bit version of
Linux From Scratch, so I built a cross-compiling toolchain, which, in my case,
installed the 64-bit objcopy as /usr/bin/x86_64-pc-linux-gnu-objcopy.
./configure --target=x86_64-pc-linux-gnu finds that objcopy just fine, but
when make runs genmod.sh it calls the objcopy in my PATH, which is aimed at 32
bit systems and therefore doesn't recognize the format. The fix is simple:
substitute each instance of objcopy with @address@hidden A simple `sed -e
's/objcopy/@OBJCOPY@/g' grub/grub-core/genmod.sh.in.orig >
grub/grub-core/genmod.sh.in 
` should suffice, but I've attached a patch (generated with diff -Naur on
OSX) anyway.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Fri Dec 17 19:13:49 2010  Name: genmod-objcopy.patch  Size: 886B   By:
shlevy

<http://savannah.gnu.org/bugs/download.php?file_id=22220>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31908>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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