Accepting request 907445 from devel:gcc

- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
  libsanitizer fixing builds with recent kernels.

OBS-URL: https://build.opensuse.org/request/show/907445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc7?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2021-07-21 17:06:35 +00:00 committed by Git OBS Bridge
commit 84aebedb31
48 changed files with 273 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -138,6 +138,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -302,6 +303,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -323,6 +323,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -1097,6 +1098,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -0,0 +1,87 @@
Pick a7e72b282177fbaa6a852324641c871313d326da to remove cyclades from
libsanitizer
diff --git a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
index a68534c5a0a..85ab53e7430 100755
--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
+++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
@@ -361,15 +361,6 @@ static void ioctl_table_fill() {
#if SANITIZER_LINUX && !SANITIZER_ANDROID
// _(SIOCDEVPLIP, WRITE, struct_ifreq_sz); // the same as EQL_ENSLAVE
- _(CYGETDEFTHRESH, WRITE, sizeof(int));
- _(CYGETDEFTIMEOUT, WRITE, sizeof(int));
- _(CYGETMON, WRITE, struct_cyclades_monitor_sz);
- _(CYGETTHRESH, WRITE, sizeof(int));
- _(CYGETTIMEOUT, WRITE, sizeof(int));
- _(CYSETDEFTHRESH, NONE, 0);
- _(CYSETDEFTIMEOUT, NONE, 0);
- _(CYSETTHRESH, NONE, 0);
- _(CYSETTIMEOUT, NONE, 0);
_(EQL_EMANCIPATE, WRITE, struct_ifreq_sz);
_(EQL_ENSLAVE, WRITE, struct_ifreq_sz);
_(EQL_GETMASTRCFG, WRITE, struct_ifreq_sz);
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
index 97eae3fc7bc..a5e02947696 100644
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
@@ -154,7 +154,6 @@ typedef struct user_fpregs elf_fpregset_t;
# include <sys/procfs.h>
#endif
#include <sys/user.h>
-#include <linux/cyclades.h>
#include <linux/if_eql.h>
#include <linux/if_plip.h>
#include <linux/lp.h>
@@ -454,7 +453,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
#if SANITIZER_LINUX && !SANITIZER_ANDROID
unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct);
- unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor);
#if EV_VERSION > (0x010000)
unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry);
#else
@@ -821,15 +819,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
#endif // SANITIZER_LINUX || SANITIZER_FREEBSD
#if SANITIZER_LINUX && !SANITIZER_ANDROID
- unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH;
- unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT;
- unsigned IOCTL_CYGETMON = CYGETMON;
- unsigned IOCTL_CYGETTHRESH = CYGETTHRESH;
- unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT;
- unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH;
- unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT;
- unsigned IOCTL_CYSETTHRESH = CYSETTHRESH;
- unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT;
unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE;
unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE;
unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG;
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
index c139322839a..10f7a4f6502 100644
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -1000,7 +1000,6 @@ struct __sanitizer_cookie_io_functions_t {
#if SANITIZER_LINUX && !SANITIZER_ANDROID
extern unsigned struct_ax25_parms_struct_sz;
- extern unsigned struct_cyclades_monitor_sz;
extern unsigned struct_input_keymap_entry_sz;
extern unsigned struct_ipx_config_data_sz;
extern unsigned struct_kbdiacrs_sz;
@@ -1345,15 +1344,6 @@ struct __sanitizer_cookie_io_functions_t {
#endif // SANITIZER_LINUX || SANITIZER_FREEBSD
#if SANITIZER_LINUX && !SANITIZER_ANDROID
- extern unsigned IOCTL_CYGETDEFTHRESH;
- extern unsigned IOCTL_CYGETDEFTIMEOUT;
- extern unsigned IOCTL_CYGETMON;
- extern unsigned IOCTL_CYGETTHRESH;
- extern unsigned IOCTL_CYGETTIMEOUT;
- extern unsigned IOCTL_CYSETDEFTHRESH;
- extern unsigned IOCTL_CYSETDEFTIMEOUT;
- extern unsigned IOCTL_CYSETTHRESH;
- extern unsigned IOCTL_CYSETTIMEOUT;
extern unsigned IOCTL_EQL_EMANCIPATE;
extern unsigned IOCTL_EQL_ENSLAVE;
extern unsigned IOCTL_EQL_GETMASTRCFG;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -335,6 +335,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -483,6 +484,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jul 21 06:27:06 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add gcc7-sanitizer-cyclades.patch to remove cyclades.h use from
libsanitizer fixing builds with recent kernels.
-------------------------------------------------------------------
Wed Feb 3 09:31:02 UTC 2021 - Richard Biener <rguenther@suse.com>

View File

@ -317,6 +317,7 @@ Patch29: gcc7-pr97535.patch
Patch30: gcc7-pr88522.patch
Patch31: gcc7-testsuite-fixes.patch
Patch32: gcc7-pr81942.patch
Patch33: gcc7-sanitizer-cyclades.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -1787,6 +1788,7 @@ ln -s nvptx-newlib/newlib .
%patch30 -p1
%patch31 -p1
%patch32 -p1
%patch33 -p1
%patch51
%patch60
%patch61