[bug #60283] trunk fails to compile on riscv32

2021-03-24 Thread Khem Raj
Follow-up Comment #2, bug #60283 (project grub):

This patch ignores the overflow check for 32bit ELF. Is this right thing to
do?

(file #51136)
___

Additional Item Attachment:

File name: pcrel-reloc-overflow.patch Size:1 KB
   




___

Reply to this item at:

  

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




[bug #60283] trunk fails to compile on riscv32

2021-03-24 Thread Khem Raj
Follow-up Comment #1, bug #60283 (project grub):

The issue is reproducible with attached testcase

$ cd rv32-test
$ /tmp/grub/grub-mkimage -c cfg -p /EFI/BOOT -d grub-core  -O riscv32-efi -o
./grub-efi-bootriscv32.efi

/tmp/grub/grub-mkimage: error: target 17c6 not reachable from pc=936.



(file #51135)
___

Additional Item Attachment:

File name: rv32-test.tar.xz   Size:56 KB




___

Reply to this item at:

  

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




[bug #60283] trunk fails to compile on riscv32

2021-03-23 Thread Khem Raj
URL:
  

 Summary: trunk fails to compile on riscv32
 Project: GNU GRUB
Submitted by: khem
Submitted on: Wed 24 Mar 2021 02:35:52 AM UTC
Category: Compilation
Severity: Major
Priority: 5 - Normal
  Item Group: Software Error
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: Khem Raj
Originator Email: raj.k...@gmail.com
 Open/Closed: Open
 Release: 
 Release: Git master
 Discussion Lock: Any
 Reproducibility: Every Time
 Planned Release: None

___

Details:

I am seeing below error

WARNING:
TOPDIR/build/tmpfs/work/riscv32-yoe-linux/grub-efi/2.04+2.06~rc1-r0/temp/run.do_mkimage.648370:157
exit 1 from 'grub-mkimage -c ../cfg -p /EFI/BOOT -d ./grub-core/ -O
riscv32-efi -o ./grub-efi-bootINVALID.efi boot linux ext2 fat serial
part_msdos part_gpt normal efi_gop iso9660 configfile search loadenv test
chain echo efinet eval font gettext gfxterm gzio help lsefi read regexp
search_fs_file search_fs_uuid search_label terminal terminfo tftp time'

2.04 does not have this error.




___

Reply to this item at:

  

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