a8263c0693
- Include upstream patches designated as stable material and reviewed for applicability to include here block-Separate-blk_is_writable-and-blk_s.patch hw-intc-arm_gic-Fix-interrupt-ID-in-GICD.patch hw-net-lan9118-Fix-RX-Status-FIFO-PEEK-v.patch hw-timer-slavio_timer-Allow-64-bit-acces.patch net-Fix-handling-of-id-in-netdev_add-and.patch target-arm-Don-t-decode-insns-in-the-XSc.patch target-arm-Fix-MTE0_ACTIVE.patch target-arm-Introduce-PREDDESC-field-defi.patch target-arm-Update-PFIRST-PNEXT-for-pred_.patch target-arm-Update-REV-PUNPK-for-pred_des.patch target-arm-Update-ZIP-UZP-TRN-for-pred_d.patch tcg-Use-memset-for-large-vector-byte-rep.patch ui-vnc-Add-missing-lock-for-send_color_m.patch virtio-move-use-disabled-flag-property-t.patch - binutils v2.36 has changed the handling of the assembler's -mx86-used-note, resulting in a build failure. To compensate, we now explicitly specify -mx86-used-note=no in the seabios Makefile (boo#1181775) build-be-explicit-about-mx86-used-note-n.patch OBS-URL: https://build.opensuse.org/request/show/869843 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=614
29 lines
1.2 KiB
Diff
29 lines
1.2 KiB
Diff
From: Bruce Rogers <brogers@suse.com>
|
|
Date: Thu, 4 Feb 2021 11:06:47 -0700
|
|
Subject: build: be explicit about -mx86-used-note=no
|
|
|
|
binutils v2.36 switched the default for the assembler's -mx86-used-note,
|
|
which caused breakage building seavgabios as follows:
|
|
ld: section .note.gnu.property LMA [0000000000000000,0000000000000027]
|
|
overlaps section .text LMA [0000000000000000,0000000000006e87]
|
|
Fix by explicitly specifying -mx86-used-note=no to assembler in seabios'
|
|
Makefile (boo#1181775)
|
|
|
|
Signed-off-by: Bruce Rogers <brogers@suse.com>
|
|
---
|
|
Makefile | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/roms/seabios/Makefile b/roms/seabios/Makefile
|
|
index 74a01853f26458d94d4a4e056b7b..16627562900bbca4b68c6f1df220 100644
|
|
--- a/roms/seabios/Makefile
|
|
+++ b/roms/seabios/Makefile
|
|
@@ -73,6 +73,7 @@ COMMONCFLAGS += $(call cc-option,$(CC),-fstack-check=no,)
|
|
COMMONCFLAGS += $(call cc-option,$(CC),-Wno-address-of-packed-member,)
|
|
COMMONCFLAGS += $(call cc-option,$(CC),-fcf-protection=none,)
|
|
COMMA := ,
|
|
+COMMONCFLAGS += $(call cc-option,$(CC),-Wa$(COMMA)-mx86-used-note=no,)
|
|
|
|
CFLAGS32FLAT := $(COMMONCFLAGS) -DMODE16=0 -DMODESEGMENT=0
|
|
CFLAGSSEG := $(COMMONCFLAGS) -DMODESEGMENT=1 -fno-defer-pop \
|