bugGNU GRUB - Bugs: bug #62466, grub-mkimage: Only check aarch64...

 
 

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

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

Submitter:  selvarasu ganesan <selgan01>
Submitted:  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
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Sun 15 May 2022 11:11:46 AM UTC, original submission:  

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.

selvarasu ganesan <selgan01>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #53200:  grub_issue.PNG added by selgan01 (139KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by selgan01 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-05-15 selgan01 Attached File- Added grub_issue.PNG, #53200

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code