commit: 5b6756b57b45d5d7d9553e0475038625def026e5 Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> AuthorDate: Mon Jan 6 16:26:27 2025 +0000 Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org> CommitDate: Mon Jan 6 16:27:49 2025 +0000 URL: https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=5b6756b5
Fix too big PXE NetBiosBinary Bug: https://bugs.gentoo.org/947372 Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org> ...e-keep-size.patch => 024_virtualbox-7.0.22-ipxe-small-size.patch} | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/patches/024_virtualbox-7.0.8-mtune-keep-size.patch b/patches/024_virtualbox-7.0.22-ipxe-small-size.patch similarity index 77% rename from patches/024_virtualbox-7.0.8-mtune-keep-size.patch rename to 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 \
