summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViorel Munteanu <ceamac@gentoo.org>2025-01-06 18:26:27 +0200
committerViorel Munteanu <ceamac@gentoo.org>2025-01-06 18:40:14 +0200
commita667e45820ee69833facbfcb177bd722ed0d4767 (patch)
tree35fc6c90f0a332a259d60202e6f7adf4010d2825
parentFix C23 issue while compiling a kernel module (diff)
downloadvirtualbox-patches-branch-7.2.tar.gz
virtualbox-patches-branch-7.2.tar.bz2
virtualbox-patches-branch-7.2.zip
Fix too big PXE NetBiosBinaryv7.2.0_pre20250106branch-7.2
Bug: https://bugs.gentoo.org/947372 Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
-rw-r--r--patches/024_virtualbox-7.0.22-ipxe-small-size.patch (renamed from patches/024_virtualbox-7.0.8-mtune-keep-size.patch)5
1 files changed, 4 insertions, 1 deletions
diff --git a/patches/024_virtualbox-7.0.8-mtune-keep-size.patch b/patches/024_virtualbox-7.0.22-ipxe-small-size.patch
index e37d9d6..1b5f11f 100644
--- a/patches/024_virtualbox-7.0.8-mtune-keep-size.patch
+++ b/patches/024_virtualbox-7.0.22-ipxe-small-size.patch
@@ -1,13 +1,16 @@
Force -mtune=i386. Random -mtune can lead to iPxeBiosBin.rom getting too
large (larger than 56k). This can happen because we support custom CFLAGS.
+Also disable -funroll-loops, see bug https://bugs.gentoo.org/947372
+
--- a/src/VBox/Devices/PC/ipxe/Makefile.kmk
+++ b/src/VBox/Devices/PC/ipxe/Makefile.kmk
-@@ -125,6 +125,7 @@
+@@ -125,6 +125,8 @@
-ffreestanding \
-ffunction-sections \
-march=i386 \
+ -mtune=i386 \
++ -fno-unroll-loops \
-fomit-frame-pointer \
-fstrength-reduce \
-falign-jumps=1 \