Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
qemu-linux-user
2002-ipxe-use-gcc6-for-more-compact-code.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2002-ipxe-use-gcc6-for-more-compact-code.patch of Package qemu-linux-user
From: Bruce Rogers <brogers@suse.com> Date: Fri, 25 Jan 2019 09:37:44 -0700 Subject: ipxe: use gcc6 for more compact code Include-If: %if 0%{?suse_version} <= 1320 We have a strict size limit of 64K which needs to be enforced for pxe-virtio.rom for migration compatibility. The v4.8 gcc compiler used in SLE12 doesn't produce as compact code as does more recent gcc compilers, and the pxe-virtio.rom produced with it doesn't fit in 64K anymore without taking extraordinary efforts. I was unable to find enough opportunities in the ipxe code and data to reduce its size, and found that using a more recent compiler would be the best solution to keeping the rom size within the 64K size limit. Signed-off-by: Bruce Rogers <brogers@suse.com> --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roms/ipxe/src/Makefile b/roms/ipxe/src/Makefile index 911d27ab537dd844814baaac9831..80409cea9ed8d2b882e681a4cc93 100644 --- a/roms/ipxe/src/Makefile +++ b/roms/ipxe/src/Makefile @@ -24,7 +24,7 @@ ECHO := echo PRINTF := printf PERL := perl TRUE := true -CC := $(CROSS_COMPILE)gcc +CC := $(CROSS_COMPILE)gcc-6 CPP := $(CC) -E AS := $(CROSS_COMPILE)as LD := $(CROSS_COMPILE)ld
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor