diff --git a/0001-Fix-compilation-issue-for-gcc-13.0.1.patch b/0001-Fix-compilation-issue-for-gcc-13.0.1.patch new file mode 100644 index 0000000..ee31013 --- /dev/null +++ b/0001-Fix-compilation-issue-for-gcc-13.0.1.patch @@ -0,0 +1,26 @@ +From 87c8ac5b9d4a2cead9be46a993c734a33490bb95 Mon Sep 17 00:00:00 2001 +From: Igor Ivanov +Date: Mon, 20 Feb 2023 18:05:47 +0200 +Subject: [PATCH] issue: 3373882 Fix compilation issue for gcc 13.0.1 + +Signed-off-by: Igor Ivanov +--- + config/m4/compiler.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config/m4/compiler.m4 b/config/m4/compiler.m4 +index 328d1bae..ec6340bd 100644 +--- a/config/m4/compiler.m4 ++++ b/config/m4/compiler.m4 +@@ -143,7 +143,7 @@ case $CC in + -Wno-free-nonheap-object " + CXXFLAGS="$CXXFLAGS -Wshadow -Wall -Wextra -Werror -Wundef \ + -ffunction-sections -fdata-sections -Wsequence-point -pipe -Winit-self -Wmissing-include-dirs \ +- -Wno-free-nonheap-object " ++ -Wno-free-nonheap-object -Wno-overloaded-virtual " + ;; + icc*|icpc*) + AC_MSG_RESULT([icc]) +-- +2.25.1 + diff --git a/libvma.spec b/libvma.spec index 0b37da2..7b35170 100644 --- a/libvma.spec +++ b/libvma.spec @@ -2,12 +2,13 @@ Name: libvma Version: 9.8.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A library for boosting TCP and UDP traffic (over RDMA hardware) License: GPLv2 or BSD Url: https://github.com/Mellanox/libvma Source0: https://github.com/Mellanox/libvma/archive/%{version}/%{name}-%{version}.tar.gz +Patch0: 0001-Fix-compilation-issue-for-gcc-13.0.1.patch # libvma currently supports only the following architectures ExclusiveArch: x86_64 ppc64le ppc64 aarch64 @@ -99,6 +100,9 @@ rm -f $RPM_BUILD_ROOT/%{_sysconfdir}/init.d/vma %{_mandir}/man8/vma_stats.* %changelog +* Mon Feb 20 2023 Igor Ivanov 9.8.1-2 +- Fix gcc13 compilation issue + * Mon Feb 20 2023 Igor Ivanov 9.8.1-1 - Bump version to 9.8.1