- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.

- Add bits/unistd_ext.h to the list of removed fixed includes.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc7?expand=0&rev=212
This commit is contained in:
Richard Biener 2021-09-27 08:25:03 +00:00 committed by Git OBS Bridge
parent fbaf28febd
commit 727d24fc65
48 changed files with 239 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -140,6 +140,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -305,6 +306,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -140,6 +140,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -305,6 +306,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -140,6 +140,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -305,6 +306,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -139,6 +139,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -304,6 +305,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -324,6 +324,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -1099,6 +1100,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61
@ -1687,6 +1689,7 @@ rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/mathdef.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys/ucontext.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/statx.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/pthread.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/unistd_ext.h
%if !%{enable_plugins}
# no plugins
rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin

51
gcc7-ada-MINSTKSZ.patch Normal file
View File

@ -0,0 +1,51 @@
From 331763de7d4850702a0f67298f36017c73cdb103 Mon Sep 17 00:00:00 2001
From: Eric Botcazou <ebotcazou@adacore.com>
Date: Fri, 5 Mar 2021 12:45:41 +0100
Subject: [PATCH] Fix build breakage with latest glibc release
To: gcc-patches@gcc.gnu.org
gcc/ada/
PR ada/99264
* init.c (__gnat_alternate_sta) [Linux]: Remove preprocessor test on
MINSIGSTKSZ and bump size to 32KB.
* libgnarl/s-osinte__linux.ads (Alternate_Stack_Size): Bump to 32KB.
---
gcc/ada/init.c | 8 ++------
gcc/ada/libgnarl/s-osinte__linux.ads | 2 +-
2 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/gcc/ada/init.c b/gcc/ada/init.c
index e76aa79c5a8..3ceb1a31b02 100644
--- a/gcc/ada/init.c
+++ b/gcc/ada/init.c
@@ -579,12 +579,8 @@ __gnat_error_handler (int sig, siginfo_t *si ATTRIBUTE_UNUSED, void *ucontext)
#ifndef __ia64__
#define HAVE_GNAT_ALTERNATE_STACK 1
-/* This must be in keeping with System.OS_Interface.Alternate_Stack_Size.
- It must be larger than MINSIGSTKSZ and hopefully near 2 * SIGSTKSZ. */
-# if 16 * 1024 < MINSIGSTKSZ
-# error "__gnat_alternate_stack too small"
-# endif
-char __gnat_alternate_stack[16 * 1024];
+/* This must be in keeping with System.OS_Interface.Alternate_Stack_Size. */
+char __gnat_alternate_stack[32 * 1024];
#endif
#ifdef __XENO__
diff --git a/gcc/ada/s-osinte-linux.ads b/gcc/ada/s-osinte-linux.ads
index b0ba2296398..9e408a5b2ab 100644
--- a/gcc/ada/s-osinte-linux.ads
+++ b/gcc/ada/s-osinte-linux.ads
@@ -325,7 +325,7 @@ package System.OS_Interface is
pragma Import (C, Alternate_Stack, "__gnat_alternate_stack");
-- The alternate signal stack for stack overflows
- Alternate_Stack_Size : constant := 16 * 1024;
+ Alternate_Stack_Size : constant := 32 * 1024;
-- This must be in keeping with init.c:__gnat_alternate_stack
function Get_Stack_Base (thread : pthread_t) return Address;
--
2.31.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -336,6 +336,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -485,6 +486,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Sep 27 07:35:46 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-ada-MINSTKSZ.patch to fix build with glibc 2.34.
- Add bits/unistd_ext.h to the list of removed fixed includes.
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -318,6 +318,7 @@ Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
Patch34: gcc7-ada-MINSTKSZ.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -1789,6 +1790,7 @@ ln -s nvptx-newlib/newlib .
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch34 -p1
%patch51
%patch60
%patch61
@ -2372,6 +2374,7 @@ rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/mathdef.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/sys/ucontext.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/statx.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/pthread.h
rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/bits/unistd_ext.h
%if !%{enable_plugins}
# no plugins
rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin