Update to latest 18.11 LTS
Add -fcommon to CFLAGS as workaround in order to make it build on GCC 10 Resolves: #1800510 Resolves: #1799289
This commit is contained in:
parent
5c4bf01e3f
commit
b71f31ec34
1
.gitignore
vendored
1
.gitignore
vendored
@ -15,3 +15,4 @@
|
|||||||
/dpdk-17.11.2.tar.xz
|
/dpdk-17.11.2.tar.xz
|
||||||
/dpdk-18.11.tar.xz
|
/dpdk-18.11.tar.xz
|
||||||
/dpdk-18.11.2.tar.xz
|
/dpdk-18.11.2.tar.xz
|
||||||
|
/dpdk-18.11.6.tar.xz
|
||||||
|
11
dpdk.spec
11
dpdk.spec
@ -8,8 +8,8 @@
|
|||||||
%bcond_with pdfdoc
|
%bcond_with pdfdoc
|
||||||
|
|
||||||
Name: dpdk
|
Name: dpdk
|
||||||
Version: 18.11.2
|
Version: 18.11.6
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
URL: http://dpdk.org
|
URL: http://dpdk.org
|
||||||
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
Source: https://fast.dpdk.org/rel/dpdk-%{version}.tar.xz
|
||||||
@ -159,7 +159,7 @@ gcc -### $(rpm --eval '%{build_ldflags}') obj.o 2>&1 | awk '/.*collect2.*/ {prin
|
|||||||
EXTRA_RPM_LDFLAGS=$(wdiff -3 -n ./noopts.txt ./opts.txt | sed -e"/^=\+$/d" -e"/^.*\.res.*/d" -e"s/\[-//g" -e"s/\-\]//g" -e"s/{+//g" -e"s/+}//g" -e"s/\/.*\.o //g" -e"s/ \/.*\.o$//g" -e"s/-z .*//g" | tr '\n' ' ')
|
EXTRA_RPM_LDFLAGS=$(wdiff -3 -n ./noopts.txt ./opts.txt | sed -e"/^=\+$/d" -e"/^.*\.res.*/d" -e"s/\[-//g" -e"s/\-\]//g" -e"s/{+//g" -e"s/+}//g" -e"s/\/.*\.o //g" -e"s/ \/.*\.o$//g" -e"s/-z .*//g" | tr '\n' ' ')
|
||||||
rm -f obj.o
|
rm -f obj.o
|
||||||
|
|
||||||
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC %{_hardening_ldflags}"
|
export EXTRA_CFLAGS="$(echo %{optflags} | sed -e 's:-Wall::g' -e 's:-march=[[:alnum:]]* ::g') -Wformat -fPIC -fcommon %{_hardening_ldflags}"
|
||||||
%ifarch x86_64 i686
|
%ifarch x86_64 i686
|
||||||
export EXTRA_CFLAGS="$EXTRA_CFLAGS -fcf-protection=full"
|
export EXTRA_CFLAGS="$EXTRA_CFLAGS -fcf-protection=full"
|
||||||
%endif
|
%endif
|
||||||
@ -319,6 +319,11 @@ sed -i -e 's:-%{machine_tmpl}-:-%{machine}-:g' %{buildroot}/%{_sysconfdir}/profi
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 07 2020 Timothy Redaelli <tredaelli@redhat.com> - 2:18.11.6-1
|
||||||
|
- Update to latest 18.11 LTS (bz1800510)
|
||||||
|
- Add -fcommon to CFLAGS as workaround in order to make it build on GCC 10
|
||||||
|
(bz1799289)
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:18.11.2-6
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:18.11.2-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (dpdk-18.11.2.tar.xz) = 901017bb2d9f3079813182d67c532ae515a61dffc7add589267dbc18df8da13232024a7e9f54ae559d8833575bfd7631beef7cee28ec529700e97cd4ae602812
|
SHA512 (dpdk-18.11.6.tar.xz) = 72b413a6f2d1b6e8ecbecf84b0e97cf59315843a128f83b1d1ed0740cf7f6b838a49937197574d7889235e213e595ddb9cd8a122a3e297f56959ef52cd7c52e3
|
||||||
|
Loading…
Reference in New Issue
Block a user