[PATCH v2] grub-core: Build fixes for i386

2021-05-13 Thread Jan (janneke) Nieuwenhuizen
This fixes cross-compiling to x86 (e.g., the Hurd) from x86-linux. To reproduce, update the Grub source description in your local Guix archive and run ./pre-inst-env guix build --system=i686-linux --target=i586-pc-gnu grub or install an x86 cross-build environment on x86-linux (32bit!) and co

Re: bug#41982: [PATCH v2] grub-core: Build fixes for i386

2020-07-13 Thread Jan Nieuwenhuizen
Ludovic Courtès writes: Hi! > Jan Nieuwenhuizen skribis: > >> Jan Nieuwenhuizen writes: >> >> lib/i386/relocator64.S:97: Error: bad register name `%rsp' >> >> The attached v2 fixes that. > > On the Guix side I guess you can go ahead and apply it. > > Well done! Thanks! Ah, I already done i

Re: bug#41982: [PATCH v2] grub-core: Build fixes for i386

2020-07-13 Thread Ludovic Courtès
Hi! Jan Nieuwenhuizen skribis: > Jan Nieuwenhuizen writes: > > Hello! > >> When cross-compiling Grub-2.04 from i386-linux-gnu to i586-pc-hurd on >> GNU Guix, I got this error > > Today, we found* that my patch introduced a regression: a native, EFI > build on i686-linux-gnu failed with > > l

[PATCH v2] grub-core: Build fixes for i386

2020-07-08 Thread Jan Nieuwenhuizen
gister name `%rsp' The attached v2 fixes that. Greetings, Janneke *) http://logs.guix.gnu.org/guix/2020-07-08.log#104852 >From 17b242e7b80108f1467037e15b605595e4823b2e Mon Sep 17 00:00:00 2001 From: "Jan (janneke) Nieuwenhuizen" Date: Sun, 21 Jun 2020 15:10:40 +0200 Subject: [PA