Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gcc7 for openSUSE:Factory checked in 
at 2025-09-05 21:44:33
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc7 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc7.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc7"

Fri Sep  5 21:44:33 2025 rev:48 rq:1302934 version:7.5.0+r278197

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc7/gcc7.changes        2025-07-17 
17:21:01.345390955 +0200
+++ /work/SRC/openSUSE:Factory/.gcc7.new.1977/gcc7.changes      2025-09-05 
21:45:04.849111823 +0200
@@ -1,0 +2,12 @@
+Fri Sep  5 11:44:58 UTC 2025 - Richard Biener <[email protected]>
+
+- Add gcc7-libsanitizer-termio.patch, removing uses of termio from
+  libsanitizer to fix build with glibc 2.24
+
+-------------------------------------------------------------------
+Mon Aug 25 08:29:44 UTC 2025 - Richard Biener <[email protected]>
+
+- Add gcc7-pr81103.patch, removing uses of termio.h to fix Ada build
+  with glibc 2.42
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  gcc7-libsanitizer-termio.patch
  gcc7-pr81103.patch

----------(New B)----------
  New:
- Add gcc7-libsanitizer-termio.patch, removing uses of termio from
  libsanitizer to fix build with glibc 2.24
  New:
- Add gcc7-pr81103.patch, removing uses of termio.h to fix Ada build
  with glibc 2.42
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cross-aarch64-gcc7.spec ++++++
--- /var/tmp/diff_new_pack.EVVFk5/_old  2025-09-05 21:45:06.849195980 +0200
+++ /var/tmp/diff_new_pack.EVVFk5/_new  2025-09-05 21:45:06.853196149 +0200
@@ -158,6 +158,8 @@
 Patch48:        gcc7-pr82463.patch
 Patch49:        gcc7-bsc1239566.patch
 Patch50:        gcc7-enable-mpx-in-as.patch
+Patch70:        gcc7-pr81103.patch
+Patch71:        gcc7-libsanitizer-termio.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -360,6 +362,10 @@
 %patch -P 48 -p1
 %patch -P 49 -p1
 %patch -P 50 -p1
+%patch -P 70 -p1
+%if %{suse_version} >= 1600
+%patch -P 71 -p1
+%endif
 %patch -P 51
 %patch -P 60
 %patch -P 61

cross-arm-gcc7.spec: same change
cross-arm-none-gcc7-bootstrap.spec: same change
cross-arm-none-gcc7.spec: same change
cross-avr-gcc7-bootstrap.spec: same change
cross-avr-gcc7.spec: same change
cross-hppa-gcc7.spec: same change
cross-i386-gcc7.spec: same change
cross-m68k-gcc7.spec: same change
cross-mips-gcc7.spec: same change
cross-nvptx-gcc7.spec: same change
cross-ppc64-gcc7.spec: same change
cross-ppc64le-gcc7.spec: same change
cross-rx-gcc7-bootstrap.spec: same change
cross-rx-gcc7.spec: same change
cross-s390x-gcc7.spec: same change
cross-sparc-gcc7.spec: same change
cross-sparc64-gcc7.spec: same change
cross-x86_64-gcc7.spec: same change
gcc7-testresults.spec: same change
++++++ gcc7.spec ++++++
--- /var/tmp/diff_new_pack.EVVFk5/_old  2025-09-05 21:45:07.609227961 +0200
+++ /var/tmp/diff_new_pack.EVVFk5/_new  2025-09-05 21:45:07.613228129 +0200
@@ -338,6 +338,8 @@
 Patch48:        gcc7-pr82463.patch
 Patch49:        gcc7-bsc1239566.patch
 Patch50:        gcc7-enable-mpx-in-as.patch
+Patch70:        gcc7-pr81103.patch
+Patch71:        gcc7-libsanitizer-termio.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -1885,6 +1887,10 @@
 %patch -P 48 -p1
 %patch -P 49 -p1
 %patch -P 50 -p1
+%patch -P 70 -p1
+%if %{suse_version} >= 1600
+%patch -P 71 -p1
+%endif
 %patch -P 51
 %patch -P 60
 %patch -P 61

++++++ _scmsync.obsinfo ++++++
mtime: 1757072748
commit: 5412cae25e05b0479af5715458ce23947bb8c2698864b26c406132817d407a06
url: https://src.opensuse.org/gcc/gcc7.git
revision: main

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2025-09-05 13:46:08.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.EVVFk5/_old  2025-09-05 21:45:07.853238228 +0200
+++ /var/tmp/diff_new_pack.EVVFk5/_new  2025-09-05 21:45:07.857238396 +0200
@@ -345,6 +345,8 @@
 Patch48:       gcc7-pr82463.patch
 Patch49:       gcc7-bsc1239566.patch
 Patch50:       gcc7-enable-mpx-in-as.patch
+Patch70:       gcc7-pr81103.patch
+Patch71:       gcc7-libsanitizer-termio.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
 # Some patches taken from Debian
@@ -1159,6 +1161,10 @@
 %patch -P 48 -p1
 %patch -P 49 -p1
 %patch -P 50 -p1
+%patch -P 70 -p1
+%if %{suse_version} >= 1600
+%patch -P 71 -p1
+%endif
 %patch -P 51
 %patch -P 60
 %patch -P 61

++++++ gcc7-libsanitizer-termio.patch ++++++
>From 68a31f2090002bd600f650912f92d965ea25cac4 Mon Sep 17 00:00:00 2001
From: Richard Biener <[email protected]>
Date: Fri, 2 May 2025 17:41:43 +0200
Subject: [PATCH 1/2] libsanitizer: Fix build with glibc 2.42
To: [email protected]

From: Florian Weimer <[email protected]>

The termio structure will be removed from glibc 2.42.  It has
been deprecated since the late 80s/early 90s.

Cherry-picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763
("[sanitizer_common] Remove interceptors for deprecated struct termio
(#137403)").

Co-Authored-By: Tom Stellard <[email protected]>

libsanitizer/

        * sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry
        picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763.
        * sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
        * sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
---
 .../sanitizer_common/sanitizer_common_interceptors_ioctl.inc  | 4 ----
 .../sanitizer_common/sanitizer_platform_limits_posix.cc       | 1 -
 .../sanitizer_common/sanitizer_platform_limits_posix.h        | 1 -
 3 files changed, 6 deletions(-)

diff --git 
a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc 
b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
index a68534c5a0a..efd80940919 100755
--- a/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
+++ b/libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
@@ -325,13 +325,9 @@ static void ioctl_table_fill() {
   _(SOUND_PCM_WRITE_CHANNELS, WRITE, sizeof(int));
   _(SOUND_PCM_WRITE_FILTER, WRITE, sizeof(int));
   _(TCFLSH, NONE, 0);
-  _(TCGETA, WRITE, struct_termio_sz);
   _(TCGETS, WRITE, struct_termios_sz);
   _(TCSBRK, NONE, 0);
   _(TCSBRKP, NONE, 0);
-  _(TCSETA, READ, struct_termio_sz);
-  _(TCSETAF, READ, struct_termio_sz);
-  _(TCSETAW, READ, struct_termio_sz);
   _(TCSETS, READ, struct_termios_sz);
   _(TCSETSF, READ, struct_termios_sz);
   _(TCSETSW, READ, struct_termios_sz);
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 
b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
index 97eae3fc7bc..0cef7009634 100644
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
@@ -427,7 +427,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
   unsigned struct_input_id_sz = sizeof(struct input_id);
   unsigned struct_mtpos_sz = sizeof(struct mtpos);
   unsigned struct_rtentry_sz = sizeof(struct rtentry);
-  unsigned struct_termio_sz = sizeof(struct termio);
   unsigned struct_vt_consize_sz = sizeof(struct vt_consize);
   unsigned struct_vt_sizes_sz = sizeof(struct vt_sizes);
   unsigned struct_vt_stat_sz = sizeof(struct vt_stat);
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h 
b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
index c139322839a..808b08bc926 100644
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -978,7 +978,6 @@ struct __sanitizer_cookie_io_functions_t {
   extern unsigned struct_input_absinfo_sz;
   extern unsigned struct_input_id_sz;
   extern unsigned struct_mtpos_sz;
-  extern unsigned struct_termio_sz;
   extern unsigned struct_vt_consize_sz;
   extern unsigned struct_vt_sizes_sz;
   extern unsigned struct_vt_stat_sz;
-- 
2.51.0


>From 8d79f085a1585f8f1e27a6dee14f6b59cce061eb Mon Sep 17 00:00:00 2001
From: Richard Biener <[email protected]>
Date: Fri, 25 Jul 2025 19:45:18 +0100
Subject: [PATCH 2/2] [sanitizer_common] Remove reference to obsolete termio
 ioctls (#138822)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
To: [email protected]

From: Sam James <[email protected]>

Cherry picked from LLVM commit c99b1bcd505064f2e086e6b1034ce0b0c91ea5b9.

The termio ioctls are no longer used after commit 59978b21ad9c
("[sanitizer_common] Remove interceptors for deprecated struct termio
(#137403)"), remove them.  Fixes this build error:

../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:765:27:
 error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  765 |   unsigned IOCTL_TCGETA = TCGETA;
      |                           ^~~~~~
../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:769:27:
 error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  769 |   unsigned IOCTL_TCSETA = TCSETA;
      |                           ^~~~~~
../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:770:28:
 error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  770 |   unsigned IOCTL_TCSETAF = TCSETAF;
      |                            ^~~~~~~
../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:771:28:
 error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  771 |   unsigned IOCTL_TCSETAW = TCSETAW;
      |                            ^~~~~~~
---
 .../sanitizer_common/sanitizer_platform_limits_posix.cc       | 4 ----
 .../sanitizer_common/sanitizer_platform_limits_posix.h        | 4 ----
 2 files changed, 8 deletions(-)

diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 
b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
index 0cef7009634..befc8457046 100644
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
@@ -696,13 +696,9 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
   unsigned IOCTL_SOUND_PCM_WRITE_FILTER = SOUND_PCM_WRITE_FILTER;
 #endif // SOUND_VERSION
   unsigned IOCTL_TCFLSH = TCFLSH;
-  unsigned IOCTL_TCGETA = TCGETA;
   unsigned IOCTL_TCGETS = TCGETS;
   unsigned IOCTL_TCSBRK = TCSBRK;
   unsigned IOCTL_TCSBRKP = TCSBRKP;
-  unsigned IOCTL_TCSETA = TCSETA;
-  unsigned IOCTL_TCSETAF = TCSETAF;
-  unsigned IOCTL_TCSETAW = TCSETAW;
   unsigned IOCTL_TCSETS = TCSETS;
   unsigned IOCTL_TCSETSF = TCSETSF;
   unsigned IOCTL_TCSETSW = TCSETSW;
diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h 
b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
index 808b08bc926..537da7a23b3 100644
--- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -1213,13 +1213,9 @@ struct __sanitizer_cookie_io_functions_t {
   extern unsigned IOCTL_SNDCTL_COPR_WCODE;
   extern unsigned IOCTL_SNDCTL_COPR_WDATA;
   extern unsigned IOCTL_TCFLSH;
-  extern unsigned IOCTL_TCGETA;
   extern unsigned IOCTL_TCGETS;
   extern unsigned IOCTL_TCSBRK;
   extern unsigned IOCTL_TCSBRKP;
-  extern unsigned IOCTL_TCSETA;
-  extern unsigned IOCTL_TCSETAF;
-  extern unsigned IOCTL_TCSETAW;
   extern unsigned IOCTL_TCSETS;
   extern unsigned IOCTL_TCSETSF;
   extern unsigned IOCTL_TCSETSW;
-- 
2.51.0


++++++ gcc7-pr81103.patch ++++++
>From 438e5661b4cdcbeeea96f1efb45fb0eaf6cabafe Mon Sep 17 00:00:00 2001
From: Richard Biener <[email protected]>
Date: Thu, 13 Sep 2018 17:05:40 +0000
Subject: [PATCH] re PR ada/81103 (gcc/ada/terminals.c: please remove unused
 termio.h)
To: [email protected]

From: Eric Botcazou <[email protected]>

        PR ada/81103
        * terminals.c: Do not include termio.h.

From-SVN: r264277
---
 gcc/ada/terminals.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/gcc/ada/terminals.c b/gcc/ada/terminals.c
index 35cd7430bb8..a42a5e02330 100644
--- a/gcc/ada/terminals.c
+++ b/gcc/ada/terminals.c
@@ -1060,14 +1060,6 @@ __gnat_setup_winsize (void *desc, int rows, int columns)
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
-
-/* On some system termio is either absent or including it will disable termios
-   (HP-UX) */
-#if !defined (__hpux__) && !defined (BSD) && !defined (__APPLE__) \
-  && !defined (__rtems__)
-#   include <termio.h>
-#endif
-
 #include <sys/ioctl.h>
 #include <termios.h>
 #include <fcntl.h>
@@ -1083,7 +1075,6 @@ __gnat_setup_winsize (void *desc, int rows, int columns)
 #   include <sys/signal.h>
 #endif
 #if defined (__hpux__)
-#   include <sys/termio.h>
 #   include <sys/stropts.h>
 #endif
 
-- 
2.43.0

Reply via email to