- Enable the full cross compiler, cross-aarch64-gcc11 and

cross-riscv64-gcc11 now provide a fully hosted C (and C++)
  cross compiler, not just a freestanding one.  I.e. with a cross
  glibc.  They don't yet support the sanitizer libraries.
  Part of [jsc#OBS-124].

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/gcc11?expand=0&rev=369
This commit is contained in:
Michael Matz 2021-09-20 17:20:17 +00:00 committed by Git OBS Bridge
parent 51aa563c5c
commit 6648aafc76
61 changed files with 774 additions and 64 deletions

View File

@ -98,8 +98,8 @@ add_glibc_cross() {
#
# For now keep the old way of doing things
if test "$do_crosses" = 1 ; then
add_cross cross-aarch64-gcc$base_ver-bootstrap aarch64 aarch64-suse-linux "%define gcc_libc_bootstrap 1"
add_cross cross-aarch64-gcc$base_ver aarch64 aarch64-suse-linux %define gcc_icecream 1
add_glibc_cross cross-aarch64-gcc$base_ver aarch64 aarch64-suse-linux
add_glibc_cross cross-riscv64-gcc$base_ver riscv64 riscv64-suse-linux
add_cross cross-arm-gcc$base_ver arm arm-suse-linux-gnueabi %define gcc_icecream 1
add_cross cross-avr-gcc$base_ver-bootstrap avr avr "%define gcc_libc_bootstrap 1"
add_cross cross-avr-gcc$base_ver avr avr
@ -113,8 +113,6 @@ add_cross cross-ppc64le-gcc$base_ver ppc64le powerpc64le-suse-linux %define gcc_
add_cross cross-m68k-gcc$base_ver m68k m68k-suse-linux %define gcc_icecream 1
add_cross cross-mips-gcc$base_ver mips mips-suse-linux %define gcc_icecream 1
add_cross cross-hppa-gcc$base_ver hppa hppa-suse-linux %define gcc_icecream 1
add_cross cross-riscv64-gcc$base_ver-bootstrap riscv64 riscv64-suse-linux "%define gcc_libc_bootstrap 1"
add_cross cross-riscv64-gcc$base_ver riscv64 riscv64-suse-linux %define gcc_icecream 1
add_newlib_cross cross-arm-none-gcc$base_ver arm-none arm-none-eabi
add_newlib_cross cross-epiphany-gcc$base_ver epiphany epiphany-elf
#add_newlib_cross cross-nds32le-gcc$base_ver nds32le nds32le-elf

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -19,7 +19,7 @@
%define pkgname cross-aarch64-gcc11
%define cross_arch aarch64
%define gcc_target_arch aarch64-suse-linux
%define gcc_icecream 1
%define gcc_target_glibc 1
# nospeccleaner
# In the staging/ring projects, we don't want to build the unneeded
@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -252,7 +252,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -430,6 +430,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -692,8 +699,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -252,7 +252,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -430,6 +430,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -692,8 +699,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -252,7 +252,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64
%endif
%define _binary_payload w.ufdio
@ -430,6 +430,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -692,8 +699,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -19,7 +19,7 @@
%define pkgname cross-riscv64-gcc11
%define cross_arch riscv64
%define gcc_target_arch riscv64-suse-linux
%define gcc_icecream 1
%define gcc_target_glibc 1
# nospeccleaner
# In the staging/ring projects, we don't want to build the unneeded
@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -252,7 +252,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -430,6 +430,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -692,8 +699,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -251,7 +251,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio
@ -429,6 +429,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -691,8 +698,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
%if 0%{!?gcc_icecream:1}
make %{?_smp_mflags}

View File

@ -159,7 +159,7 @@ ExclusiveArch: do-not-build
%define amdgcn_newlib 1
%endif
%endif
%if 0%{?gcc_icecream:1}
%if 0%{?gcc_icecream:1}%{?gcc_target_glibc:1}%{?gcc_libc_bootstrap:1}
ExclusiveArch: ppc64le ppc64 x86_64 s390x aarch64 riscv64
%endif
%define _binary_payload w.ufdio

View File

@ -1280,6 +1280,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -1542,8 +1549,17 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
# BUILD-COMMON-END

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -620,6 +620,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -882,8 +889,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
STAGE1_FLAGS="-g -O2"
%if 0%{?do_profiling} && !0%{?building_testsuite:1}

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Sep 20 17:15:19 UTC 2021 - Michael Matz <matz@suse.com>
- Enable the full cross compiler, cross-aarch64-gcc11 and
cross-riscv64-gcc11 now provide a fully hosted C (and C++)
cross compiler, not just a freestanding one. I.e. with a cross
glibc. They don't yet support the sanitizer libraries.
Part of [jsc#OBS-124].
-------------------------------------------------------------------
Wed Aug 18 15:07:05 UTC 2021 - Andreas Schwab <schwab@suse.de>

View File

@ -2076,6 +2076,13 @@ cp -a /usr/bin/g++%{hostsuffix} host-tools/bin/g++
ln -sf /usr/%{_lib} host-tools/%{_lib}
export PATH="`pwd`/host-tools/bin:$PATH"
%endif
# libsanitizer needs <crypt.h> and since the glibc/libxcrypt split
# we don't have that yet in a pure cross environment
%if 0%{?gcc_target_arch:1}
CONFARGS="$CONFARGS --disable-libsanitizer"
%endif
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" XCFLAGS="$RPM_OPT_FLAGS" \
TCFLAGS="$RPM_OPT_FLAGS" \
../configure \
@ -2338,8 +2345,16 @@ amdgcn-amdhsa,\
%ifarch riscv64
--enable-link-mutex \
%endif
$CONFARGS \
--build=%{GCCDIST} \
--host=%{GCCDIST}
--host=%{GCCDIST} || \
{
rc=$?;
echo "------- BEGIN config.log ------";
%{__cat} config.log;
echo "------- END config.log ------";
exit $rc;
}
STAGE1_FLAGS="-g -O2"
%if 0%{?do_profiling} && !0%{?building_testsuite:1}