!32 fix compilation error of max-inline-insns-single-o2 limit reached
From: @LemmyHuang Reviewed-by: @hubble_zhu Signed-off-by: @hubble_zhu
This commit is contained in:
commit
05964c8aca
@ -1,6 +1,6 @@
|
||||
Name: dpdk
|
||||
Version: 19.11
|
||||
Release: 7
|
||||
Release: 8
|
||||
Packager: packaging@6wind.com
|
||||
URL: http://dpdk.org
|
||||
%global source_version 19.11
|
||||
@ -18,6 +18,7 @@ Patch8: CVE-2020-14376-CVE-2020-14377.patch
|
||||
Patch9: fix-pool-allocation.patch
|
||||
Patch10: CVE-2020-14374.patch
|
||||
Patch11: CVE-2020-14375.patch
|
||||
Patch12: fix-compilation-error-of-max-inline-insns-single-o2-.patch
|
||||
|
||||
Summary: Data Plane Development Kit core
|
||||
Group: System Environment/Libraries
|
||||
@ -86,6 +87,7 @@ This package contains the pdump tool for capture the dpdk network packets.
|
||||
%patch9 -p1
|
||||
%patch10 -p1
|
||||
%patch11 -p1
|
||||
%patch12 -p1
|
||||
|
||||
%build
|
||||
namer=%{kern_devel_ver}
|
||||
@ -187,6 +189,9 @@ strip -g $RPM_BUILD_ROOT/lib/modules/${namer}/extra/dpdk/rte_kni.ko
|
||||
/usr/sbin/depmod
|
||||
|
||||
%changelog
|
||||
* Thu Jan 28 2021 huangliming<huangliming5@huawei.com> - 19.11-8
|
||||
- fix compilation error of max-inline-insns-single-o2 limit reached
|
||||
|
||||
* Mon Dec 28 2020 huangliming<huangliming5@huawei.com> - 19.11-7
|
||||
-fix CVE-2020-14374 CVE-2020-14375
|
||||
|
||||
|
||||
27
fix-compilation-error-of-max-inline-insns-single-o2-.patch
Normal file
27
fix-compilation-error-of-max-inline-insns-single-o2-.patch
Normal file
@ -0,0 +1,27 @@
|
||||
From f3d569535f34bb5983c325757941b5565364017f Mon Sep 17 00:00:00 2001
|
||||
From: LemmyHuang <huangliming5@huawei.com>
|
||||
Date: Thu, 28 Jan 2021 08:34:33 +0000
|
||||
Subject: [PATCH] fix compilation error of max-inline-insns-single-o2 limit
|
||||
reached
|
||||
|
||||
Signed-off-by: LemmyHuang <huangliming5@huawei.com>
|
||||
---
|
||||
kernel/linux/igb_uio/Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/kernel/linux/igb_uio/Makefile b/kernel/linux/igb_uio/Makefile
|
||||
index f83bcc7..4c69f5d 100644
|
||||
--- a/kernel/linux/igb_uio/Makefile
|
||||
+++ b/kernel/linux/igb_uio/Makefile
|
||||
@@ -14,7 +14,7 @@ MODULE_PATH = drivers/net/igb_uio
|
||||
#
|
||||
MODULE_CFLAGS += -I$(SRCDIR) --param max-inline-insns-single=100
|
||||
MODULE_CFLAGS += -I$(RTE_OUTPUT)/include
|
||||
-MODULE_CFLAGS += -Winline -Wall -Werror
|
||||
+MODULE_CFLAGS += -Winline -Wall
|
||||
MODULE_CFLAGS += -include $(RTE_OUTPUT)/include/rte_config.h
|
||||
|
||||
#
|
||||
--
|
||||
2.23.0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user