- Add gcc7-pr92692.patch: Backport PR target/92692 to fix

miscompilation of some atomic code on aarch64. [bsc#1150164]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc7?expand=0&rev=180
This commit is contained in:
Michael Matz 2020-01-22 17:31:22 +00:00 committed by Git OBS Bridge
parent 6def547426
commit 9fa0c40964
48 changed files with 465 additions and 98 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-aarch64-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-arm-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-arm-none-gcc7-bootstrap
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -102,7 +102,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -130,6 +130,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -280,6 +281,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -585,6 +587,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -594,6 +597,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-arm-none-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-avr-gcc7-bootstrap
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-avr-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-epiphany-gcc7-bootstrap
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -102,7 +102,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -130,6 +130,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -280,6 +281,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -585,6 +587,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -594,6 +597,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-epiphany-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-hppa-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-i386-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-m68k-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-mips-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-nvptx-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-ppc64le-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-rx-gcc7-bootstrap
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -102,7 +102,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -130,6 +130,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -280,6 +281,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -585,6 +587,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -594,6 +597,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-rx-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-s390x-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-sparc64-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package cross-x86_64-gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -101,7 +101,7 @@
Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -129,6 +129,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -279,6 +280,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61
@ -584,6 +586,7 @@ make %{?_smp_mflags} all-host
%if 0%{?gcc_icecream:%gcc_icecream}
%package -n cross-%cross_arch-gcc7-icecream-backend
Summary: Icecream backend for the GNU C Compiler
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cross-%cross_arch-gcc7-icecream-backend
@ -593,6 +596,7 @@ This package contains the icecream environment for the GNU C Compiler
%if 0%{?nvptx_newlib:1}
%package -n cross-nvptx-newlib7-devel
Summary: newlib for the nvptx offload target
License: GPL-3.0+
Group: Development/Languages/C and C++
Provides: cross-nvptx-newlib-devel = %{version}-%{release}
Conflicts: cross-nvptx-newlib-devel

View File

@ -310,6 +310,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -1070,6 +1071,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61

139
gcc7-pr92692.patch Normal file
View File

@ -0,0 +1,139 @@
Backported to gcc7 from:
From: Wilco Dijkstra <wdijkstr@arm.com>
Date: Fri, 17 Jan 2020 13:17:21 +0000 (+0000)
Subject: [AArch64] Fix shrinkwrapping interactions with atomics (PR92692)
X-Git-Url: https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;a=commitdiff_plain;h=e5e07b68187b9aa334519746c45b8cffc5eb7e5c
[AArch64] Fix shrinkwrapping interactions with atomics (PR92692)
The separate shrinkwrapping pass may insert stores in the middle
of atomics loops which can cause issues on some implementations.
Avoid this by delaying splitting atomics patterns until after
prolog/epilog generation.
gcc/
PR target/92692
* config/aarch64/aarch64.c (aarch64_split_compare_and_swap)
Add assert to ensure prolog has been emitted.
(aarch64_split_atomic_op): Likewise.
* config/aarch64/atomics.md (aarch64_compare_and_swap<mode>)
Use epilogue_completed rather than reload_completed.
(aarch64_atomic_exchange<mode>): Likewise.
(aarch64_atomic_<atomic_optab><mode>): Likewise.
(atomic_nand<mode>): Likewise.
(aarch64_atomic_fetch_<atomic_optab><mode>): Likewise.
(atomic_fetch_nand<mode>): Likewise.
(aarch64_atomic_<atomic_optab>_fetch<mode>): Likewise.
(atomic_nand_fetch<mode>): Likewise.
---
Index: gcc-7.5.0+r278197/gcc/config/aarch64/aarch64.c
===================================================================
--- gcc-7.5.0+r278197.orig/gcc/config/aarch64/aarch64.c 2020-01-22 18:16:46.000000000 +0100
+++ gcc-7.5.0+r278197/gcc/config/aarch64/aarch64.c 2020-01-22 18:17:46.000000000 +0100
@@ -12005,6 +12005,9 @@ aarch64_gen_atomic_cas (rtx rval, rtx me
void
aarch64_split_compare_and_swap (rtx operands[])
{
+ /* Split after prolog/epilog to avoid interactions with shrinkwrapping. */
+ gcc_assert (epilogue_completed);
+
rtx rval, mem, oldval, newval, scratch;
machine_mode mode;
bool is_weak;
@@ -12320,6 +12323,9 @@ void
aarch64_split_atomic_op (enum rtx_code code, rtx old_out, rtx new_out, rtx mem,
rtx value, rtx model_rtx, rtx cond)
{
+ /* Split after prolog/epilog to avoid interactions with shrinkwrapping. */
+ gcc_assert (epilogue_completed);
+
machine_mode mode = GET_MODE (mem);
machine_mode wmode = (mode == DImode ? DImode : SImode);
const enum memmodel model = memmodel_from_int (INTVAL (model_rtx));
Index: gcc-7.5.0+r278197/gcc/config/aarch64/atomics.md
===================================================================
--- gcc-7.5.0+r278197.orig/gcc/config/aarch64/atomics.md 2020-01-22 18:16:46.000000000 +0100
+++ gcc-7.5.0+r278197/gcc/config/aarch64/atomics.md 2020-01-22 18:20:20.000000000 +0100
@@ -53,7 +53,7 @@
(clobber (match_scratch:SI 7 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_compare_and_swap (operands);
@@ -77,7 +77,7 @@
(clobber (match_scratch:SI 7 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_compare_and_swap (operands);
@@ -169,7 +169,7 @@
(clobber (match_scratch:SI 4 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (SET, operands[0], NULL, operands[1],
@@ -230,7 +230,7 @@
(clobber (match_scratch:SI 4 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (<CODE>, NULL, operands[3], operands[0],
@@ -271,7 +271,7 @@
(clobber (match_scratch:SI 4 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (NOT, NULL, operands[3], operands[0],
@@ -317,7 +317,7 @@
(clobber (match_scratch:SI 5 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (<CODE>, operands[0], operands[4], operands[1],
@@ -361,7 +361,7 @@
(clobber (match_scratch:SI 5 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (NOT, operands[0], operands[4], operands[1],
@@ -408,7 +408,7 @@
(clobber (match_scratch:SI 4 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (<CODE>, NULL, operands[0], operands[1],
@@ -455,7 +455,7 @@
(clobber (match_scratch:SI 4 "=&r"))]
""
"#"
- "&& reload_completed"
+ "&& epilogue_completed"
[(const_int 0)]
{
aarch64_split_atomic_op (NOT, NULL, operands[0], operands[1],

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package gcc7-testresults
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -252,7 +252,7 @@ BuildRequires: gdb
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -322,6 +322,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -456,6 +457,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jan 22 17:25:50 UTC 2020 - matz@suse.com
- Add gcc7-pr92692.patch: Backport PR target/92692 to fix
miscompilation of some atomic code on aarch64. [bsc#1150164]
-------------------------------------------------------------------
Mon Jan 20 12:04:04 UTC 2020 - Richard Biener <rguenther@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package gcc7
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
@ -234,7 +234,7 @@ BuildRequires: gdb
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Url: https://gcc.gnu.org/
Version: 7.5.0+r278197
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
@ -304,6 +304,7 @@ Patch19: gcc7-pr85887.patch
Patch20: gcc7-bsc1160086.patch
Patch21: gcc7-pr92154.patch
Patch22: gcc7-pr93246.patch
Patch23: gcc7-pr92692.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@ -311,7 +312,7 @@ Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
Summary: The GNU C Compiler and Support Files
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
%description
@ -325,7 +326,7 @@ namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
%package -n gcc7-32bit
Summary: The GNU C Compiler 32bit support
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7 = %{version}-%{release}
Requires: libgcc_s%{libgcc_s}-32bit >= %{version}-%{release}
@ -359,7 +360,7 @@ This package contains 32bit support for the GNU Compiler Collection.
%package -n gcc7-64bit
Summary: The GNU C Compiler 64bit support
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7 = %{version}-%{release}
Requires: libgcc_s%{libgcc_s}-64bit >= %{version}-%{release}
@ -400,7 +401,7 @@ This package contains 64bit support for the GNU Compiler Collection.
%package devel
Summary: GCC plugins development enviroment
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7 = %{version}-%{release}
Requires: gmp-devel
@ -412,7 +413,7 @@ Files required for developing and compiling GCC plugins.
%package locale
Summary: Locale Data for the GNU Compiler Collection
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7 = %{version}-%{release}
@ -423,7 +424,7 @@ in the current locale.
%package c++
Summary: The GNU C++ Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7 = %{version}-%{release}
Requires: gcc7-c++ = %{version}-%{release}
@ -433,7 +434,7 @@ Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix} = %{version}
This package contains the GNU compiler for C++.
%package c++-32bit
Summary: The GNU C++ Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7-32bit = %{version}-%{release}
Requires: gcc7-c++ = %{version}-%{release}
@ -443,7 +444,7 @@ Requires: libstdc++%{libstdcxx_sover}-devel%{libdevel_suffix}-32bit = %{ve
This package contains the GNU compiler for C++.
%package c++-64bit
Summary: The GNU C++ Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
Requires: gcc7-64bit = %{version}-%{release}
Requires: gcc7-c++ = %{version}-%{release}
@ -665,7 +666,7 @@ The standard C++ library locale data.
%package info
Summary: Documentation for the GNU compiler collection
License: GFDL-1.2-only
License: GFDL-1.2
Group: Documentation/Other
PreReq: %{install_info_prereq}
%if 0%{?suse_version} >= 1120
@ -679,7 +680,7 @@ and internals documentation.
%package objc
Summary: GNU Objective C Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7 = %{version}-%{release}
Requires: gcc7-objc = %{version}-%{release}
@ -691,7 +692,7 @@ object oriented language, created by Next Inc. and used in their
Nextstep OS. The source code is available in the gcc package.
%package objc-32bit
Summary: GNU Objective C Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-32bit = %{version}-%{release}
Requires: gcc7-objc = %{version}-%{release}
@ -703,7 +704,7 @@ object oriented language, created by Next Inc. and used in their
Nextstep OS. The source code is available in the gcc package.
%package objc-64bit
Summary: GNU Objective C Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-64bit = %{version}-%{release}
Requires: gcc7-objc = %{version}-%{release}
@ -762,7 +763,7 @@ The library for the GNU Objective C compiler.
%package obj-c++
Summary: GNU Objective C++ Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-c++ = %{version}-%{release}
Requires: gcc7-obj-c++ = %{version}-%{release}
@ -774,7 +775,7 @@ object oriented language, created by Next Inc. and used in their
Nextstep OS. The source code is available in the gcc package.
%package obj-c++-32bit
Summary: GNU Objective C++ Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-c++-32bit = %{version}-%{release}
Requires: gcc7-obj-c++ = %{version}-%{release}
@ -786,7 +787,7 @@ object oriented language, created by Next Inc. and used in their
Nextstep OS. The source code is available in the gcc package.
%package obj-c++-64bit
Summary: GNU Objective C++ Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-c++-64bit = %{version}-%{release}
Requires: gcc7-obj-c++ = %{version}-%{release}
@ -800,7 +801,7 @@ Nextstep OS. The source code is available in the gcc package.
%package -n cpp7
Summary: The GCC Preprocessor
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/C and C++
%description -n cpp7
@ -810,7 +811,7 @@ packages.
%package ada
Summary: GNU Ada Compiler Based on GCC (GNAT)
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7 = %{version}-%{release}
Requires: gcc7-ada = %{version}-%{release}
@ -821,7 +822,7 @@ This package contains an Ada compiler and associated development
tools based on the GNU GCC technology.
%package ada-32bit
Summary: GNU Ada Compiler Based on GCC (GNAT)
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-32bit = %{version}-%{release}
Requires: gcc7-ada = %{version}-%{release}
@ -832,7 +833,7 @@ This package contains an Ada compiler and associated development
tools based on the GNU GCC technology.
%package ada-64bit
Summary: GNU Ada Compiler Based on GCC (GNAT)
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-64bit = %{version}-%{release}
Requires: gcc7-ada = %{version}-%{release}
@ -905,7 +906,7 @@ implementation of Distributed Systems Programming (GLADE) and the Posix
%package fortran
Summary: The GNU Fortran Compiler and Support Files
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Fortran
Requires: gcc7 = %{version}-%{release}
Requires: gcc7-fortran = %{version}-%{release}
@ -918,7 +919,7 @@ Requires: libquadmath%{libquadmath_sover} >= %{version}-%{release}
This is the Fortran compiler of the GNU Compiler Collection (GCC).
%package fortran-32bit
Summary: The GNU Fortran Compiler and Support Files
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Fortran
Requires: gcc7-32bit = %{version}-%{release}
Requires: gcc7-fortran = %{version}-%{release}
@ -931,7 +932,7 @@ Requires: libquadmath%{libquadmath_sover}-32bit >= %{version}-%{release}
This is the Fortran compiler of the GNU Compiler Collection (GCC).
%package fortran-64bit
Summary: The GNU Fortran Compiler and Support Files
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Fortran
Requires: gcc7-64bit = %{version}-%{release}
Requires: gcc7-fortran = %{version}-%{release}
@ -1003,7 +1004,7 @@ of the GNU Compiler Collection (GCC).
%package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}
Summary: The GNU Fortran Compiler Quadmath Runtime Library
License: LGPL-2.1-only
License: LGPL-2.1
Group: Development/Languages/Fortran
Provides: libquadmath%{libquadmath_sover} = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
@ -1020,7 +1021,7 @@ operations.
%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix} -p /sbin/ldconfig
%package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit
Summary: The GNU Fortran Compiler Quadmath Runtime Library
License: LGPL-2.1-only
License: LGPL-2.1
Group: Development/Languages/Fortran
Provides: libquadmath%{libquadmath_sover}-32bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
@ -1037,7 +1038,7 @@ operations.
%postun -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-32bit -p /sbin/ldconfig
%package -n libquadmath%{libquadmath_sover}%{libquadmath_suffix}-64bit
Summary: The GNU Fortran Compiler Quadmath Runtime Library
License: LGPL-2.1-only
License: LGPL-2.1
Group: Development/Languages/Fortran
Provides: libquadmath%{libquadmath_sover}-64bit = %{version}-%{release}
# Only one package may provide this - allows multiple gcc versions
@ -1542,7 +1543,7 @@ The runtime library needed to run programs compiled with the
%package -n libstdc++%{libstdcxx_sover}%{libdevel_suffix}-doc
Summary: Documentation for the GNU C++ standard library
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Documentation/HTML
%if 0%{?suse_version} >= 1120
BuildArch: noarch
@ -1553,7 +1554,7 @@ Extensive HTML documentation for the GNU C++ standard library.
%package go
Summary: GNU Go Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7 = %{version}-%{release}
Requires: gcc7-go = %{version}-%{release}
@ -1564,7 +1565,7 @@ This package contains a Go compiler and associated development
files based on the GNU GCC technology.
%package go-32bit
Summary: GNU Go Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-32bit = %{version}-%{release}
Requires: gcc7-go = %{version}-%{release}
@ -1575,7 +1576,7 @@ This package contains a Go compiler and associated development
files based on the GNU GCC technology.
%package go-64bit
Summary: GNU Go Compiler
License: GPL-3.0-or-later
License: GPL-3.0+
Group: Development/Languages/Other
Requires: gcc7-64bit = %{version}-%{release}
Requires: gcc7-go = %{version}-%{release}
@ -1760,6 +1761,7 @@ ln -s nvptx-newlib/newlib .
%patch20
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch51
%patch60
%patch61