Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gcc11 for openSUSE:Factory checked
in at 2022-02-17 00:30:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gcc11 (Old)
and /work/SRC/openSUSE:Factory/.gcc11.new.1956 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gcc11"
Thu Feb 17 00:30:19 2022 rev:11 rq:953381 version:11.2.1+git1173
Changes:
--------
--- /work/SRC/openSUSE:Factory/gcc11/cross-aarch64-gcc11-bootstrap.changes
2022-01-07 12:44:42.779775952 +0100
+++
/work/SRC/openSUSE:Factory/.gcc11.new.1956/cross-aarch64-gcc11-bootstrap.changes
2022-02-17 00:31:08.205427031 +0100
@@ -1,0 +2,16 @@
+Thu Feb 10 12:31:01 UTC 2022 - Richard Biener <[email protected]>
+
+- Add gcc11-PIE, similar to gcc-PIE but affecting gcc11 [bsc#1195628]
+
+-------------------------------------------------------------------
+Wed Feb 9 15:11:40 UTC 2022 - Richard Biener <[email protected]>
+
+- Put libstdc++6-pp Requires on the shared library and drop
+ to Recoomends.
+
+-------------------------------------------------------------------
+Tue Jan 18 10:30:23 UTC 2022 - Andreas Schwab <[email protected]>
+
+- Remove sys/rseq.h from include-fixed
+
+-------------------------------------------------------------------
cross-aarch64-gcc11.changes: same change
cross-amdgcn-gcc11.changes: same change
cross-arm-gcc11.changes: same change
cross-arm-none-gcc11-bootstrap.changes: same change
cross-arm-none-gcc11.changes: same change
cross-avr-gcc11-bootstrap.changes: same change
cross-avr-gcc11.changes: same change
cross-epiphany-gcc11-bootstrap.changes: same change
cross-epiphany-gcc11.changes: same change
cross-hppa-gcc11.changes: same change
cross-m68k-gcc11.changes: same change
cross-mips-gcc11.changes: same change
cross-nvptx-gcc11.changes: same change
cross-ppc64-gcc11.changes: same change
cross-ppc64le-gcc11.changes: same change
cross-riscv64-elf-gcc11-bootstrap.changes: same change
cross-riscv64-elf-gcc11.changes: same change
cross-riscv64-gcc11-bootstrap.changes: same change
cross-riscv64-gcc11.changes: same change
cross-rx-gcc11-bootstrap.changes: same change
cross-rx-gcc11.changes: same change
cross-s390x-gcc11.changes: same change
cross-sparc-gcc11.changes: same change
cross-sparc64-gcc11.changes: same change
cross-x86_64-gcc11.changes: same change
gcc11-testresults.changes: same change
gcc11.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ cross-aarch64-gcc11-bootstrap.spec ++++++
--- /var/tmp/diff_new_pack.muFqB8/_old 2022-02-17 00:31:11.877426398 +0100
+++ /var/tmp/diff_new_pack.muFqB8/_new 2022-02-17 00:31:11.885426396 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package cross-aarch64-gcc11-bootstrap
+# spec file
#
# Copyright (c) 2022 SUSE LLC
#
@@ -117,6 +117,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: gcc11-rpmlintrc
@@ -235,8 +236,8 @@
%if "%{cross_arch}" == "amdgcn"
# amdgcn uses the llvm assembler and linker, llvm-mc-12 doesn't
# work at the moment so require llvm11
-BuildRequires: lld
BuildRequires: llvm11
+BuildRequires: lld
Requires: cross-amdgcn-newlib-devel >= %{version}-%{release}
Requires: lld
Requires: llvm11
@@ -281,10 +282,9 @@
AutoReqProv: off
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-aarch64-gcc11.spec: same change
cross-amdgcn-gcc11.spec: same change
cross-arm-gcc11.spec: same change
cross-arm-none-gcc11-bootstrap.spec: same change
cross-arm-none-gcc11.spec: same change
cross-avr-gcc11-bootstrap.spec: same change
cross-avr-gcc11.spec: same change
cross-epiphany-gcc11-bootstrap.spec: same change
cross-epiphany-gcc11.spec: same change
cross-hppa-gcc11.spec: same change
cross-m68k-gcc11.spec: same change
cross-mips-gcc11.spec: same change
cross-nvptx-gcc11.spec: same change
cross-ppc64-gcc11.spec: same change
cross-ppc64le-gcc11.spec: same change
cross-riscv64-elf-gcc11-bootstrap.spec: same change
cross-riscv64-elf-gcc11.spec: same change
cross-riscv64-gcc11-bootstrap.spec: same change
cross-riscv64-gcc11.spec: same change
cross-rx-gcc11-bootstrap.spec: same change
cross-rx-gcc11.spec: same change
cross-s390x-gcc11.spec: same change
cross-sparc-gcc11.spec: same change
cross-sparc64-gcc11.spec: same change
cross-x86_64-gcc11.spec: same change
++++++ gcc11-testresults.spec ++++++
--- /var/tmp/diff_new_pack.muFqB8/_old 2022-02-17 00:31:12.909426220 +0100
+++ /var/tmp/diff_new_pack.muFqB8/_new 2022-02-17 00:31:12.917426219 +0100
@@ -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
@@ -361,6 +362,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: gcc11-rpmlintrc
@@ -389,7 +391,6 @@
Summary: Testsuite results
License: SUSE-Public-Domain
-Group: Development/Languages/C and C++
%description
Results from running the gcc and target library testsuites.
++++++ gcc11.spec ++++++
++++ 673 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/gcc11/gcc11.spec
++++ and /work/SRC/openSUSE:Factory/.gcc11.new.1956/gcc11.spec
++++++ gcc.spec.in ++++++
--- /var/tmp/diff_new_pack.muFqB8/_old 2022-02-17 00:31:13.285426155 +0100
+++ /var/tmp/diff_new_pack.muFqB8/_new 2022-02-17 00:31:13.289426154 +0100
@@ -472,6 +472,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
@@ -496,10 +509,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++
@@ -578,6 +587,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.
@@ -1832,6 +1845,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/
@@ -1856,6 +1875,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
@@ -2282,6 +2302,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)