This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 881038ccdc gnu: ipxe-qemu: Fix build on x86-32.
881038ccdc is described below
commit 881038ccdc2b1c42138c66f2a70fdcfc465eb5fe
Author: André Batista <[email protected]>
AuthorDate: Wed Sep 17 16:58:59 2025 -0300
gnu: ipxe-qemu: Fix build on x86-32.
* gnu/packages/bootloaders.scm (ipxe) [arguments] <#:phases>: Conditionally
add
a 'fix-x86-align phase to fix (U)INT64 assertion failure on these arches.
Change-Id: I9481b41c563984e7cd120b3039c08fe086263f72
Signed-off-by: Vagrant Cascadian <[email protected]>
---
gnu/packages/bootloaders.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 0632f5de65..ae2bf2218f 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -22,6 +22,7 @@
;;; Copyright © 2023 Simon Tournier <[email protected]>
;;; Copyright © 2024 Zheng Junjie <[email protected]>
;;; Copyright © 2025 Esther Flashner <[email protected]>
+;;; Copyright © 2025 André Batista <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -2031,6 +2032,13 @@ order to add a suitable bootloader menu entry.")
"/share/syslinux \\\n"
all))))))
#~())
+ #$@(if (target-x86-32?)
+ ;; Otherwise (u)int64 assertion failure on this arch.
+ ;; See <https://github.com/ipxe/ipxe/issues/1506>
+ #~((add-after 'enter-source-directory 'fix-x86-align
+ (lambda _
+ (setenv "HOST_EFI_CFLAGS" "-malign-double"))))
+ #~())
(delete 'configure) ; no configure script
(replace 'install
(lambda _