Add bison to BuildRequires for RISC-V

Disable LTO for RISC-V

Disable testsuite for RISC-V
This commit is contained in:
Andrew Lukoshko 2025-06-13 14:51:19 +03:00 committed by eabdullin
commit 0c9c3424cc
3 changed files with 499 additions and 582 deletions

View File

@ -2,7 +2,7 @@
Summary: A GNU collection of binary utilities
Name: binutils%{?_with_debug:-debug}
Version: 2.41
Release: 55%{?dist}.alma.1
Release: 56%{?dist}.alma.1
License: GPL-3.0-or-later AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND (LGPL-2.0-or-later WITH GCC-exception-2.0) AND BSD-3-Clause AND GFDL-1.3-or-later AND GPL-2.0-or-later AND LGPL-2.1-or-later AND LGPL-2.0-or-later
URL: https://sourceware.org/binutils
@ -382,6 +382,10 @@ Patch59: binutils-aarch64-small-plt0.patch
# Lifetime: Fixed in 2.45
Patch60: binutils-s390-z17-cpu-name.patch
# Purpose: Add basic support for RISC-V 64-bit EFI objects.
# Lifetime: Fixed in 2.42
Patch61: binutils-riscv-efi.patch
#----------------------------------------------------------------------------
# Purpose: Workaround for an unresolved bug in ppc gcc
@ -393,9 +397,6 @@ Patch98: bin.ppc64.gcc.patch
# Lifetime: TEMPORARY
Patch99: binutils-suppress-ld-align-tests.patch
# AlmaLinux Patch
Patch100: 0001-Add-basic-support-for-RISC-V-64-bit-EFI-objects.patch
#----------------------------------------------------------------------------
Provides: bundled(libiberty)
@ -1436,11 +1437,13 @@ exit 0
#----------------------------------------------------------------------------
%changelog
* Wed Apr 16 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 2.41-55.alma.1
* Fri Jun 13 2025 Andrew Lukoshko <alukoshko@almalinux.org> - 2.41-56.alma.1
- Add bison to BuildRequires for RISC-V
- Disable LTO for RISC-V
- Disable testsuite for RISC-V
- Add basic support for RISC-V 64-bit EFI objects (backported from 2.44)
* Mon Apr 28 2025 Andrea Bolognani <abologna@redhat.com> - 2.41-56
- Add basic support for RISC-V 64-bit EFI objects. (RHEL-88815)
* Tue Apr 15 2025 Nick Clifton <nickc@redhat.com> - 2.41-55
- Adds z17 as a cpu name for the s390x architecture. (RHEL-87215)

14
rpminspect.yaml Normal file
View File

@ -0,0 +1,14 @@
---
abidiff:
extra_args: "--ignore-soname"
ignore:
- '/usr/lib*/gprofng/libgp-collector.so*'
- '/usr/lib*/libbfd-*.so'
- '/usr/lib*/libctf.so*'
- '/usr/lib*/libctf-nobfd.so*'
- '/usr/lib*/libgprofng.so*'
- '/usr/lib*/libopcodes-*.so'
runpath:
allowed_paths:
- /usr/lib64