[bug #65072] Grub version 2.12 for Windows grub-mkimage.exe creates bad code

2024-01-01 Thread Dave Pickens
Follow-up Comment #2, bug#65072 (group grub):

I have attached two additional files:

output.genefi32.txtoutput of grub-mkimage for EFI 32 bit

output.genbios.txt output of grub-mkimage for non EFI

I noted that the __stack_chk_guard output entries are quite different in the
EFI 32 bit versus the failing EFI 64 bit output.

In the non EFI output, the __stack_chk_guard entries do not appear at all.

(file #55497, file #55498)

___

Additional Item Attachment:

File name: output.genefi32.txtSize:203 KB


File name: output.genbios.txt Size:2 KB



AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-6bcebcde8602bde8d5c9164af16a7b4a8ffde7bc.tar.gz


___

Reply to this item at:

  

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




[bug #65072] Grub version 2.12 for Windows grub-mkimage.exe creates bad code

2023-12-21 Thread Dave Pickens
Follow-up Comment #1, bug#65072 (group grub):

I have also attached file output.genefi64.txt which is the console output of
the grub-mkimage command.


___

Reply to this item at:

  

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




[bug #65072] Grub version 2.12 for Windows grub-mkimage.exe creates bad code

2023-12-21 Thread Dave Pickens
Additional Item Attachment, bug#65072 (group grub):

File name: output.genefi64.txtSize:287 KB



AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-710f4bb10c72bf6a201930fdbcb2a73bdde1a5d2.tar.gz


___

Reply to this item at:

  

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




[bug #65072] Grub version 2.12 for Windows grub-mkimage.exe creates bad code

2023-12-21 Thread Dave Pickens
Additional Item Attachment, bug#65072 (group grub):

File name: grub-212-error.jpg Size:17 KB


File name: gen-image.bat  Size:7 KB



AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-710f4bb10c72bf6a201930fdbcb2a73bdde1a5d2.tar.gz


___

Reply to this item at:

  

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




[bug #65072] Grub version 2.12 for Windows grub-mkimage.exe creates bad code

2023-12-21 Thread Dave Pickens
URL:
  

 Summary: Grub version 2.12 for Windows grub-mkimage.exe
creates bad code
   Group: GNU GRUB
   Submitter: drummerdp
   Submitted: Fri 22 Dec 2023 02:20:52 AM UTC
Category: None
Severity: Major
Priority: 5 - Normal
  Item Group: Software Error
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: Dave Pickens
Originator Email: 
 Open/Closed: Open
 Release: other
 Release: 
 Discussion Lock: Any
 Reproducibility: Every Time
 Planned Release: None


___

Follow-up Comments:


---
Date: Fri 22 Dec 2023 02:20:52 AM UTC By: Dave Pickens 
I am testing the newly released version 2.12.

Using grub-mkimage.exe to create a bootable 64 bit EFI kernel.

When the kernel is loaded it gives message

symbol '_stack_chk_guard' not found

See the attached screenshot.
Then the kernel aborts.

I was extremely careful when generating the kernel to ensure that the matching
libraries were used by the grub-mkimage command.
The libraries and command are all in the same directory, so it is very
unlikely that a mismatch occurred.

This bug renders grub-2.12-for-windows useless.
The kernel will not boot.

I have also attached the Windows .bat script I used to generate the kernels.

Note: The 32 bit i386-efi and non EFI i386-pc kernels work fine.
The problem is strictly with the 64 bit x86_64-efi kernel.









___

Reply to this item at:

  

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