Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EA78BC3DA6E for ; Sun, 31 Dec 2023 18:11:16 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rK0H4-0005gL-G2; Sun, 31 Dec 2023 13:10:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rK0H0-0005g2-IS for grub-devel@gnu.org; Sun, 31 Dec 2023 13:10:54 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rK0Gy-0007Lt-HS for grub-devel@gnu.org; Sun, 31 Dec 2023 13:10:54 -0500 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 9F0C51E6520; Sun, 31 Dec 2023 13:10:49 -0500 (EST) (envelope-from drummer@pobox.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id :date:mime-version:to:from:subject:content-type :content-transfer-encoding; s=sasl; bh=mucHJ+HHNdFq9nSpTrbr5xuCp /LhDgXLU7ucrVRtHig=; b=lANEjglN4+sQjgGFGhhUunhMJsencPt2Fw3cDzTOT C4uNVkYwkmC+H1kIXWP+DpOJ+igTDB5ffkqrhz+lW9ZLN1+RUmSV474/ay/bqaf4 lw3hCG1CCO2iiSXVHnJF81JXhuFRtHyQ7v/GMWQTR82yuIgBbKYA1e6G/F9ZIv6U js= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id 88EB61E651E; Sun, 31 Dec 2023 13:10:49 -0500 (EST) (envelope-from drummer@pobox.com) Received: from [192.168.1.173] (unknown [96.240.1.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id F0E5D1E651D; Sun, 31 Dec 2023 13:10:48 -0500 (EST) (envelope-from drummer@pobox.com) Message-ID: <92ef2aea-3848-4e64-94dd-a668bd99c2e5@pobox.com> Date: Sun, 31 Dec 2023 13:10:47 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: grub-devel@gnu.org From: Dave Pickens Subject: Severe bug in grub-2.12-for-windows X-Pobox-Relay-ID: ED0BBD40-A807-11EE-B3C8-78DCEB2EC81B-16937254!pb-smtp1.pobox.com Received-SPF: pass client-ip=64.147.108.70; envelope-from=drummer@pobox.com; helo=pb-smtp1.pobox.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: The development of GNU GRUB Content-Type: multipart/mixed; boundary="===============0693779120544624970==" Errors-To: grub-devel-bounces+grub-devel=archiver.kernel.org@gnu.org Sender: grub-devel-bounces+grub-devel=archiver.kernel.org@gnu.org --===============0693779120544624970== Content-Language: en-US Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi,

I am the author of Grub2Win.

In order to generate kernels from a Windows environment, I rely heavily on the Windows version (grub-2.12-for-windows)

In testing, I have discovered that the EFI 64 bit kernel generated by the grub-mkimage.exe module will not boot.
The EFI 32 bit and non EFI i386-pc kernels work well and boot with no problem.

I have submitted bug report #65072 with details, a screenshot and the script used to generate the kernels.
The text of the bug report is shown below.

Any help from you would be greatly appreciated as I would like to include the 2.12 kernels in my software soon.

Many thanks,

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 at boot time 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.
--===============0693779120544624970== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR3J1Yi1kZXZl bCBtYWlsaW5nIGxpc3QKR3J1Yi1kZXZlbEBnbnUub3JnCmh0dHBzOi8vbGlzdHMuZ251Lm9yZy9t YWlsbWFuL2xpc3RpbmZvL2dydWItZGV2ZWwK --===============0693779120544624970==--