Hello community, here is the log from the commit of package dpdk for openSUSE:Factory checked in at 2019-03-18 10:39:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dpdk (Old) and /work/SRC/openSUSE:Factory/.dpdk.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dpdk" Mon Mar 18 10:39:17 2019 rev:35 rq:685398 version:18.11 Changes: -------- --- /work/SRC/openSUSE:Factory/dpdk/dpdk-thunderx.changes 2019-02-24 17:20:54.608391665 +0100 +++ /work/SRC/openSUSE:Factory/.dpdk.new.28833/dpdk-thunderx.changes 2019-03-18 10:39:20.259448295 +0100 @@ -1,0 +2,6 @@ +Fri Mar 8 11:50:03 CET 2019 - [email protected] + +- remove -Wno-error=array-bounds as its no longer needed +- disable i586 build because lack of sse support + +------------------------------------------------------------------- dpdk.changes: same change ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dpdk-thunderx.spec ++++++ --- /var/tmp/diff_new_pack.hS47nY/_old 2019-03-18 10:39:22.467446408 +0100 +++ /var/tmp/diff_new_pack.hS47nY/_new 2019-03-18 10:39:22.487446391 +0100 @@ -23,10 +23,6 @@ %define machine native %define target x86_64-%{machine}-linuxapp-gcc %endif -%ifarch %{ix86} -%define machine native -%define target i686-%{machine}-linuxapp-gcc -%endif %ifarch aarch64 %define machine2 thunderx %define target arm64-%{machine2}-linuxapp-gcc @@ -136,7 +132,6 @@ as L2 and L3 forwarding. %endif -%ifnarch %{ix86} %package kmp Summary: DPDK KNI kernel module (thunderx) Group: System/Kernel @@ -146,7 +141,6 @@ %description kmp The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the Linux* control plane. -%endif %define sdkdir %{_datadir}/dpdk %define docdir %{_docdir}/dpdk @@ -217,9 +211,7 @@ # In case dpdk-devel is installed, we should ignore its hints about the SDK directories unset RTE_SDK RTE_INCLUDE RTE_TARGET -# For the release, '-Wno-error=array-bounds' is done to prevent a spurious error -# generated by gcc 5.X against the 2.1 branch -export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds" +export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE" # DPDK defaults to using builder-specific compiler flags. However, # the config has been changed by specifying CONFIG_RTE_MACHINE=default @@ -230,21 +222,17 @@ make V=1 O=%{target} T=%{target} %{?_smp_mflags} config setdefaultconf %{target} -%ifnarch %{ix86} export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' for flavor in %{flavors_to_build}; do export RTE_KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor make V=1 O=%{target}-$flavor T=%{target} %{?_smp_mflags} config setdefaultconf %{target}-$flavor - %ifnarch %{ix86} setconf CONFIG_RTE_EAL_IGB_UIO y %{target}-$flavor setconf CONFIG_RTE_KNI_KMOD y %{target}-$flavor - %endif cd %{target}-$flavor make V=1 %{?_smp_mflags} cd - done -%endif make V=1 O=%{target} %{?_smp_mflags} make V=1 O=%{target} %{?_smp_mflags} doc-api-html @@ -254,7 +242,6 @@ %endif %install -%ifnarch %{ix86} # export needed for kmp package export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' export INSTALL_MOD_PATH=%{buildroot} @@ -271,7 +258,6 @@ install -m644 ../%{target}-$flavor/kmod/*.ko %{buildroot}/lib/modules/$krel/extra/dpdk/ cd - done -%endif # In case dpdk-devel is installed unset RTE_SDK RTE_INCLUDE RTE_TARGET ++++++ dpdk.spec ++++++ --- /var/tmp/diff_new_pack.hS47nY/_old 2019-03-18 10:39:22.799446124 +0100 +++ /var/tmp/diff_new_pack.hS47nY/_new 2019-03-18 10:39:22.815446111 +0100 @@ -23,10 +23,6 @@ %define machine native %define target x86_64-%{machine}-linuxapp-gcc %endif -%ifarch %{ix86} -%define machine native -%define target i686-%{machine}-linuxapp-gcc -%endif %ifarch aarch64 %define machine2 armv8a %define target arm64-%{machine2}-linuxapp-gcc @@ -67,7 +63,7 @@ BuildRequires: rdma-core-devel %endif BuildRequires: zlib-devel -ExclusiveArch: aarch64 x86_64 %ix86 ppc64le +ExclusiveArch: aarch64 x86_64 ppc64le Provides: dpdk-any = %{version} Conflicts: otherproviders(dpdk-any) @@ -134,7 +130,6 @@ as L2 and L3 forwarding. %endif -%ifnarch %{ix86} %package kmp Summary: DPDK KNI kernel module Group: System/Kernel @@ -144,7 +139,6 @@ %description kmp The DPDK Kernel NIC Interface (KNI) allows userspace applications access to the Linux* control plane. -%endif %define sdkdir %{_datadir}/dpdk %define docdir %{_docdir}/dpdk @@ -215,9 +209,7 @@ # In case dpdk-devel is installed, we should ignore its hints about the SDK directories unset RTE_SDK RTE_INCLUDE RTE_TARGET -# For the release, '-Wno-error=array-bounds' is done to prevent a spurious error -# generated by gcc 5.X against the 2.1 branch -export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -Wno-error=array-bounds" +export EXTRA_CFLAGS="%{optflags} -Wformat -fPIC -U_FORTIFY_SOURCE" # DPDK defaults to using builder-specific compiler flags. However, # the config has been changed by specifying CONFIG_RTE_MACHINE=default @@ -228,21 +220,17 @@ make V=1 O=%{target} T=%{target} %{?_smp_mflags} config setdefaultconf %{target} -%ifnarch %{ix86} export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' for flavor in %{flavors_to_build}; do export RTE_KERNELDIR=%{_prefix}/src/linux-obj/%{_target_cpu}/$flavor make V=1 O=%{target}-$flavor T=%{target} %{?_smp_mflags} config setdefaultconf %{target}-$flavor - %ifnarch %{ix86} setconf CONFIG_RTE_EAL_IGB_UIO y %{target}-$flavor setconf CONFIG_RTE_KNI_KMOD y %{target}-$flavor - %endif cd %{target}-$flavor make V=1 %{?_smp_mflags} cd - done -%endif make V=1 O=%{target} %{?_smp_mflags} make V=1 O=%{target} %{?_smp_mflags} doc-api-html @@ -252,7 +240,6 @@ %endif %install -%ifnarch %{ix86} # export needed for kmp package export EXTRA_CFLAGS='-DVERSION=\"%{version}\"' export INSTALL_MOD_PATH=%{buildroot} @@ -269,7 +256,6 @@ install -m644 ../%{target}-$flavor/kmod/*.ko %{buildroot}/lib/modules/$krel/extra/dpdk/ cd - done -%endif # In case dpdk-devel is installed unset RTE_SDK RTE_INCLUDE RTE_TARGET
