diff --git a/glibc-rh1673018.patch b/glibc-rh1673018.patch new file mode 100644 index 0000000..1ab4a09 --- /dev/null +++ b/glibc-rh1673018.patch @@ -0,0 +1,17 @@ +Work around an LRA bug on ppc64le: + +https://bugzilla.redhat.com/show_bug.cgi?id=1673018 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89225 + +diff --git a/sysdeps/ieee754/ldbl-128ibm/Makefile b/sysdeps/ieee754/ldbl-128ibm/Makefile +index bdba6cc6b57e763e..54d12559f491d004 100644 +--- a/sysdeps/ieee754/ldbl-128ibm/Makefile ++++ b/sysdeps/ieee754/ldbl-128ibm/Makefile +@@ -13,4 +13,7 @@ ifeq ($(subdir),math) + tests += test-fmodl-ldbl-128ibm test-remainderl-ldbl-128ibm \ + test-remquol-ldbl-128ibm test-canonical-ldbl-128ibm \ + test-totalorderl-ldbl-128ibm ++ ++# Work around #1673018 (GCC PR 89225): LRA hang on ppc64le in GCC 9.0. ++CFLAGS-e_sqrtl.c += -fno-stack-protector + endif diff --git a/glibc.spec b/glibc.spec index ff9a499..eba2f98 100644 --- a/glibc.spec +++ b/glibc.spec @@ -87,7 +87,7 @@ Summary: The GNU libc libraries Name: glibc Version: %{glibcversion} -Release: 3%{?dist} +Release: 4%{?dist} # In general, GPLv2+ is used by programs, LGPLv2+ is used for # libraries. @@ -158,6 +158,7 @@ Patch18: glibc-c-utf8-locale.patch Patch23: glibc-python3.patch Patch28: glibc-rh1615608.patch Patch29: glibc-rh1670028.patch +Patch30: glibc-rh1673018.patch ############################################################################## # Continued list of core "glibc" package information: @@ -1889,6 +1890,9 @@ fi %files -f compat-libpthread-nonshared.filelist -n compat-libpthread-nonshared %changelog +* Thu Feb 7 2019 Florian Weimer - 2.29-4 +- Work around LRA hang on ppc64le (#1673018) + * Wed Feb 06 2019 Florian Weimer - 2.29-3 - Auto-sync with upstream branch release/2.29/master, commit 2de15ac95713a238dc258eb8977ecdfca811fc19: