Accepting request 975330: As previous, stage in : - this is the version to take, I'm going

to release my review on the gcc package now.

--

- Update to GCC 12.1 release, 1ea978e3066ac565a1ec28a96a4d61, git27

- Bump to 621650f64fb6679c457c33abf27c925f28bddc62, git9
  * GCC 12.1 release candidate

- 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.

- Drop no longer necessary gcc12-d-workaround.patch

- Bump to b85abacd902813daec5e44b97f275eb88caaf715, git192607.

- On SLE15 and later, use make -Oline to synchronize configure output by
  lines

Rev openSUSE:Factory/3 Md5 2f8fcc1bc35cc8558414a1b7ca7402b8 2022-05-10 13:09:46 dimstar_suse 975330
This commit is contained in:
OBS User dimstar_suse 2022-05-10 13:09:46 +00:00 committed by Git OBS Bridge
commit 915f26469f
65 changed files with 610 additions and 5153 deletions

30
_multibuild Normal file
View File

@ -0,0 +1,30 @@
<multibuild>
<flavor>gcc12-testresults</flavor>
<flavor>cross-aarch64-gcc12-bootstrap</flavor>
<flavor>cross-aarch64-gcc12</flavor>
<flavor>cross-riscv64-gcc12-bootstrap</flavor>
<flavor>cross-riscv64-gcc12</flavor>
<flavor>cross-arm-gcc12</flavor>
<flavor>cross-avr-gcc12-bootstrap</flavor>
<flavor>cross-avr-gcc12</flavor>
<flavor>cross-x86_64-gcc12</flavor>
<flavor>cross-s390x-gcc12</flavor>
<flavor>cross-sparc-gcc12</flavor>
<flavor>cross-sparc64-gcc12</flavor>
<flavor>cross-ppc64-gcc12</flavor>
<flavor>cross-ppc64le-gcc12</flavor>
<flavor>cross-m68k-gcc12</flavor>
<flavor>cross-mips-gcc12</flavor>
<flavor>cross-hppa-gcc12-bootstrap</flavor>
<flavor>cross-hppa-gcc12</flavor>
<flavor>cross-arm-none-gcc12-bootstrap</flavor>
<flavor>cross-arm-none-gcc12</flavor>
<flavor>cross-epiphany-gcc12-bootstrap</flavor>
<flavor>cross-epiphany-gcc12</flavor>
<flavor>cross-riscv64-elf-gcc12-bootstrap</flavor>
<flavor>cross-riscv64-elf-gcc12</flavor>
<flavor>cross-rx-gcc12-bootstrap</flavor>
<flavor>cross-rx-gcc12</flavor>
<flavor>cross-nvptx-gcc12</flavor>
<flavor>cross-amdgcn-gcc12</flavor>
</multibuild>

View File

@ -55,10 +55,9 @@ p
gcc.spec.in \ gcc.spec.in \
| sed -e 's%@base_ver@%'$base_ver'%g' \ | sed -e 's%@base_ver@%'$base_ver'%g' \
>> gcc$base_ver-testresults.spec >> gcc$base_ver-testresults.spec
test -f gcc$base_ver.changes \
&& ( ln -f gcc$base_ver.changes gcc$base_ver-testresults.changes; )
echo '<multibuild>' > _multibuild
echo '<flavor>'gcc$base_ver-testresults'</flavor>' >> _multibuild
add_cross() { add_cross() {
local pkgname="$1"; shift local pkgname="$1"; shift
@ -77,7 +76,8 @@ add_cross() {
sed -e "s#@base_ver@#$base_ver#" \ sed -e "s#@base_ver@#$base_ver#" \
-e "s/^\(ExclusiveArch.*\) $rpmtarget[^ \r]*/\1 /" \ -e "s/^\(ExclusiveArch.*\) $rpmtarget[^ \r]*/\1 /" \
>> $pkgname.spec >> $pkgname.spec
test -f gcc$base_ver.changes && ln -f gcc$base_ver.changes $pkgname.changes
echo '<flavor>'$pkgname'</flavor>' >> _multibuild
} }
add_newlib_cross() { add_newlib_cross() {
@ -128,4 +128,6 @@ for f in *.spec; do
sed -i -e '/^# .*-\(BEGIN\|END\)$/d' $f sed -i -e '/^# .*-\(BEGIN\|END\)$/d' $f
done done
echo '</multibuild>' >> _multibuild
osc service localrun format_spec_file osc service localrun format_spec_file

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_target_glibc 1 %define gcc_target_glibc 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_accel 1 %define gcc_accel 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -23,14 +23,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -110,7 +102,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -334,8 +330,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -616,10 +610,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -633,15 +623,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -709,9 +707,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_target_newlib 1 %define gcc_target_newlib 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -23,14 +23,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -110,7 +102,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -334,8 +330,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -616,10 +610,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -633,15 +623,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -709,9 +707,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_target_newlib 1 %define gcc_target_newlib 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_accel 1 %define gcc_accel 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -23,14 +23,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -110,7 +102,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -334,8 +330,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -616,10 +610,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -633,15 +623,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -709,9 +707,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_target_newlib 1 %define gcc_target_newlib 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_target_glibc 1 %define gcc_target_glibc 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -23,14 +23,6 @@
%define gcc_libc_bootstrap 1 %define gcc_libc_bootstrap 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -110,7 +102,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -334,8 +330,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -616,10 +610,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -633,15 +623,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -709,9 +707,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_target_newlib 1 %define gcc_target_newlib 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -22,14 +22,6 @@
%define gcc_icecream 1 %define gcc_icecream 1
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -109,7 +101,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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 Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # 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. only, it is not intended for any other use.
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -333,8 +329,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -615,10 +609,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -632,15 +622,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -708,9 +706,9 @@ amdgcn-amdhsa,\
} }
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif
%if 0%{?gcc_icecream:%gcc_icecream} %if 0%{?gcc_icecream:%gcc_icecream}

View File

@ -1,13 +1,5 @@
# nospeccleaner # 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} %define build_cp 0%{!?gcc_accel:1}
%if 0%{?gcc_libc_bootstrap:1} %if 0%{?gcc_libc_bootstrap:1}
%define build_cp 0 %define build_cp 0
@ -216,9 +208,9 @@ only, it is not intended for any other use.
# BUILD-COMMON-BEGIN # BUILD-COMMON-BEGIN
# BUILD-COMMON-END # BUILD-COMMON-END
%if 0%{!?gcc_icecream:1} %if 0%{!?gcc_icecream:1}
make %{?_smp_mflags} make %{?make_output_sync} %{?_smp_mflags}
%else %else
make %{?_smp_mflags} all-host make %{?make_output_sync} %{?_smp_mflags} all-host
%endif %endif

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4dd519edb36b502626b2d9d22e0ac5db3f4fa09d2db34cdebb21d77823d19a25
size 82610716

3
gcc-12.1.0+git27.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:27886cb89ed743d2af5cfc743de5e4c8ca60a782984714c4270ee692cb33be95
size 82867276

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:32b2abe17ec2b54e2ec110f5a1335b6741217c74494f1526a670ff3cdb70bfbf oid sha256:5a35b83915c40ed97e250ee91068c0b18311abb1eeeba75678a0c7fedf792cca
size 87705 size 87808

View File

@ -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)

View File

@ -1,162 +0,0 @@
-------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 86242eb1bd03eba82d8e22b01b16925d43bcc539, git192423.
Fixes aarch64 bootstrap issue (PR105144).
-------------------------------------------------------------------
Fri Apr 1 09:52:40 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 9f37d31324f89d0b7b2abac988a976d121ae29c6, git192251.
-------------------------------------------------------------------
Wed Mar 23 19:21:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to e8cd3edc0fc6c02a732dcecf519c22d835e5f422, git192197.
-------------------------------------------------------------------
Thu Mar 17 08:25:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to c43cb355f25dd22133d15819bd6ec03d3d3939fd, git192094.
-------------------------------------------------------------------
Tue Mar 15 14:50:14 UTC 2022 - Michael Matz <matz@suse.com>
- 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 <dmueller@suse.com>
- 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 <mliska@suse.cz>
- Bump to 40c1d4a07e5798c01e4364336c9617550744861d, git191925.
-------------------------------------------------------------------
Wed Mar 2 14:19:45 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Use proper patch for SLE 15.x.
-------------------------------------------------------------------
Tue Mar 1 19:07:10 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 4a1c20df82c9e14478d79fbe1ae9690a36285ac1, git191847.
-------------------------------------------------------------------
Tue Mar 1 15:54:51 UTC 2022 - Martin Liška <mliska@suse.cz>
- Add gcc12-d-workaround.patch that fixes issue with gcc11 compiler.
-------------------------------------------------------------------
Tue Mar 1 15:49:57 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 673a10aee1aafe0c99bfadc29a7458339bdddb3a, git191845.
-------------------------------------------------------------------
Mon Feb 28 09:40:45 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 37b583b9d7719f663656ce65ac822c11471fb540, git191817.
- Bump sover of libgo library.
-------------------------------------------------------------------
Fri Feb 11 08:35:30 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Put libstdc++6-pp Requires on the shared library and drop
to Recoomends.
-------------------------------------------------------------------
Tue Feb 8 19:05:40 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 943d631abdd7be623cbf2b870d3d0cfef89f5f26, git191519.
-------------------------------------------------------------------
Mon Jan 24 12:34:42 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <mliska@suse.cz>
- Bump to 0bd247bbbe4cf396173f09eeec37e116e98f8471.
- Fix filename in gcc10-amdgcn-llvm-as.patch.
-------------------------------------------------------------------
Wed Jan 19 07:52:54 UTC 2022 - Richard Biener <rguenther@suse.com>
- Remove sys/rseq.h from include-fixed
-------------------------------------------------------------------
Tue Jan 18 19:53:41 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to 3c4a54adb2164315d18fd8980c0fc37eb3d22252.
- Rebase patches after .cc renaming.
-------------------------------------------------------------------
Thu Jan 13 08:27:07 UTC 2022 - Martin Liška <mliska@suse.cz>
- 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

View File

@ -207,7 +207,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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-ada
BuildRequires: gcc12-c++ BuildRequires: gcc12-c++
%else %else
%if %{suse_version} < 1310 %if %{suse_version} <= 1315
%define hostsuffix -4.8 %define hostsuffix -7
BuildRequires: gcc48-ada BuildRequires: gcc7-ada
BuildRequires: gcc48-c++ BuildRequires: gcc7-c++
%else %else
%define hostsuffix %{nil} %define hostsuffix %{nil}
BuildRequires: gcc-ada BuildRequires: gcc-ada
@ -388,7 +388,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # Some patches taken from Debian
@ -496,6 +495,11 @@ Results from running the gcc and target library testsuites.
%endif %endif
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -525,8 +529,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -807,10 +809,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -824,15 +822,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -905,7 +911,7 @@ STAGE1_FLAGS="-g -O2"
%define use_pgo_bootstrap 1 %define use_pgo_bootstrap 1
%endif %endif
%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 make info
%if 0%{?run_tests:1} %if 0%{?run_tests:1}
echo "Run testsuite" echo "Run testsuite"

View File

@ -1,3 +1,42 @@
-------------------------------------------------------------------
Fri May 6 07:11:46 UTC 2022 - Richard Biener <rguenther@suse.com>
- Update to GCC 12.1 release, 1ea978e3066ac565a1ec28a96a4d61, git27
-------------------------------------------------------------------
Fri Apr 29 17:05:16 UTC 2022 - Richard Biener <rguenther@suse.com>
- Bump to 621650f64fb6679c457c33abf27c925f28bddc62, git9
* GCC 12.1 release candidate
-------------------------------------------------------------------
Thu Apr 28 06:43:08 UTC 2022 - Richard Biener <rguenther@suse.com>
- 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 <rguenther@suse.com>
- Drop no longer necessary gcc12-d-workaround.patch
-------------------------------------------------------------------
Tue Apr 19 18:07:47 UTC 2022 - Martin Liška <mliska@suse.cz>
- Bump to b85abacd902813daec5e44b97f275eb88caaf715, git192607.
-------------------------------------------------------------------
Wed Apr 6 09:09:57 UTC 2022 - Andreas Schwab <schwab@suse.de>
- On SLE15 and later, use make -Oline to synchronize configure output by
lines
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz> Wed Apr 6 07:22:15 UTC 2022 - Martin Liška <mliska@suse.cz>

View File

@ -186,7 +186,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64 %define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/ URL: https://gcc.gnu.org/
Version: 12.0.1+git192423 Version: 12.1.0+git27
Release: 0 Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1) %define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/') %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-ada
BuildRequires: gcc12-c++ BuildRequires: gcc12-c++
%else %else
%if %{suse_version} < 1310 %if %{suse_version} <= 1315
%define hostsuffix -4.8 %define hostsuffix -7
BuildRequires: gcc48-ada BuildRequires: gcc7-ada
BuildRequires: gcc48-c++ BuildRequires: gcc7-c++
%else %else
%define hostsuffix %{nil} %define hostsuffix %{nil}
BuildRequires: gcc-ada BuildRequires: gcc-ada
@ -367,7 +367,6 @@ Patch17: gcc9-reproducible-builds-buildid-for-checksum.patch
Patch18: gcc10-amdgcn-llvm-as.patch Patch18: gcc10-amdgcn-llvm-as.patch
Patch19: gcc11-gdwarf-4-default.patch Patch19: gcc11-gdwarf-4-default.patch
Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch Patch20: gcc11-amdgcn-disable-hot-cold-partitioning.patch
Patch21: gcc12-d-workaround.patch
# A set of patches from the RH srpm # A set of patches from the RH srpm
Patch51: gcc41-ppc32-retaddr.patch Patch51: gcc41-ppc32-retaddr.patch
# Some patches taken from Debian # Some patches taken from Debian
@ -1992,6 +1991,11 @@ Results from running the gcc and target library testsuites.
%endif %endif
%endif %endif
%if 0%{suse_version} >= 1500
# Synchronize output by lines, useful for configure output
%define make_output_sync -Oline
%endif
%prep %prep
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1} %if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5 %setup -q -n gcc-%{version} -a 5
@ -2021,8 +2025,6 @@ cd ..
# In SLE15 and earlier default to dwarf4, not dwarf5 # In SLE15 and earlier default to dwarf4, not dwarf5
%if %{suse_version} < 1550 %if %{suse_version} < 1550
%patch19 -p1 %patch19 -p1
# FIXME: remove the patch once gcc11 got updated (D bug)
%patch21 -p1
%endif %endif
%patch51 %patch51
%patch60 -p1 %patch60 -p1
@ -2303,10 +2305,6 @@ amdgcn-amdhsa,\
--enable-fix-cortex-a53-835769 \ --enable-fix-cortex-a53-835769 \
--enable-fix-cortex-a53-843419 \ --enable-fix-cortex-a53-843419 \
%endif %endif
%if "%{TARGET_ARCH}" == "powerpc" || "%{TARGET_ARCH}" == "powerpc64" || "%{TARGET_ARCH}" == "powerpc64le"
%if "%{TARGET_ARCH}" == "powerpc"
--with-cpu=default32 \
%endif
%if "%{TARGET_ARCH}" == "powerpc64le" %if "%{TARGET_ARCH}" == "powerpc64le"
%if %{suse_version} >= 1350 %if %{suse_version} >= 1350
--with-cpu=power8 \ --with-cpu=power8 \
@ -2320,15 +2318,23 @@ amdgcn-amdhsa,\
--with-tune=power7 \ --with-tune=power7 \
%endif %endif
%endif %endif
%if %{suse_version} > 1500
--with-long-double-format=ieee \
%else %else
--with-cpu-64=power4 \ --with-long-double-format=ibm \
%endif %endif
--enable-secureplt \ --enable-secureplt \
--with-long-double-128 \ --with-long-double-128 \
%if "%{TARGET_ARCH}" == "powerpc64le"
--enable-targets=powerpcle-linux \ --enable-targets=powerpcle-linux \
--disable-multilib \ --disable-multilib \
%endif %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 %endif
%if "%{TARGET_ARCH}" == "sparc64" %if "%{TARGET_ARCH}" == "sparc64"
--with-cpu=ultrasparc \ --with-cpu=ultrasparc \
@ -2401,7 +2407,7 @@ STAGE1_FLAGS="-g -O2"
%define use_pgo_bootstrap 1 %define use_pgo_bootstrap 1
%endif %endif
%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 make info
%if 0%{?run_tests:1} %if 0%{?run_tests:1}
echo "Run testsuite" echo "Run testsuite"