diff --git a/_multibuild b/_multibuild
new file mode 100644
index 0000000..5246d9f
--- /dev/null
+++ b/_multibuild
@@ -0,0 +1,30 @@
+
+gcc12-testresults
+cross-aarch64-gcc12-bootstrap
+cross-aarch64-gcc12
+cross-riscv64-gcc12-bootstrap
+cross-riscv64-gcc12
+cross-arm-gcc12
+cross-avr-gcc12-bootstrap
+cross-avr-gcc12
+cross-x86_64-gcc12
+cross-s390x-gcc12
+cross-sparc-gcc12
+cross-sparc64-gcc12
+cross-ppc64-gcc12
+cross-ppc64le-gcc12
+cross-m68k-gcc12
+cross-mips-gcc12
+cross-hppa-gcc12-bootstrap
+cross-hppa-gcc12
+cross-arm-none-gcc12-bootstrap
+cross-arm-none-gcc12
+cross-epiphany-gcc12-bootstrap
+cross-epiphany-gcc12
+cross-riscv64-elf-gcc12-bootstrap
+cross-riscv64-elf-gcc12
+cross-rx-gcc12-bootstrap
+cross-rx-gcc12
+cross-nvptx-gcc12
+cross-amdgcn-gcc12
+
diff --git a/change_spec b/change_spec
index afff7b0..11dbba0 100644
--- a/change_spec
+++ b/change_spec
@@ -55,10 +55,9 @@ p
gcc.spec.in \
| sed -e 's%@base_ver@%'$base_ver'%g' \
>> gcc$base_ver-testresults.spec
- test -f gcc$base_ver.changes \
- && ( ln -f gcc$base_ver.changes gcc$base_ver-testresults.changes; )
-
+echo '' > _multibuild
+echo ''gcc$base_ver-testresults'' >> _multibuild
add_cross() {
local pkgname="$1"; shift
@@ -77,7 +76,8 @@ add_cross() {
sed -e "s#@base_ver@#$base_ver#" \
-e "s/^\(ExclusiveArch.*\) $rpmtarget[^ \r]*/\1 /" \
>> $pkgname.spec
- test -f gcc$base_ver.changes && ln -f gcc$base_ver.changes $pkgname.changes
+
+ echo ''$pkgname'' >> _multibuild
}
add_newlib_cross() {
@@ -128,4 +128,6 @@ for f in *.spec; do
sed -i -e '/^# .*-\(BEGIN\|END\)$/d' $f
done
+echo '' >> _multibuild
+
osc service localrun format_spec_file
diff --git a/cross-aarch64-gcc12-bootstrap.changes b/cross-aarch64-gcc12-bootstrap.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-aarch64-gcc12-bootstrap.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-aarch64-gcc12-bootstrap.spec b/cross-aarch64-gcc12-bootstrap.spec
index 6df67e0..69e230f 100644
--- a/cross-aarch64-gcc12-bootstrap.spec
+++ b/cross-aarch64-gcc12-bootstrap.spec
@@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-aarch64-gcc12.changes b/cross-aarch64-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-aarch64-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-aarch64-gcc12.spec b/cross-aarch64-gcc12.spec
index 4328857..7d25115 100644
--- a/cross-aarch64-gcc12.spec
+++ b/cross-aarch64-gcc12.spec
@@ -22,14 +22,6 @@
%define gcc_target_glibc 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-amdgcn-gcc12.changes b/cross-amdgcn-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-amdgcn-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-amdgcn-gcc12.spec b/cross-amdgcn-gcc12.spec
index a3266e3..1fac246 100644
--- a/cross-amdgcn-gcc12.spec
+++ b/cross-amdgcn-gcc12.spec
@@ -22,14 +22,6 @@
%define gcc_accel 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-arm-gcc12.changes b/cross-arm-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-arm-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-arm-gcc12.spec b/cross-arm-gcc12.spec
index 9214d76..6517a84 100644
--- a/cross-arm-gcc12.spec
+++ b/cross-arm-gcc12.spec
@@ -22,14 +22,6 @@
%define gcc_icecream 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-arm-none-gcc12-bootstrap.changes b/cross-arm-none-gcc12-bootstrap.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-arm-none-gcc12-bootstrap.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-arm-none-gcc12-bootstrap.spec b/cross-arm-none-gcc12-bootstrap.spec
index 3ff4bc3..a719656 100644
--- a/cross-arm-none-gcc12-bootstrap.spec
+++ b/cross-arm-none-gcc12-bootstrap.spec
@@ -23,14 +23,6 @@
%define gcc_libc_bootstrap 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -110,7 +102,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -136,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -305,6 +296,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -334,8 +330,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -616,10 +610,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -633,15 +623,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -709,9 +707,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-arm-none-gcc12.changes b/cross-arm-none-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-arm-none-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-arm-none-gcc12.spec b/cross-arm-none-gcc12.spec
index ce5508d..e1be60a 100644
--- a/cross-arm-none-gcc12.spec
+++ b/cross-arm-none-gcc12.spec
@@ -22,14 +22,6 @@
%define gcc_target_newlib 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-avr-gcc12-bootstrap.changes b/cross-avr-gcc12-bootstrap.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-avr-gcc12-bootstrap.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-avr-gcc12-bootstrap.spec b/cross-avr-gcc12-bootstrap.spec
index 9951966..b70c768 100644
--- a/cross-avr-gcc12-bootstrap.spec
+++ b/cross-avr-gcc12-bootstrap.spec
@@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-avr-gcc12.changes b/cross-avr-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-avr-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-avr-gcc12.spec b/cross-avr-gcc12.spec
index cddf668..1a28b56 100644
--- a/cross-avr-gcc12.spec
+++ b/cross-avr-gcc12.spec
@@ -22,14 +22,6 @@
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-epiphany-gcc12-bootstrap.changes b/cross-epiphany-gcc12-bootstrap.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-epiphany-gcc12-bootstrap.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-epiphany-gcc12-bootstrap.spec b/cross-epiphany-gcc12-bootstrap.spec
index 82fff9a..8d620b0 100644
--- a/cross-epiphany-gcc12-bootstrap.spec
+++ b/cross-epiphany-gcc12-bootstrap.spec
@@ -23,14 +23,6 @@
%define gcc_libc_bootstrap 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -110,7 +102,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -136,7 +128,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -305,6 +296,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -334,8 +330,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -616,10 +610,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -633,15 +623,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -709,9 +707,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-epiphany-gcc12.changes b/cross-epiphany-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-epiphany-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-epiphany-gcc12.spec b/cross-epiphany-gcc12.spec
index 84544b4..6f6f181 100644
--- a/cross-epiphany-gcc12.spec
+++ b/cross-epiphany-gcc12.spec
@@ -22,14 +22,6 @@
%define gcc_target_newlib 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-hppa-gcc12-bootstrap.changes b/cross-hppa-gcc12-bootstrap.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-hppa-gcc12-bootstrap.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška
-
-- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-
--------------------------------------------------------------------
-Mon Feb 28 09:40:45 UTC 2022 - Martin Liška
-
-- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
-- Bump sover of libgo library.
-
--------------------------------------------------------------------
-Fri Feb 11 08:35:30 UTC 2022 - Richard Biener
-
-- Update to trunk head, 165947fecf4d78c7effb0f1ee15e694 (git191602)
-- Add gcc12-PIE, similar to gcc-PIE but affecting gcc12 [bsc#1195628]
-
--------------------------------------------------------------------
-Wed Feb 9 15:11:40 UTC 2022 - Richard Biener
-
-- Put libstdc++6-pp Requires on the shared library and drop
- to Recoomends.
-
--------------------------------------------------------------------
-Tue Feb 8 19:05:40 UTC 2022 - Martin Liška
-
-- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-
--------------------------------------------------------------------
-Mon Jan 24 12:34:42 UTC 2022 - Richard Biener
-
-- Update to trunk head, 978abe918f8c8deed28e92297d3c0cc (git191254)
-- Fix filenames in the following patches:
- gcc11-amdgcn-disable-hot-cold-partitioning.patch,
- gcc41-ppc32-retaddr.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 13:25:34 UTC 2022 - Martin Liška
-
-- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
-- Fix filename in gcc10-amdgcn-llvm-as.patch.
-
--------------------------------------------------------------------
-Wed Jan 19 07:52:54 UTC 2022 - Richard Biener
-
-- Remove sys/rseq.h from include-fixed
-
--------------------------------------------------------------------
-Tue Jan 18 19:53:41 UTC 2022 - Martin Liška
-
-- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
-- Rebase patches after .cc renaming.
-
--------------------------------------------------------------------
-Thu Jan 13 08:27:07 UTC 2022 - Martin Liška
-
-- New package, inherits from gcc11
- * Enable LSAN and TSAN for s390x target.
- * Require gcc-d as dependency for proper bootstrap.
- * Use gcc11-amdgcn-disable-hot-cold-partitioning.patch only conditionally
- on older SUSE products.
- * Add --enable-offload-defaulted to configure options.
- * Include a couple of new header files.
- * Do not require llvm11 for cross compilers (assembler was fixed
- in latest LLVM releases), use llvm11 only on SLE 15.
- * Remove unnecessary gcc10-foffload-default.patch patch.
-- Take patches inherited from GCC 11.
- * gcc-add-defaultsspec.diff, add the ability to provide a specs
- file that is read by default
- * tls-no-direct.diff, avoid direct %fs references on x86 to not
- slow down Xen
- * gcc43-no-unwind-tables.diff, do not produce unwind tables for
- CRT files
- * gcc41-ppc32-retaddr.patch, fix expansion of __builtin_return_addr
- for ppc, just a testcase
- * gcc44-textdomain.patch, make translation files version specific
- and adjust textdomain to find them
- * gcc44-rename-info-files.patch, fix cross-references in info files
- when renaming them to be version specific
- * gcc48-libstdc++-api-reference.patch, fix link in the installed
- libstdc++ html documentation
- * gcc48-remove-mpfr-2.4.0-requirement.patch, make GCC work with
- earlier mpfr versions on old products
- * gcc5-no-return-gcc43-workaround.patch, make build work with
- host gcc 4.3
- * gcc7-remove-Wexpansion-to-defined-from-Wextra.patch, removes
- new warning from -Wextra
- * gcc7-avoid-fixinc-error.diff
- * gcc9-reproducible-builds-buildid-for-checksum.patch
- * gcc9-reproducible-builds.patch
- * gcc10-amdgcn-llvm-as.patch
diff --git a/cross-hppa-gcc12-bootstrap.spec b/cross-hppa-gcc12-bootstrap.spec
index 3e4356c..3450560 100644
--- a/cross-hppa-gcc12-bootstrap.spec
+++ b/cross-hppa-gcc12-bootstrap.spec
@@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1
# nospeccleaner
-# In the staging/ring projects, we don't want to build the unneeded
-# cross-* packages, but by default, we do:
-%bcond_with ringdisabled
-
-%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && "%{cross_arch}" != "aarch64" && "%{cross_arch}" != "riscv64" && %{with ringdisabled}
-ExclusiveArch: do-not-build
-%endif
-
%define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0
@@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 12.0.1+git192423
+Version: 12.1.0+git27
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/+/-/')
@@ -135,7 +127,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
-Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian
@@ -304,6 +295,11 @@ This is a package that is necessary for bootstrapping another package
only, it is not intended for any other use.
%endif
+%if 0%{suse_version} >= 1500
+# Synchronize output by lines, useful for configure output
+%define make_output_sync -Oline
+%endif
+
%prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
@@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550
%patch19 -p1
-# FIXME: remove the patch once gcc11 got updated (D bug)
-%patch21 -p1
%endif
%patch51
%patch60 -p1
@@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \
%endif
-%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
-%if "%{TARGET_ARCH}" == "powerpc"
- --with-cpu=default32 \
-%endif
%if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350
--with-cpu=power8 \
@@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \
%endif
%endif
+%if %{suse_version} > 1500
+ --with-long-double-format=ieee \
%else
- --with-cpu-64=power4 \
+ --with-long-double-format=ibm \
%endif
--enable-secureplt \
--with-long-double-128 \
-%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \
--disable-multilib \
%endif
+%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64"
+%if "%{TARGET_ARCH}" == "powerpc"
+ --with-cpu=default32 \
+%endif
+ --with-cpu-64=power4 \
+ --enable-secureplt \
+ --with-long-double-128 \
%endif
%if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \
@@ -708,9 +706,9 @@ amdgcn-amdhsa,\
}
%if 0%{!?gcc_icecream:1}
-make %{?_smp_mflags}
+make %{?make_output_sync} %{?_smp_mflags}
%else
-make %{?_smp_mflags} all-host
+make %{?make_output_sync} %{?_smp_mflags} all-host
%endif
%if 0%{?gcc_icecream:%gcc_icecream}
diff --git a/cross-hppa-gcc12.changes b/cross-hppa-gcc12.changes
deleted file mode 100644
index 88ce5e8..0000000
--- a/cross-hppa-gcc12.changes
+++ /dev/null
@@ -1,162 +0,0 @@
--------------------------------------------------------------------
-Wed Apr 6 07:22:15 UTC 2022 - Martin Liška
-
-- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
- Fixes aarch64 bootstrap issue (PR105144).
-
--------------------------------------------------------------------
-Fri Apr 1 09:52:40 UTC 2022 - Richard Biener
-
-- Add provides/conflicts to glibc crosses since only one GCC version
- for the same target can be installed at the same time.
-- Add provides/conflicts to libgccjit
-
--------------------------------------------------------------------
-Mon Mar 28 09:23:34 UTC 2022 - Martin Liška
-
-- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-
--------------------------------------------------------------------
-Wed Mar 23 19:21:40 UTC 2022 - Martin Liška
-
-- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-
--------------------------------------------------------------------
-Thu Mar 17 08:25:45 UTC 2022 - Martin Liška
-
-- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-
--------------------------------------------------------------------
-Tue Mar 15 14:50:14 UTC 2022 - Michael Matz
-
-- Add a proper barebones cross compiler for hppa
- (named cross-hppa-gcc12-bootstrap). Doesn't yet drop or
- rename the icecream variant cross-hppa-gcc12, not does this
- add a proper glibc-using cross compiler for hppa.
-
--------------------------------------------------------------------
-Mon Mar 7 22:43:44 UTC 2022 - Dirk Müller
-
-- drop armv5tel, merge arm and armv6hl
-- use --with-cpu rather than specifying --with-arch/--with-tune
-
--------------------------------------------------------------------
-Mon Mar 7 11:00:49 UTC 2022 - Martin Liška
-
-- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-
--------------------------------------------------------------------
-Wed Mar 2 14:19:45 UTC 2022 - Richard Biener
-
-- Drop unconditional -gccN suffix from libstdc++6-pp packages and
- instead use the same suffix as for the matching libstdc++6
- package it supplements to ease future updates. Add Obsoletes
- to pre-existing libstdc++6-pp-gcc{9,10,11} packages to allow
- updates to happen. [bsc#1196107]
-
--------------------------------------------------------------------
-Tue Mar 1 19:34:43 UTC 2022 - Martin Liška
-
-- Use proper patch for SLE 15.x.
-
--------------------------------------------------------------------
-Tue Mar 1 19:07:10 UTC 2022 - Martin Liška
-
-- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-
--------------------------------------------------------------------
-Tue Mar 1 15:54:51 UTC 2022 - Martin Liška
-
-- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-
--------------------------------------------------------------------
-Tue Mar 1 15:49:57 UTC 2022 - Martin Liška