aarch64/makefile: Pass --no-warn-rwx-segments to the linker
Resolves: #RHEL-183536 Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
This commit is contained in:
parent
8923af44e5
commit
299939a045
@ -0,0 +1,26 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Frayer <nfrayer@redhat.com>
|
||||
Date: Tue, 30 Jun 2026 11:07:01 +0200
|
||||
Subject: [PATCH] aarch64/makefile: Pass --no-warn-rwx-segments to the linker
|
||||
|
||||
temporary file t.so contains a RWX segment which results
|
||||
in a warning and the build fails with --fatal-warnings
|
||||
|
||||
Signed-off-by: Nicolas Frayer <nfrayer@redhat.com>
|
||||
---
|
||||
Make.rules | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Make.rules b/Make.rules
|
||||
index 8cb93b0a0392..daa07185d770 100644
|
||||
--- a/Make.rules
|
||||
+++ b/Make.rules
|
||||
@@ -46,7 +46,7 @@
|
||||
$(FORMAT) $*.so $@
|
||||
|
||||
%.so: %.o
|
||||
- $(LD) $(LDFLAGS) $^ -o $@ $(LOADLIBES)
|
||||
+ $(LD) $(LDFLAGS) --no-warn-rwx-segments $^ -o $@ $(LOADLIBES)
|
||||
|
||||
%.o: %.c
|
||||
$(CC) $(INCDIR) $(CFLAGS) $(CPPFLAGS) -c $< -o $@
|
||||
@ -44,3 +44,4 @@ Patch0043: 0043-lfbgrid-Make-pointer-size-testing-not-arch-name-depe.patch
|
||||
Patch0044: 0044-Fix-the-arch-subdirs-in-.gitignore.patch
|
||||
Patch0045: 0045-Use-CFLAGS-with-gcc-print-libgcc-file-name-to-get-th.patch
|
||||
Patch0046: 0046-CFLAGS-add-Wno-pointer-sign.patch
|
||||
Patch0047: 0047-aarch64-makefile-Pass-no-warn-rwx-segments-to-the-li.patch
|
||||
|
||||
@ -2,7 +2,7 @@ Name: gnu-efi
|
||||
Epoch: 1
|
||||
Version: 3.0.11
|
||||
%global tarball_version 3.0.9
|
||||
Release: 8%{?dist}%{?buildid}
|
||||
Release: 9%{?dist}%{?buildid}
|
||||
Summary: Development Libraries and headers for EFI
|
||||
License: BSD
|
||||
URL: https://sourceforge.net/projects/gnu-efi/
|
||||
@ -178,6 +178,10 @@ find %{buildroot}/%{_prefix}/ -type l | sed 's,%{buildroot}/\+,/,' > compat.lst
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 30 2026 Nicolas Frayer <nfrayer@redhat.com> - 3.0.11-9
|
||||
- aarch64/raw: Pass --no-warn-rwx-segments to the linker
|
||||
- Resolves: #RHEL-183536
|
||||
|
||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com>
|
||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||
Related: rhbz#1991688
|
||||
|
||||
Loading…
Reference in New Issue
Block a user