- Add newlib-4.1.0-aligned_alloc.patch to fix nvptx cross build

fail.  [bsc#1187153]

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=352
This commit is contained in:
Richard Biener 2021-06-11 06:10:00 +00:00 committed by Git OBS Bridge
parent c7ac571be3
commit d931a8b8ae
56 changed files with 312 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -147,6 +147,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
@ -296,6 +298,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -147,6 +147,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
@ -296,6 +298,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -147,6 +147,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
@ -296,6 +298,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -147,6 +147,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
@ -296,6 +298,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -146,6 +146,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 +297,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

View File

@ -366,6 +366,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 +1147,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -380,6 +380,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 +487,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

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
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>

View File

@ -362,6 +362,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 +1906,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

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)