bug-grub
[Top][All Lists]
Advanced

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

[bug #62466] grub-mkimage: Only check aarch64 relocations when built for


From: selvarasu ganesan
Subject: [bug #62466] grub-mkimage: Only check aarch64 relocations when built for aarch64
Date: Sun, 15 May 2022 07:11:47 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62466>

                 Summary: grub-mkimage: Only check aarch64 relocations when
built for aarch64
                 Project: GNU GRUB
            Submitted by: selgan01
            Submitted on: Sun 15 May 2022 11:11:46 AM UTC
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: Selvarasu Ganesan
        Originator Email: selvrasu.ganesan@arm.com
             Open/Closed: Open
                 Release: 
                 Release: Git master
         Discussion Lock: Any
         Reproducibility: Every Time
         Planned Release: None

    _______________________________________________________

Details:

I am doing a testing grub from master branch. I find one issue in your
commit.
Commit id: 
8541f319cb840abae054f78757aeddb41b4711a6

util/grub-mkimagexx.c:
+#if defined(MKIMAGE_ELF64) && defined(__arm__)

The above change is not valid if i build grub in x86_64 platform for aarch64
bit target.
I ran grub-mkimage in x86_64  to generate efi for the aarch64 platform. In
this case the add_fixup_entry function is never invoking due to 
defined(__arm__). Here You need to check the target platform.




    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Sun 15 May 2022 11:11:46 AM UTC  Name: grub_issue.PNG  Size: 139KiB  
By: selgan01

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

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62466>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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