qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH-for-10.2] roms: Do not try to build EDK2 for 32-bit ARM on Fedora
@ 2025-11-17 14:04 Philippe Mathieu-Daudé
  2025-11-18  7:09 ` Gerd Hoffmann
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-11-17 14:04 UTC (permalink / raw)
  To: qemu-devel
  Cc: Thomas Huth, Marc-André Lureau, Philippe Mathieu-Daudé,
	Gerd Hoffmann

With Fedora 27, support for 32-bit ARM hosts was dropped.
QEMU also stopped building the docker images in commit
0054dc8bde4 ("Update lcitool and fedora to 37").

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
 roms/edk2-build.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/roms/edk2-build.py b/roms/edk2-build.py
index e564765aaa7..c7e9dc58ec0 100755
--- a/roms/edk2-build.py
+++ b/roms/edk2-build.py
@@ -293,10 +293,6 @@ def prepare_env(cfg, silent = False):
         # ubuntu
         os.environ['GCC5_ARM_PREFIX'] = 'arm-linux-gnueabi-'
         os.environ['GCC_ARM_PREFIX'] = 'arm-linux-gnueabi-'
-    elif binary_exists('arm-linux-gnu-gcc'):
-        # fedora
-        os.environ['GCC5_ARM_PREFIX'] = 'arm-linux-gnu-'
-        os.environ['GCC_ARM_PREFIX'] = 'arm-linux-gnu-'
     if binary_exists('loongarch64-linux-gnu-gcc'):
         os.environ['GCC5_LOONGARCH64_PREFIX'] = 'loongarch64-linux-gnu-'
         os.environ['GCC_LOONGARCH64_PREFIX'] = 'loongarch64-linux-gnu-'
-- 
2.51.0



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH-for-10.2] roms: Do not try to build EDK2 for 32-bit ARM on Fedora
  2025-11-17 14:04 [PATCH-for-10.2] roms: Do not try to build EDK2 for 32-bit ARM on Fedora Philippe Mathieu-Daudé
@ 2025-11-18  7:09 ` Gerd Hoffmann
  2025-11-18 11:17   ` Philippe Mathieu-Daudé
  0 siblings, 1 reply; 3+ messages in thread
From: Gerd Hoffmann @ 2025-11-18  7:09 UTC (permalink / raw)
  To: Philippe Mathieu-Daudé
  Cc: qemu-devel, Thomas Huth, Marc-André Lureau

On Mon, Nov 17, 2025 at 03:04:20PM +0100, Philippe Mathieu-Daudé wrote:
> With Fedora 27, support for 32-bit ARM hosts was dropped.
> QEMU also stopped building the docker images in commit
> 0054dc8bde4 ("Update lcitool and fedora to 37").

/me fails to see the link to the patch ...

This is about the /guest/ firmware images, and they are
cross-compiled.  And note that you can run 32-bit guests
on 64-bit hosts (if supported by the cpu).

Note that I have no objections to removing the 32-bit edk2
firmware images.  Upstream edk2 is in the process of removing
32-bit support, so that is going to happen sooner or later
anyway (for both arm and ia32).  Also UEFI on 32-bit never
really took off in the first place.

But when doing so do it properly please.  Remove build config
(in edk2-build.config), pre-built binaries, maybe also test
cases, ...

take care,
  Gerd



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH-for-10.2] roms: Do not try to build EDK2 for 32-bit ARM on Fedora
  2025-11-18  7:09 ` Gerd Hoffmann
@ 2025-11-18 11:17   ` Philippe Mathieu-Daudé
  0 siblings, 0 replies; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2025-11-18 11:17 UTC (permalink / raw)
  To: Gerd Hoffmann; +Cc: qemu-devel, Thomas Huth, Marc-André Lureau

On 18/11/25 08:09, Gerd Hoffmann wrote:
> On Mon, Nov 17, 2025 at 03:04:20PM +0100, Philippe Mathieu-Daudé wrote:
>> With Fedora 27, support for 32-bit ARM hosts was dropped.
>> QEMU also stopped building the docker images in commit
>> 0054dc8bde4 ("Update lcitool and fedora to 37").
> 
> /me fails to see the link to the patch ...
> 
> This is about the /guest/ firmware images, and they are
> cross-compiled.  And note that you can run 32-bit guests
> on 64-bit hosts (if supported by the cpu).
> 
> Note that I have no objections to removing the 32-bit edk2
> firmware images.  Upstream edk2 is in the process of removing
> 32-bit support, so that is going to happen sooner or later
> anyway (for both arm and ia32).  Also UEFI on 32-bit never
> really took off in the first place.
> 
> But when doing so do it properly please.  Remove build config
> (in edk2-build.config), pre-built binaries, maybe also test
> cases, ...

I only have handy Fedora 42 and 43 VMs where this script doesn't
work anymore. I'm not really interested in installing a pre-37
Fedora to build EDK2 ARM, nor motivated right now to clean this
"properly". Better we wait EDK2 32-bit removal upstream and then
clean these QEMU scripts.

Regards,

Phil.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-11-18 11:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17 14:04 [PATCH-for-10.2] roms: Do not try to build EDK2 for 32-bit ARM on Fedora Philippe Mathieu-Daudé
2025-11-18  7:09 ` Gerd Hoffmann
2025-11-18 11:17   ` Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).