Hello community,

here is the log from the commit of package gcc7 for openSUSE:Factory checked in 
at 2019-09-27 14:42:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc7 (Old)
 and      /work/SRC/openSUSE:Factory/.gcc7.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gcc7"

Fri Sep 27 14:42:40 2019 rev:25 rq:730117 version:7.4.1+r275405

Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc7/cross-aarch64-gcc7.changes  2019-07-29 
17:28:16.962260203 +0200
+++ /work/SRC/openSUSE:Factory/.gcc7.new.2352/cross-aarch64-gcc7.changes        
2019-09-27 14:42:43.089658800 +0200
@@ -1,0 +2,22 @@
+Mon Sep  9 07:33:54 UTC 2019 - Richard Biener <[email protected]>
+
+- Rework shared spec file parts to allow custom Summary and
+  Description for cross compilers.  Clarify their Summary
+  and Description.  [bsc#1148517]
+- Reorder things in cross.spec.in so the Version define comes before
+  the first use of %version.
+
+-------------------------------------------------------------------
+Thu Sep  5 13:29:56 UTC 2019 - Richard Biener <[email protected]>
+
+- Update to gcc-7-branch head (r275405).
+  * Pulls fix for POWER9 DARN miscompilation.
+    (bsc#1149145, CVE-2019-15847)
+  * Includes gcc8-pr89752.patch
+
+-------------------------------------------------------------------
+Fri Aug 16 09:51:33 UTC 2019 - Richard Biener <[email protected]>
+
+- Remove bogus fixed include bits/statx.h from glibc 2.30.  [gcc#91085]
+
+-------------------------------------------------------------------
cross-arm-gcc7.changes: same change
cross-arm-none-gcc7-bootstrap.changes: same change
cross-arm-none-gcc7.changes: same change
cross-avr-gcc7-bootstrap.changes: same change
cross-avr-gcc7.changes: same change
cross-epiphany-gcc7-bootstrap.changes: same change
cross-epiphany-gcc7.changes: same change
cross-hppa-gcc7.changes: same change
cross-i386-gcc7.changes: same change
cross-m68k-gcc7.changes: same change
cross-mips-gcc7.changes: same change
cross-nvptx-gcc7.changes: same change
cross-ppc64-gcc7.changes: same change
cross-ppc64le-gcc7.changes: same change
cross-rx-gcc7-bootstrap.changes: same change
cross-rx-gcc7.changes: same change
cross-s390x-gcc7.changes: same change
cross-sparc-gcc7.changes: same change
cross-sparc64-gcc7.changes: same change
cross-x86_64-gcc7.changes: same change
gcc7-testresults.changes: same change
gcc7.changes: same change

Old:
----
  gcc-7.4.1+r273795.tar.xz
  gcc8-pr89752.patch

New:
----
  gcc-7.4.1+r275405.tar.xz

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

Other differences:
------------------
++++++ cross-aarch64-gcc7.spec ++++++
--- /var/tmp/diff_new_pack.PNKlDm/_old  2019-09-27 14:42:52.069635449 +0200
+++ /var/tmp/diff_new_pack.PNKlDm/_new  2019-09-27 14:42:52.073635439 +0200
@@ -99,6 +99,71 @@
 %endif
 
 Name:           %{pkgname}
+%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
+
+URL:            https://gcc.gnu.org/
+Version:        7.4.1+r275405
+Release:        0
+%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
+%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
+%define binsuffix -7
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+Source:         gcc-%{version}.tar.xz
+Source1:        change_spec
+Source3:        gcc7-rpmlintrc
+Source4:        README.First-for.SuSE.packagers
+Source5:        nvptx-newlib.tar.xz
+Patch2:         gcc-add-defaultsspec.diff
+Patch5:         tls-no-direct.diff
+Patch6:         gcc43-no-unwind-tables.diff
+Patch7:         gcc48-libstdc++-api-reference.patch
+Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
+Patch10:        gcc5-no-return-gcc43-workaround.patch
+Patch11:        gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
+Patch12:        gcc7-stack-probe.diff
+Patch14:        gcc7-pr82248.diff
+Patch15:        gcc7-avoid-fixinc-error.diff
+Patch17:        gcc7-flive-patching.patch
+# A set of patches from the RH srpm
+Patch51:        gcc41-ppc32-retaddr.patch
+# Some patches taken from Debian
+Patch60:        gcc44-textdomain.patch
+Patch61:        gcc44-rename-info-files.patch
+
+# Define the canonical target and host architecture
+#   %%gcc_target_arch  is supposed to be the full target triple
+#   %%cross_arch       is supposed to be the rpm target variant arch
+#   %%TARGET_ARCH      will be the canonicalized target CPU part
+#   %%HOST_ARCH        will be the canonicalized host CPU part
+%if 0%{?gcc_target_arch:1}
+%define TARGET_ARCH %(echo %{cross_arch} | sed -e 
"s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%else
+%define TARGET_ARCH %(echo %{_target_cpu} | sed -e 
"s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%endif
+%if 0%{?disable_32bit:1}
+%define biarch 0
+%else
+%define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; 
(*) echo 0;; esac)
+%endif
+
+%define HOST_ARCH %(echo %{_host_cpu} | sed -e 
"s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
+%ifarch ppc
+%define GCCDIST powerpc64-suse-linux
+%else
+%ifarch %sparc
+%define GCCDIST sparc64-suse-linux
+%else
+%ifarch %arm
+%define GCCDIST %{HOST_ARCH}-suse-linux-gnueabi
+%else
+%define GCCDIST %{HOST_ARCH}-suse-linux
+%endif
+%endif
+%endif
+
+%define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
+%define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
+
 %if "%{cross_arch}" != "nvptx"
 BuildRequires:  cross-%{binutils_target}-binutils
 Requires:       cross-%{binutils_target}-binutils
@@ -166,87 +231,21 @@
 BuildRequires:  update-alternatives
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
-
-%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
-
-URL:            https://gcc.gnu.org/
-Version:        7.4.1+r273795
-Release:        0
-%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
-%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
-%define binsuffix -7
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Source:         gcc-%{version}.tar.xz
-Source1:        change_spec
-Source3:        gcc7-rpmlintrc
-Source4:        README.First-for.SuSE.packagers
-Source5:        nvptx-newlib.tar.xz
-Patch2:         gcc-add-defaultsspec.diff
-Patch5:         tls-no-direct.diff
-Patch6:         gcc43-no-unwind-tables.diff
-Patch7:         gcc48-libstdc++-api-reference.patch
-Patch9:         gcc48-remove-mpfr-2.4.0-requirement.patch
-Patch10:        gcc5-no-return-gcc43-workaround.patch
-Patch11:        gcc7-remove-Wexpansion-to-defined-from-Wextra.patch
-Patch12:        gcc7-stack-probe.diff
-Patch14:        gcc7-pr82248.diff
-Patch15:        gcc7-avoid-fixinc-error.diff
-Patch16:        gcc8-pr89752.patch
-Patch17:        gcc7-flive-patching.patch
-# A set of patches from the RH srpm
-Patch51:        gcc41-ppc32-retaddr.patch
-# Some patches taken from Debian
-Patch60:        gcc44-textdomain.patch
-Patch61:        gcc44-rename-info-files.patch
-
-Summary:        The GNU C Compiler and Support Files
+Summary:        The GNU Compiler Collection targeting %{cross_arch}
 License:        GPL-3.0-or-later
 Group:          Development/Languages/C and C++
 
 %description
-Core package for the GNU Compiler Collection, including the C language
-frontend.
-
-Language frontends other than C are split to different sub-packages,
-namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
-
-
-
-
-# Define the canonical target and host architecture
-#   %%gcc_target_arch  is supposed to be the full target triple
-#   %%cross_arch       is supposed to be the rpm target variant arch
-#   %%TARGET_ARCH      will be the canonicalized target CPU part
-#   %%HOST_ARCH        will be the canonicalized host CPU part
-%if 0%{?gcc_target_arch:1}
-%define TARGET_ARCH %(echo %{cross_arch} | sed -e 
"s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
-%else
-%define TARGET_ARCH %(echo %{_target_cpu} | sed -e 
"s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
-%endif
-%if 0%{?disable_32bit:1}
-%define biarch 0
-%else
-%define biarch %(case " %{biarch_targets} " in (*" %{TARGET_ARCH} "*) echo 1;; 
(*) echo 0;; esac)
-%endif
-
-%define HOST_ARCH %(echo %{_host_cpu} | sed -e 
"s/i.86/i586/;s/ppc/powerpc/;s/sparc64.*/sparc64/;s/sparcv.*/sparc/;")
-%ifarch ppc
-%define GCCDIST powerpc64-suse-linux
-%else
-%ifarch %sparc
-%define GCCDIST sparc64-suse-linux
-%else
-%ifarch %arm
-%define GCCDIST %{HOST_ARCH}-suse-linux-gnueabi
-%else
-%define GCCDIST %{HOST_ARCH}-suse-linux
-%endif
+The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}.
+%if 0%{?gcc_icecream:1}
+Note this is only useful for building freestanding things like the
+kernel since it fails to include target libraries and headers.
 %endif
+%if 0%{?gcc_libc_bootstrap:1}
+This is a package that is necessary for bootstrapping another package
+only, it is not intended for any other use.
 %endif
 
-%define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
-%define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
-
 %prep
 %if 0%{?nvptx_newlib:1}
 %setup -q -n gcc-%{version} -a 5
@@ -269,7 +268,6 @@
 %patch12
 %patch14
 %patch15
-%patch16
 %patch17 -p1
 %patch51
 %patch60

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-epiphany-gcc7-bootstrap.spec: same change
cross-epiphany-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 ++++++
--- /var/tmp/diff_new_pack.PNKlDm/_old  2019-09-27 14:42:52.413634555 +0200
+++ /var/tmp/diff_new_pack.PNKlDm/_new  2019-09-27 14:42:52.413634555 +0200
@@ -253,7 +253,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        7.4.1+r273795
+Version:        7.4.1+r275405
 Release:        0
 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -316,7 +316,6 @@
 Patch12:        gcc7-stack-probe.diff
 Patch14:        gcc7-pr82248.diff
 Patch15:        gcc7-avoid-fixinc-error.diff
-Patch16:        gcc8-pr89752.patch
 Patch17:        gcc7-flive-patching.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -446,7 +445,6 @@
 %patch12
 %patch14
 %patch15
-%patch16
 %patch17 -p1
 %patch51
 %patch60

++++++ gcc7.spec ++++++
--- /var/tmp/diff_new_pack.PNKlDm/_old  2019-09-27 14:42:52.433634503 +0200
+++ /var/tmp/diff_new_pack.PNKlDm/_new  2019-09-27 14:42:52.437634492 +0200
@@ -235,7 +235,7 @@
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:            https://gcc.gnu.org/
-Version:        7.4.1+r273795
+Version:        7.4.1+r275405
 Release:        0
 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
@@ -298,7 +298,6 @@
 Patch12:        gcc7-stack-probe.diff
 Patch14:        gcc7-pr82248.diff
 Patch15:        gcc7-avoid-fixinc-error.diff
-Patch16:        gcc8-pr89752.patch
 Patch17:        gcc7-flive-patching.patch
 # A set of patches from the RH srpm
 Patch51:        gcc41-ppc32-retaddr.patch
@@ -1750,7 +1749,6 @@
 %patch12
 %patch14
 %patch15
-%patch16
 %patch17 -p1
 %patch51
 %patch60
@@ -2321,6 +2319,7 @@
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
 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
 %if !%{enable_plugins}
 # no plugins
 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin

++++++ change_spec ++++++
--- /var/tmp/diff_new_pack.PNKlDm/_old  2019-09-27 14:42:52.481634378 +0200
+++ /var/tmp/diff_new_pack.PNKlDm/_new  2019-09-27 14:42:52.481634378 +0200
@@ -69,9 +69,11 @@
   echo "%define cross_arch $rpmtarget" >> $pkgname.spec
   echo "%define gcc_target_arch $triplet" >> $pkgname.spec
   echo "$@" >> $pkgname.spec
-  { sed -n -e '1,/COMMON-BEGIN/p' cross.spec.in
-    sed -n -e '/COMMON-BEGIN/,/COMMON-END/p' $outfile
-    sed -n -e '/COMMON-END/,$p' cross.spec.in; } |
+  { sed -n -e '1,/SRC-COMMON-BEGIN/p' cross.spec.in
+    sed -n -e '/SRC-COMMON-BEGIN/,/SRC-COMMON-END/p' $outfile
+    sed -n -e '/SRC-COMMON-END/,/BUILD-COMMON-BEGIN/p' cross.spec.in
+    sed -n -e '/BUILD-COMMON-BEGIN/,/BUILD-COMMON-END/p' $outfile
+    sed -n -e '/BUILD-COMMON-END/,$p' cross.spec.in; } |
     sed -e "s#@base_ver@#$base_ver#" \
        -e "s/^\(ExclusiveArch.*\) $rpmtarget[^ \r]*/\1 /" \
       >> $pkgname.spec

++++++ cross.spec.in ++++++
--- /var/tmp/diff_new_pack.PNKlDm/_old  2019-09-27 14:42:52.545634212 +0200
+++ /var/tmp/diff_new_pack.PNKlDm/_new  2019-09-27 14:42:52.545634212 +0200
@@ -78,6 +78,8 @@
 %endif
 
 Name:         %{pkgname}
+# SRC-COMMON-BEGIN
+# SRC-COMMON-END
 %if "%{cross_arch}" != "nvptx"
 BuildRequires: cross-%{binutils_target}-binutils
 Requires: cross-%{binutils_target}-binutils
@@ -145,10 +147,22 @@
 BuildRequires:  update-alternatives
 Requires(post): update-alternatives
 Requires(preun): update-alternatives
+Summary:       The GNU Compiler Collection targeting %{cross_arch}
+License:       GPL-3.0-or-later
 
-# COMMON-BEGIN
-# COMMON-END
+%description
+The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}.
+%if 0%{?gcc_icecream:1}
+Note this is only useful for building freestanding things like the
+kernel since it fails to include target libraries and headers.
+%endif
+%if 0%{?gcc_libc_bootstrap:1}
+This is a package that is necessary for bootstrapping another package
+only, it is not intended for any other use.
+%endif
 
+# BUILD-COMMON-BEGIN
+# BUILD-COMMON-END
 %if 0%{!?gcc_icecream:1} && 0%{!?gcc_libc_bootstrap:1}
 make %{?_smp_mflags}
 %else

++++++ gcc-7.4.1+r273795.tar.xz -> gcc-7.4.1+r275405.tar.xz ++++++
/work/SRC/openSUSE:Factory/gcc7/gcc-7.4.1+r273795.tar.xz 
/work/SRC/openSUSE:Factory/.gcc7.new.2352/gcc-7.4.1+r275405.tar.xz differ: char 
26, line 1

++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.PNKlDm/_old  2019-09-27 14:42:52.577634129 +0200
+++ /var/tmp/diff_new_pack.PNKlDm/_new  2019-09-27 14:42:52.581634118 +0200
@@ -235,16 +235,16 @@
 %define build_primary_64bit 0
 %endif
 
-# COMMON-BEGIN
+# SRC-COMMON-BEGIN
 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
 
 URL:          https://gcc.gnu.org/
-Version: 7.4.1+r273795
+Version: 7.4.1+r275405
 Release:      1
 %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
 %define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' 
| sed 's/+/-/')
 %define binsuffix -@base_ver@
-# COMMON-END
+# SRC-COMMON-END
 
 %if !0%{?building_testsuite:1}
 Requires: binutils glibc-devel
@@ -286,7 +286,8 @@
 Suggests: gcc@base_ver@-info gcc@base_ver@-locale
 %endif
 
-# COMMON-BEGIN
+# SRC-COMMON-BEGIN
+Group:         Development/Languages/C and C++
 BuildRoot:     %{_tmppath}/%{name}-%{version}-build
 Source:                gcc-%{version}.tar.xz
 Source1:       change_spec
@@ -303,7 +304,6 @@
 Patch12:        gcc7-stack-probe.diff
 Patch14:       gcc7-pr82248.diff
 Patch15:       gcc7-avoid-fixinc-error.diff
-Patch16:       gcc8-pr89752.patch
 Patch17:  gcc7-flive-patching.patch
 # A set of patches from the RH srpm
 Patch51:       gcc41-ppc32-retaddr.patch
@@ -313,9 +313,9 @@
 
 
 # GCC-TESTSUITE-DELETE-BEGIN
-Group:         Development/Languages/C and C++
-Summary:       The GNU C Compiler and Support Files
 License:        GPL-3.0+
+# SRC-COMMON-END
+Summary:       The GNU C Compiler and Support Files
 
 %description
 Core package for the GNU Compiler Collection, including the C language
@@ -326,7 +326,6 @@
 
 
 
-# COMMON-END
 %package -n gcc@base_ver@-32bit
 Summary:      The GNU C Compiler 32bit support
 Group:        Development/Languages/C and C++
@@ -940,7 +939,7 @@
 
 
 
-# COMMON-BEGIN
+# SRC-COMMON-BEGIN
 
 # Define the canonical target and host architecture
 #   %%gcc_target_arch  is supposed to be the full target triple
@@ -976,7 +975,7 @@
 %define libsubdir %{_libdir}/gcc/%{GCCDIST}/%{gcc_dir_version}
 %define gxxinclude %{_prefix}/include/c++/%{gcc_dir_version}
 
-# COMMON-END
+# SRC-COMMON-END
 
 # Versionspecific directories
 %define versmainlibdir %{libsubdir}
@@ -1036,7 +1035,7 @@
 %endif
 
 
-# COMMON-BEGIN
+# BUILD-COMMON-BEGIN
 
 %prep
 %if 0%{?nvptx_newlib:1}
@@ -1060,7 +1059,6 @@
 %patch12
 %patch14
 %patch15
-%patch16
 %patch17 -p1
 %patch51
 %patch60
@@ -1358,7 +1356,7 @@
        --build=%{GCCDIST} \
        --host=%{GCCDIST}
 
-# COMMON-END
+# BUILD-COMMON-END
 
 STAGE1_FLAGS="-g -O2"
 %if 0%{?do_profiling}
@@ -1636,6 +1634,7 @@
 rm -f $RPM_BUILD_ROOT%{libsubdir}/include-fixed/asm-generic/socket.h
 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
 %if !%{enable_plugins}
 # no plugins
 rm -rf $RPM_BUILD_ROOT%{libsubdir}/plugin


Reply via email to