bugGNU GRUB - Bugs: bug #65909, GRUB 2.12 should not use large...

 
 

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

bug #65909: GRUB 2.12 should not use large model for compilation on riscv64

Submitter:  Jason Montleon <jmontleon>
Submitted:  Sat 22 Jun 2024 03:45:03 PM UTC
   
 
Category:  Compilation Severity:  Major
Priority:  5 - Normal Item Group:  Hardware-specific
Status:  None Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Open Release:  Git master
Release:  Reproducibility:  Every Time
Planned Release:  None

Sat 22 Jun 2024 03:45:03 PM UTC, original submission:  

GRUB 2.12 does not compile correctly using large model on riscv64 using gcc 14.1.1 (gcc-14.1.1-5.fc40.x86_64).

It is my understanding that the large model should not really be used on riscv64 yet and trying to build GRUB 2.12 with it results in an error:

+ ././grub-mkimage -O riscv64-efi -o grubriscv64.efi.orig -d grub-core --sbat ././sbat.csv -m memdisk.squashfs -p /EFI/fedora all_video boot blscfg btrfs cat configfile cryptodisk echo ext2 f2fs fat font gcry_rijndael gcry_rsa gcry_serpent gcry_sha256 gcry_twofish gcry_whirlpool gfxmenu gfxterm gzio halt hfsplus http increment iso9660 jpeg loadenv loopback linux lvm luks luks2 memdisk mdraid09 mdraid1x minicmd net normal part_apple part_msdos part_gpt password_pbkdf2 pgp png reboot regexp search search_fs_uuid search_fs_file search_label serial sleep squash4 syslinuxcfg test tftp version video xfs zstd efi_netfs efifwsetup efinet lsefi lsefimmap connectefi
././grub-mkimage: error: relocation 0x2b is not implemented yet.

medany builds successfully and boots on the VisionFive2 and on VMs.

Jason Montleon <jmontleon>

 

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

Attached Files
file #56184:  0263-Use-medany-instead-of-large-model-for-RISCV.patch added by jmontleon (1KiB - text/x-patch - patch to successfully compile grub 2.12 with medany on riscv64)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jmontleon (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
    2024-06-22 jmontleon Attached File- Added 0263-Use-medany-instead-of-large-model-for-RISCV.patch, #56184

    Back to the top

    Powered by Savane 3.13-72d9.
    Corresponding source code