Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package gcc10 for openSUSE:Factory checked in at 2022-02-17 23:40:27 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gcc10 (Old) and /work/SRC/openSUSE:Factory/.gcc10.new.1958 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc10" Thu Feb 17 23:40:27 2022 rev:18 rq:955647 version:10.3.1+git2389 Changes: -------- --- /work/SRC/openSUSE:Factory/gcc10/cross-aarch64-gcc10.changes 2021-07-27 14:31:54.063493635 +0200 +++ /work/SRC/openSUSE:Factory/.gcc10.new.1958/cross-aarch64-gcc10.changes 2022-02-17 23:42:02.339700163 +0100 @@ -1,0 +2,13 @@ +Thu Feb 17 10:43:46 UTC 2022 - Richard Biener <[email protected]> + +- Update to gcc-10 branch head (f9982b5a81a151663c76ba0a3), git2389 +- Add gcc10-PIE, similar to gcc-PIE but affecting gcc10 [bsc#1195628] +- Remove sys/rseq.h from include-fixed + +------------------------------------------------------------------- +Fri Feb 11 10:47:35 UTC 2022 - Richard Biener <[email protected]> + +- Put libstdc++6-pp Requires on the shared library and drop + to Recoomends. + +------------------------------------------------------------------- cross-amdgcn-gcc10.changes: same change cross-arm-gcc10.changes: same change cross-arm-none-gcc10-bootstrap.changes: same change cross-arm-none-gcc10.changes: same change cross-avr-gcc10-bootstrap.changes: same change cross-avr-gcc10.changes: same change cross-epiphany-gcc10-bootstrap.changes: same change cross-epiphany-gcc10.changes: same change cross-hppa-gcc10.changes: same change cross-i386-gcc10.changes: same change cross-m68k-gcc10.changes: same change cross-mips-gcc10.changes: same change cross-nvptx-gcc10.changes: same change cross-ppc64-gcc10.changes: same change cross-ppc64le-gcc10.changes: same change cross-riscv64-elf-gcc10-bootstrap.changes: same change cross-riscv64-elf-gcc10.changes: same change cross-riscv64-gcc10.changes: same change cross-rx-gcc10-bootstrap.changes: same change cross-rx-gcc10.changes: same change cross-s390x-gcc10.changes: same change cross-sparc-gcc10.changes: same change cross-sparc64-gcc10.changes: same change cross-x86_64-gcc10.changes: same change gcc10-testresults.changes: same change gcc10.changes: same change Old: ---- gcc-10.3.1+git1893.tar.xz New: ---- gcc-10.3.1+git2389.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ cross-aarch64-gcc10.spec ++++++ --- /var/tmp/diff_new_pack.rAwihj/_old 2022-02-17 23:42:11.283700089 +0100 +++ /var/tmp/diff_new_pack.rAwihj/_new 2022-02-17 23:42:11.287700089 +0100 @@ -1,7 +1,7 @@ # -# spec file for package cross-aarch64-gcc10 +# spec file # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,6 +23,7 @@ # # spec file template for cross packages of gcc${version} # +# Copyright (c) 2021 SUSE LLC # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -113,7 +114,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 10.3.1+git1893 +Version: 10.3.1+git2389 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/+/-/') @@ -121,6 +122,7 @@ %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc10-rpmlintrc @@ -225,8 +227,8 @@ %if "%{cross_arch}" == "amdgcn" # amdgcn uses the llvm assembler and linker, llvm12 doesn't # work at the moment -BuildRequires: lld11 BuildRequires: llvm11 +BuildRequires: lld11 Requires: cross-amdgcn-newlib-devel >= %{version}-%{release} Requires: lld11 Requires: llvm11 @@ -264,10 +266,9 @@ #!BuildIgnore: gcc-PIE BuildRequires: update-alternatives Requires(post): update-alternatives -Requires(preun): update-alternatives +Requires(preun):update-alternatives Summary: The GNU Compiler Collection targeting %{cross_arch} License: GPL-3.0-or-later -Group: Development/Languages/C and C++ %description The GNU Compiler Collection as a cross-compiler targeting %{cross_arch}. cross-amdgcn-gcc10.spec: same change cross-arm-gcc10.spec: same change cross-arm-none-gcc10-bootstrap.spec: same change cross-arm-none-gcc10.spec: same change cross-avr-gcc10-bootstrap.spec: same change cross-avr-gcc10.spec: same change cross-epiphany-gcc10-bootstrap.spec: same change cross-epiphany-gcc10.spec: same change cross-hppa-gcc10.spec: same change cross-i386-gcc10.spec: same change cross-m68k-gcc10.spec: same change cross-mips-gcc10.spec: same change cross-nvptx-gcc10.spec: same change cross-ppc64-gcc10.spec: same change cross-ppc64le-gcc10.spec: same change cross-riscv64-elf-gcc10-bootstrap.spec: same change cross-riscv64-elf-gcc10.spec: same change cross-riscv64-gcc10.spec: same change cross-rx-gcc10-bootstrap.spec: same change cross-rx-gcc10.spec: same change cross-s390x-gcc10.spec: same change cross-sparc-gcc10.spec: same change cross-sparc64-gcc10.spec: same change cross-x86_64-gcc10.spec: same change ++++++ gcc10-testresults.spec ++++++ --- /var/tmp/diff_new_pack.rAwihj/_old 2022-02-17 23:42:12.039700083 +0100 +++ /var/tmp/diff_new_pack.rAwihj/_new 2022-02-17 23:42:12.047700083 +0100 @@ -1,7 +1,7 @@ # # spec file for package gcc10-testresults # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,6 +21,7 @@ # # spec file for package gcc${version} # +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -295,7 +296,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 10.3.1+git1893 +Version: 10.3.1+git2389 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/+/-/') @@ -338,6 +339,7 @@ %if %{suse_version} < 1310 BuildRoot: %{_tmppath}/%{name}-%{version}-build %endif +Group: Development/Languages/C and C++ Source: gcc-%{version}.tar.xz Source1: change_spec Source2: gcc10-rpmlintrc @@ -363,7 +365,6 @@ Summary: Testsuite results License: SUSE-Public-Domain -Group: Development/Languages/C and C++ %description Results from running the gcc and target library testsuites. ++++++ gcc10.spec ++++++ ++++ 667 lines (skipped) ++++ between /work/SRC/openSUSE:Factory/gcc10/gcc10.spec ++++ and /work/SRC/openSUSE:Factory/.gcc10.new.1958/gcc10.spec ++++++ gcc-10.3.1+git1893.tar.xz -> gcc-10.3.1+git2389.tar.xz ++++++ /work/SRC/openSUSE:Factory/gcc10/gcc-10.3.1+git1893.tar.xz /work/SRC/openSUSE:Factory/.gcc10.new.1958/gcc-10.3.1+git2389.tar.xz differ: char 15, line 1 ++++++ gcc.spec.in ++++++ --- /var/tmp/diff_new_pack.rAwihj/_old 2022-02-17 23:42:12.291700081 +0100 +++ /var/tmp/diff_new_pack.rAwihj/_new 2022-02-17 23:42:12.295700081 +0100 @@ -280,7 +280,7 @@ %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 URL: https://gcc.gnu.org/ -Version: 10.3.1+git1893 +Version: 10.3.1+git2389 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/+/-/') @@ -444,6 +444,19 @@ in the current locale. +%package PIE +Summary: A default configuration to build all binaries in PIE mode +License: GPL-3.0-or-later +Group: Development/Languages/Other +Requires: gcc@base_ver@ = %{version}-%{release} + +%description PIE +This package contains a configuration file (spec) that changes the +compilers default setting to build all ELF binaries in the Position +Independend Executable (PIE) variant. This enables better address +space randomization (ASLR). + + # PACKAGE-BEGIN %package c++@variant@ Summary: The GNU C++ Compiler @@ -468,10 +481,6 @@ %ifarch ia64 Requires: libunwind-devel %endif -# Fallback for non-existing Supplements support -%if %{suse_version} < 1500 -Requires: libstdc++%{libstdcxx_sover}-pp@variant@ = %{version}-%{release} -%endif %description -n libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}@variant@ This package contains all the headers and libraries of the standard C++ @@ -550,6 +559,10 @@ # Only one package may provide this - allows multiple gcc versions # to co-exist without an overly large list of provides/obsoletes Conflicts: %selfconflict libstdc++%{libstdcxx_sover}@variant@ +# Fallback for non-existing Supplements support +%if %{suse_version} < 1500 +Recommends: libstdc++%{libstdcxx_sover}-pp@variant@ = %{version}-%{release} +%endif %description -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}@variant@ The standard C++ library, needed for dynamically linked C++ programs. @@ -1710,6 +1723,12 @@ mv $l.new $l done +# The spec for the PIE subpackage +cat > %{buildroot}/%{libsubdir}/defaults.spec <<EOF +*default_spec: +%%{pie|fpic|fPIC|fpie|fPIE|no-pie|fno-pic|fno-PIC|fno-pie|fno-PIE|shared|static|nostdlib|nodefaultlibs|nostartfiles:;:-fPIE}%%{fno-pic|fno-PIC|fno-pie|fno-PIE|pie|no-pie|shared|static|nostdlib|nodefaultlibs|nostartfiles:;: -pie} +EOF + # GCC-TESTSUITE-DELETE-END %if 0%{?run_tests:1} cp `find . -name "*.sum"` ../testresults/ @@ -1729,6 +1748,7 @@ rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/ucontext.h rm -f %{buildroot}/%{libsubdir}/include-fixed/bits/statx.h rm -f %{buildroot}/%{libsubdir}/include-fixed/pthread.h +rm -f %{buildroot}/%{libsubdir}/include-fixed/sys/rseq.h %if !%{enable_plugins} # no plugins rm -rf %{buildroot}/%{libsubdir}/plugin @@ -2142,6 +2162,11 @@ %files -n libstdc++%{libstdcxx_sover}%{libstdcxx_suffix}-locale -f libstdc++.lang +%files PIE +%defattr(-,root,root) +%dir %{libsubdir} +%{libsubdir}/defaults.spec + %if %{build_cp} %files c++ %defattr(-,root,root)
