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 - -- 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.spec b/cross-hppa-gcc12.spec index 57a83c4..07f6a8a 100644 --- a/cross-hppa-gcc12.spec +++ b/cross-hppa-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-m68k-gcc12.changes b/cross-m68k-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-m68k-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-m68k-gcc12.spec b/cross-m68k-gcc12.spec index 3f2440c..d7b9fc5 100644 --- a/cross-m68k-gcc12.spec +++ b/cross-m68k-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-mips-gcc12.changes b/cross-mips-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-mips-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-mips-gcc12.spec b/cross-mips-gcc12.spec index bb52ec7..83435ea 100644 --- a/cross-mips-gcc12.spec +++ b/cross-mips-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-nvptx-gcc12.changes b/cross-nvptx-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-nvptx-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-nvptx-gcc12.spec b/cross-nvptx-gcc12.spec index 4f2e90d..cec5ed1 100644 --- a/cross-nvptx-gcc12.spec +++ b/cross-nvptx-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-ppc64-gcc12.changes b/cross-ppc64-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-ppc64-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-ppc64-gcc12.spec b/cross-ppc64-gcc12.spec index da26f11..5f1207e 100644 --- a/cross-ppc64-gcc12.spec +++ b/cross-ppc64-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-ppc64le-gcc12.changes b/cross-ppc64le-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-ppc64le-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-ppc64le-gcc12.spec b/cross-ppc64le-gcc12.spec index d9785d1..03483a2 100644 --- a/cross-ppc64le-gcc12.spec +++ b/cross-ppc64le-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-riscv64-elf-gcc12-bootstrap.changes b/cross-riscv64-elf-gcc12-bootstrap.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-riscv64-elf-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-riscv64-elf-gcc12-bootstrap.spec b/cross-riscv64-elf-gcc12-bootstrap.spec index 59bf63b..bb2a4f7 100644 --- a/cross-riscv64-elf-gcc12-bootstrap.spec +++ b/cross-riscv64-elf-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-riscv64-elf-gcc12.changes b/cross-riscv64-elf-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-riscv64-elf-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-riscv64-elf-gcc12.spec b/cross-riscv64-elf-gcc12.spec index 95d72fb..de7a527 100644 --- a/cross-riscv64-elf-gcc12.spec +++ b/cross-riscv64-elf-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-riscv64-gcc12-bootstrap.changes b/cross-riscv64-gcc12-bootstrap.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-riscv64-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-riscv64-gcc12-bootstrap.spec b/cross-riscv64-gcc12-bootstrap.spec index 04542d9..0d7dd28 100644 --- a/cross-riscv64-gcc12-bootstrap.spec +++ b/cross-riscv64-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-riscv64-gcc12.changes b/cross-riscv64-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-riscv64-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-riscv64-gcc12.spec b/cross-riscv64-gcc12.spec index e2eb509..fcf0b65 100644 --- a/cross-riscv64-gcc12.spec +++ b/cross-riscv64-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-rx-gcc12-bootstrap.changes b/cross-rx-gcc12-bootstrap.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-rx-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-rx-gcc12-bootstrap.spec b/cross-rx-gcc12-bootstrap.spec index 1147fa0..cc8c5fc 100644 --- a/cross-rx-gcc12-bootstrap.spec +++ b/cross-rx-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-rx-gcc12.changes b/cross-rx-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-rx-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-rx-gcc12.spec b/cross-rx-gcc12.spec index 416d822..fc87b91 100644 --- a/cross-rx-gcc12.spec +++ b/cross-rx-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-s390x-gcc12.changes b/cross-s390x-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-s390x-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-s390x-gcc12.spec b/cross-s390x-gcc12.spec index ac1b712..39d584d 100644 --- a/cross-s390x-gcc12.spec +++ b/cross-s390x-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-sparc-gcc12.changes b/cross-sparc-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-sparc-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-sparc-gcc12.spec b/cross-sparc-gcc12.spec index e9a7129..214910f 100644 --- a/cross-sparc-gcc12.spec +++ b/cross-sparc-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-sparc64-gcc12.changes b/cross-sparc64-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-sparc64-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-sparc64-gcc12.spec b/cross-sparc64-gcc12.spec index bfd84ee..fd6ad3b 100644 --- a/cross-sparc64-gcc12.spec +++ b/cross-sparc64-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-x86_64-gcc12.changes b/cross-x86_64-gcc12.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/cross-x86_64-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-x86_64-gcc12.spec b/cross-x86_64-gcc12.spec index 898791a..6a3a801 100644 --- a/cross-x86_64-gcc12.spec +++ b/cross-x86_64-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.spec.in b/cross.spec.in index c157729..bce2a68 100644 --- a/cross.spec.in +++ b/cross.spec.in @@ -1,13 +1,5 @@ # 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 @@ -216,9 +208,9 @@ only, it is not intended for any other use. # BUILD-COMMON-BEGIN # BUILD-COMMON-END %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 diff --git a/gcc-12.0.1+git192423.tar.xz b/gcc-12.0.1+git192423.tar.xz deleted file mode 100644 index e77297b..0000000 --- a/gcc-12.0.1+git192423.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dd519edb36b502626b2d9d22e0ac5db3f4fa09d2db34cdebb21d77823d19a25 -size 82610716 diff --git a/gcc-12.1.0+git27.tar.xz b/gcc-12.1.0+git27.tar.xz new file mode 100644 index 0000000..add8b66 --- /dev/null +++ b/gcc-12.1.0+git27.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:27886cb89ed743d2af5cfc743de5e4c8ca60a782984714c4270ee692cb33be95 +size 82867276 diff --git a/gcc.spec.in b/gcc.spec.in index e56186c..7390657 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:32b2abe17ec2b54e2ec110f5a1335b6741217c74494f1526a670ff3cdb70bfbf -size 87705 +oid sha256:5a35b83915c40ed97e250ee91068c0b18311abb1eeeba75678a0c7fedf792cca +size 87808 diff --git a/gcc12-d-workaround.patch b/gcc12-d-workaround.patch deleted file mode 100644 index 3455d36..0000000 --- a/gcc12-d-workaround.patch +++ /dev/null @@ -1,28 +0,0 @@ - gcc/d/Make-lang.in | 4 ---- - 1 file changed, 4 deletions(-) - -diff --git a/gcc/d/Make-lang.in b/gcc/d/Make-lang.in -index 6c90657d65f..41ca2566eb4 100644 ---- a/gcc/d/Make-lang.in -+++ b/gcc/d/Make-lang.in -@@ -62,7 +62,6 @@ ALL_DFLAGS = $(DFLAGS-$@) $(GDCFLAGS) -fversion=IN_GCC $(CHECKING_DFLAGS) \ - - DCOMPILE.base = $(GDC) $(NO_PIE_CFLAGS) -c $(ALL_DFLAGS) -o $@ - DCOMPILE = $(DCOMPILE.base) -MT $@ -MMD -MP -MF $(@D)/$(DEPDIR)/$(*F).TPo --DPOSTCOMPILE = @mv $(@D)/$(DEPDIR)/$(*F).TPo $(@D)/$(DEPDIR)/$(*F).Po - DLINKER = $(GDC) $(NO_PIE_FLAG) -lstdc++ - - # Like LINKER, but use a mutex for serializing front end links. -@@ -396,12 +395,9 @@ D_INCLUDES = -I$(srcdir)/d -J$(srcdir)/d/dmd -J$(srcdir)/d/dmd/res - # Override build rules for D frontend. - d/%.o: d/dmd/%.d - $(DCOMPILE) $(D_INCLUDES) $< -- $(DPOSTCOMPILE) - - d/common-%.o: d/dmd/common/%.d - $(DCOMPILE) $(D_INCLUDES) $< -- $(DPOSTCOMPILE) - - d/root-%.o: d/dmd/root/%.d - $(DCOMPILE) $(D_INCLUDES) $< -- $(DPOSTCOMPILE) diff --git a/gcc12-testresults.changes b/gcc12-testresults.changes deleted file mode 100644 index 88ce5e8..0000000 --- a/gcc12-testresults.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/gcc12-testresults.spec b/gcc12-testresults.spec index b1af351..890aae6 100644 --- a/gcc12-testresults.spec +++ b/gcc12-testresults.spec @@ -207,7 +207,7 @@ %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/+/-/') @@ -248,10 +248,10 @@ BuildRequires: isl-devel BuildRequires: gcc12-ada BuildRequires: gcc12-c++ %else -%if %{suse_version} < 1310 -%define hostsuffix -4.8 -BuildRequires: gcc48-ada -BuildRequires: gcc48-c++ +%if %{suse_version} <= 1315 +%define hostsuffix -7 +BuildRequires: gcc7-ada +BuildRequires: gcc7-c++ %else %define hostsuffix %{nil} BuildRequires: gcc-ada @@ -388,7 +388,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 @@ -496,6 +495,11 @@ Results from running the gcc and target library testsuites. %endif %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 @@ -525,8 +529,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 @@ -807,10 +809,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 \ @@ -824,15 +822,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 \ @@ -905,7 +911,7 @@ STAGE1_FLAGS="-g -O2" %define use_pgo_bootstrap 1 %endif %endif -%{?use_pgo_bootstrap:setarch `arch` -R} make %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} +%{?use_pgo_bootstrap:setarch `arch` -R} make %{?make_output_sync} %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} make info %if 0%{?run_tests:1} echo "Run testsuite" diff --git a/gcc12.changes b/gcc12.changes index 88ce5e8..c4beeb6 100644 --- a/gcc12.changes +++ b/gcc12.changes @@ -1,3 +1,42 @@ +------------------------------------------------------------------- +Fri May 6 07:11:46 UTC 2022 - Richard Biener + +- Update to GCC 12.1 release, 1ea978e3066ac565a1ec28a96a4d61, git27 + +------------------------------------------------------------------- +Fri Apr 29 17:05:16 UTC 2022 - Richard Biener + +- Bump to 621650f64fb6679c457c33abf27c925f28bddc62, git9 + * GCC 12.1 release candidate + +------------------------------------------------------------------- +Thu Apr 28 06:43:08 UTC 2022 - Richard Biener + +- Bump to f27848a5dc4d3b16cd4112bddcb59e0916eba623, git192706. +- Switch ppc64le to the IEEE long double ABI by default in Factory. +- Separate ppc64le from ppc/ppc64 specific configury. +- Add _multibuild to gather all .spec files and reduce the number + of .changes files to one, autogenerated by change_spec. +- Drop %ringdisabled handling. +- Ada bootstrap now requires at least GCC 5, use GCC 7 on SLES 12 + instead of GCC 4.8. + +------------------------------------------------------------------- +Wed Apr 27 05:56:00 UTC 2022 - Richard Biener + +- Drop no longer necessary gcc12-d-workaround.patch + +------------------------------------------------------------------- +Tue Apr 19 18:07:47 UTC 2022 - Martin Liška + +- Bump to b85abacd902813daec5e44b97f275eb88caaf715, git192607. + +------------------------------------------------------------------- +Wed Apr 6 09:09:57 UTC 2022 - Andreas Schwab + +- On SLE15 and later, use make -Oline to synchronize configure output by + lines + ------------------------------------------------------------------- Wed Apr 6 07:22:15 UTC 2022 - Martin Liška diff --git a/gcc12.spec b/gcc12.spec index fb4fba0..40a8776 100644 --- a/gcc12.spec +++ b/gcc12.spec @@ -186,7 +186,7 @@ %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/+/-/') @@ -227,10 +227,10 @@ BuildRequires: isl-devel BuildRequires: gcc12-ada BuildRequires: gcc12-c++ %else -%if %{suse_version} < 1310 -%define hostsuffix -4.8 -BuildRequires: gcc48-ada -BuildRequires: gcc48-c++ +%if %{suse_version} <= 1315 +%define hostsuffix -7 +BuildRequires: gcc7-ada +BuildRequires: gcc7-c++ %else %define hostsuffix %{nil} BuildRequires: gcc-ada @@ -367,7 +367,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 @@ -1992,6 +1991,11 @@ Results from running the gcc and target library testsuites. %endif %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 @@ -2021,8 +2025,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 @@ -2303,10 +2305,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 \ @@ -2320,15 +2318,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 \ @@ -2401,7 +2407,7 @@ STAGE1_FLAGS="-g -O2" %define use_pgo_bootstrap 1 %endif %endif -%{?use_pgo_bootstrap:setarch `arch` -R} make %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} +%{?use_pgo_bootstrap:setarch `arch` -R} make %{?make_output_sync} %{?use_pgo_bootstrap:profiledbootstrap} STAGE1_CFLAGS="$STAGE1_FLAGS" BOOT_CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags} make info %if 0%{?run_tests:1} echo "Run testsuite"