Accepting request 900519 from devel:gcc

- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
  * Fixes ceph build failure.  [gcc#101078]

- Change disable_32bit to only disable multilibs for arhcs subject
  to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in

- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
  fail.  [bsc#1187153]

- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273

- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
   needed by arm-trusted-firmware

- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
  * Fixes ceph build failure.  [gcc#101078]

- Change disable_32bit to only disable multilibs for arhcs subject
  to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in

- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
  fail.  [bsc#1187153]

- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273

- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,

OBS-URL: https://build.opensuse.org/request/show/900519
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gcc11?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2021-06-20 17:37:48 +00:00 committed by Git OBS Bridge
commit 71a89e0882
59 changed files with 1217 additions and 374 deletions

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch aarch64
%define gcc_target_arch aarch64-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch amdgcn
%define gcc_target_arch amdgcn-amdhsa
%define gcc_accel 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch arm
%define gcc_target_arch arm-suse-linux-gnueabi
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -21,21 +21,13 @@
%define gcc_target_arch arm-none-eabi
%define gcc_target_newlib 1
%define gcc_libc_bootstrap 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -115,7 +107,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -146,6 +138,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -295,6 +289,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -491,7 +488,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -580,7 +577,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -634,8 +631,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch arm-none
%define gcc_target_arch arm-none-eabi
%define gcc_target_newlib 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch avr
%define gcc_target_arch avr
%define gcc_libc_bootstrap 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch avr
%define gcc_target_arch avr
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -21,21 +21,13 @@
%define gcc_target_arch epiphany-elf
%define gcc_target_newlib 1
%define gcc_libc_bootstrap 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -115,7 +107,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -146,6 +138,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -295,6 +289,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -491,7 +488,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -580,7 +577,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -634,8 +631,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch epiphany
%define gcc_target_arch epiphany-elf
%define gcc_target_newlib 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch hppa
%define gcc_target_arch hppa-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch i386
%define gcc_target_arch i586-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch m68k
%define gcc_target_arch m68k-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch mips
%define gcc_target_arch mips-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch nvptx
%define gcc_target_arch nvptx-none
%define gcc_accel 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch ppc64
%define gcc_target_arch powerpc64-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch ppc64le
%define gcc_target_arch powerpc64le-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -21,21 +21,13 @@
%define gcc_target_arch riscv64-elf
%define gcc_target_newlib 1
%define gcc_libc_bootstrap 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -115,7 +107,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -146,6 +138,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -295,6 +289,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -491,7 +488,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -580,7 +577,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -634,8 +631,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch riscv64
%define gcc_target_arch riscv64-elf
%define gcc_target_newlib 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch riscv64
%define gcc_target_arch riscv64-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -21,21 +21,13 @@
%define gcc_target_arch rx-elf
%define gcc_target_newlib 1
%define gcc_libc_bootstrap 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -115,7 +107,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -146,6 +138,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -295,6 +289,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -491,7 +488,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -580,7 +577,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -634,8 +631,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch rx
%define gcc_target_arch rx-elf
%define gcc_target_newlib 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch s390x
%define gcc_target_arch s390x-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch sparcv9
%define gcc_target_arch sparc-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch sparc64
%define gcc_target_arch sparc64-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -20,21 +20,13 @@
%define cross_arch x86_64
%define gcc_target_arch x86_64-suse-linux
%define gcc_icecream 1
#
# spec file template for cross packages of gcc${version}
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif
@ -114,7 +106,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -145,6 +137,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# Define the canonical target and host architecture
# %%gcc_target_arch is supposed to be the full target triple
@ -294,6 +288,9 @@ only, it is not intended for any other use.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -490,7 +487,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -579,7 +576,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -633,8 +630,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,19 +1,10 @@
#
# spec file template for cross packages of gcc${version}
#
# Copyright (c) 2021 SUSE LLC
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# nospeccleaner
# In the staging/ring projects, we don't want to build the cross-* packages, but by default, we do:
# In the staging/ring projects, we don't want to build the unneeded
# cross-* packages, but by default, we do:
%bcond_with ringdisabled
%if %{with ringdisabled}
%if "%{cross_arch}" != "arm-none" && "%{cross_arch}" != "arm" && %{with ringdisabled}
ExclusiveArch: do-not-build
%endif

View File

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

3
gcc-11.1.1+git340.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6ebfad9fbb54b04c8ca57769478b7e8073873b29e3ae595916d6c76abdd337d4
size 80492176

View File

@ -190,7 +190,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 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/+/-/')
@ -282,6 +282,9 @@ BuildRequires: cross-amdgcn-newlib@base_ver@-devel
%ifarch x86_64 s390x ppc64 sparc64
%define separate_bi32 1
%endif
%define disable_multilib_arch %{nil}
%else
%define disable_multilib_arch ppc sparcv9 x86_64 s390x ppc64 sparc64
%endif
# Define two macros to trigger -32bit or -64bit package variants
@ -366,6 +369,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
# GCC-TESTSUITE-DELETE-BEGIN
License: GPL-3.0-or-later
@ -1145,6 +1150,9 @@ Results from running the gcc and target library testsuites.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -1341,7 +1349,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -1430,7 +1438,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -1484,8 +1492,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -206,7 +206,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -297,6 +297,9 @@ BuildRequires: cross-amdgcn-newlib11-devel
%ifarch x86_64 s390x ppc64 sparc64
%define separate_bi32 1
%endif
%define disable_multilib_arch %{nil}
%else
%define disable_multilib_arch ppc sparcv9 x86_64 s390x ppc64 sparc64
%endif
# Define two macros to trigger -32bit or -64bit package variants
@ -380,6 +383,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
Summary: Testsuite results
License: SUSE-Public-Domain
@ -485,6 +490,9 @@ Results from running the gcc and target library testsuites.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -681,7 +689,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -770,7 +778,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -824,8 +832,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Jun 17 06:28:18 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (79c1185de4a05fdea13b6b0207), git340
* Fixes ceph build failure. [gcc#101078]
-------------------------------------------------------------------
Tue Jun 15 09:16:11 UTC 2021 - Richard Biener <rguenther@suse.com>
- Change disable_32bit to only disable multilibs for arhcs subject
to 32bit/64bit handling and make it effective on x86_64.
- Remove the duplicate spec header from cross.spec.in
-------------------------------------------------------------------
Thu Jun 10 10:03:37 UTC 2021 - Richard Biener <rguenther@suse.com>
- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build
fail. [bsc#1187153]
-------------------------------------------------------------------
Wed Jun 9 08:50:44 UTC 2021 - Richard Biener <rguenther@suse.com>
- Update to gcc-11 branch head (c6d2487098f9dde4f9ac59e5be), git273
-------------------------------------------------------------------
Tue Jun 8 08:22:22 UTC 2021 - Dirk Müller <dmueller@suse.com>
- tune armv7 to generic-armv7-a
- enable build for arm-none cross builders in rings,
needed by arm-trusted-firmware
-------------------------------------------------------------------
Tue May 25 19:21:01 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -188,7 +188,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
Version: 11.1.1+git121
Version: 11.1.1+git340
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@ -279,6 +279,9 @@ BuildRequires: cross-amdgcn-newlib11-devel
%ifarch x86_64 s390x ppc64 sparc64
%define separate_bi32 1
%endif
%define disable_multilib_arch %{nil}
%else
%define disable_multilib_arch ppc sparcv9 x86_64 s390x ppc64 sparc64
%endif
# Define two macros to trigger -32bit or -64bit package variants
@ -362,6 +365,8 @@ Patch52: gcc10-foffload-default.patch
# Some patches taken from Debian
Patch60: gcc44-textdomain.patch
Patch61: gcc44-rename-info-files.patch
# Patches for embedded newlib
Patch100: newlib-4.1.0-aligned_alloc.patch
Summary: The GNU C Compiler and Support Files
License: GPL-3.0-or-later
@ -1904,6 +1909,9 @@ Results from running the gcc and target library testsuites.
%if 0%{?nvptx_newlib:1}%{?amdgcn_newlib:1}
%setup -q -n gcc-%{version} -a 5
ln -s newlib-4.1.0/newlib .
cd newlib
%patch100 -p1
cd ..
%else
%setup -q -n gcc-%{version}
%endif
@ -2100,7 +2108,7 @@ amdgcn-amdhsa,\
%endif
%endif
--program-suffix=%{binsuffix} \
%if 0%{?disable_32bit:1}
%ifarch %{disable_multilib_arch}
--disable-multilib \
%endif
%if 0%{!?gcc_target_arch:1}
@ -2189,7 +2197,7 @@ amdgcn-amdhsa,\
%endif
%if "%{TARGET_ARCH}" == "armv7hl"
--with-arch=armv7-a \
--with-tune=cortex-a15 \
--with-tune=generic-armv7-a \
--with-float=hard \
--with-abi=aapcs-linux \
--with-fpu=vfpv3-d16 \
@ -2243,8 +2251,10 @@ amdgcn-amdhsa,\
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "x86_64"
%ifnarch %{disable_multilib_arch}
--enable-multilib \
--with-arch-32=x86-64 \
%endif
--with-tune=generic \
%endif
%if "%{TARGET_ARCH}" == "s390"

View File

@ -0,0 +1,10 @@
--- newlib/libc/stdlib/aligned_alloc.c.orig 2021-06-10 12:01:10.692582985 +0200
+++ newlib/libc/stdlib/aligned_alloc.c 2021-06-10 12:01:20.960708060 +0200
@@ -28,6 +28,7 @@
#include <reent.h>
#include <stdlib.h>
+#include <malloc.h>
void *
aligned_alloc (size_t align, size_t size)