Add workaround for GCC PR69537
This commit is contained in:
parent
05ffab72b4
commit
2b8a8117dc
17
glibc-gcc-PR69537.patch
Normal file
17
glibc-gcc-PR69537.patch
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
Work around incorrect -Wmaybe-uninitialized warning due to this GCC bug:
|
||||||
|
|
||||||
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69537
|
||||||
|
|
||||||
|
Index: glibc-2.22-709-g8a71d2e/nis/ypclnt.c
|
||||||
|
===================================================================
|
||||||
|
--- glibc-2.22-709-g8a71d2e.orig/nis/ypclnt.c
|
||||||
|
+++ glibc-2.22-709-g8a71d2e/nis/ypclnt.c
|
||||||
|
@@ -584,7 +584,7 @@ yp_master (const char *indomain, const c
|
||||||
|
{
|
||||||
|
ypreq_nokey req;
|
||||||
|
ypresp_master resp;
|
||||||
|
- enum clnt_stat result;
|
||||||
|
+ int result;
|
||||||
|
|
||||||
|
if (indomain == NULL || indomain[0] == '\0' ||
|
||||||
|
inmap == NULL || inmap[0] == '\0')
|
@ -1,6 +1,6 @@
|
|||||||
%define glibcsrcdir glibc-2.22-709-g8a71d2e
|
%define glibcsrcdir glibc-2.22-709-g8a71d2e
|
||||||
%define glibcversion 2.22.90
|
%define glibcversion 2.22.90
|
||||||
%define glibcrelease 30%{?dist}
|
%define glibcrelease 31%{?dist}
|
||||||
# Pre-release tarballs are pulled in from git using a command that is
|
# Pre-release tarballs are pulled in from git using a command that is
|
||||||
# effectively:
|
# effectively:
|
||||||
#
|
#
|
||||||
@ -290,6 +290,7 @@ Patch2034: glibc-aarch64-workaround-nzcv-clobber-in-tlsdesc.patch
|
|||||||
|
|
||||||
# Group Merge Patch:
|
# Group Merge Patch:
|
||||||
Patch2035: glibc-nsswitch-Add-group-merging-support.patch
|
Patch2035: glibc-nsswitch-Add-group-merging-support.patch
|
||||||
|
Patch2036: glibc-gcc-PR69537.patch
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
#
|
#
|
||||||
@ -683,6 +684,7 @@ cat /proc/meminfo
|
|||||||
%patch0058 -p1
|
%patch0058 -p1
|
||||||
%patch0059 -p1
|
%patch0059 -p1
|
||||||
%patch2035 -p1
|
%patch2035 -p1
|
||||||
|
%patch2036 -p1
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# %%prep - Additional prep required...
|
# %%prep - Additional prep required...
|
||||||
@ -1941,6 +1943,9 @@ rm -f *.filelist*
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jan 28 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-31
|
||||||
|
- Add workaround for GCC PR69537.
|
||||||
|
|
||||||
* Thu Jan 28 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-30
|
* Thu Jan 28 2016 Florian Weimer <fweimer@redhat.com> - 2.22.90-30
|
||||||
- Auto-sync with upstream master.
|
- Auto-sync with upstream master.
|
||||||
|
|
||||||
|
1
series
1
series
@ -37,3 +37,4 @@ glibc-dns-host-gcc5.patch -p1 --fuzz=0
|
|||||||
glibc-bug-regex-gcc5.patch -p1 --fuzz=0
|
glibc-bug-regex-gcc5.patch -p1 --fuzz=0
|
||||||
glibc-c-utf8-locale.patch -p1 --fuzz=0
|
glibc-c-utf8-locale.patch -p1 --fuzz=0
|
||||||
glibc-nsswitch-Add-group-merging-support.patch -p1 --fuzz=0
|
glibc-nsswitch-Add-group-merging-support.patch -p1 --fuzz=0
|
||||||
|
glibc-gcc-PR69537.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user