diff --git a/change_spec b/change_spec index 0b93f29..b44fe64 100644 --- a/change_spec +++ b/change_spec @@ -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 diff --git a/cross-aarch64-gcc11-bootstrap.changes b/cross-aarch64-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-aarch64-gcc11-bootstrap.changes +++ b/cross-aarch64-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-aarch64-gcc11-bootstrap.spec b/cross-aarch64-gcc11-bootstrap.spec index d589a32..41cfcc4 100644 --- a/cross-aarch64-gcc11-bootstrap.spec +++ b/cross-aarch64-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-aarch64-gcc11.changes b/cross-aarch64-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-aarch64-gcc11.changes +++ b/cross-aarch64-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-aarch64-gcc11.spec b/cross-aarch64-gcc11.spec index 2e675fb..ef6d53b 100644 --- a/cross-aarch64-gcc11.spec +++ b/cross-aarch64-gcc11.spec @@ -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 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} diff --git a/cross-amdgcn-gcc11.changes b/cross-amdgcn-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-amdgcn-gcc11.changes +++ b/cross-amdgcn-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-amdgcn-gcc11.spec b/cross-amdgcn-gcc11.spec index 9ffb611..3c228bd 100644 --- a/cross-amdgcn-gcc11.spec +++ b/cross-amdgcn-gcc11.spec @@ -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 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} diff --git a/cross-arm-gcc11.changes b/cross-arm-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-arm-gcc11.changes +++ b/cross-arm-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-arm-gcc11.spec b/cross-arm-gcc11.spec index 15996fb..0601216 100644 --- a/cross-arm-gcc11.spec +++ b/cross-arm-gcc11.spec @@ -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 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} diff --git a/cross-arm-none-gcc11-bootstrap.changes b/cross-arm-none-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-arm-none-gcc11-bootstrap.changes +++ b/cross-arm-none-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-arm-none-gcc11-bootstrap.spec b/cross-arm-none-gcc11-bootstrap.spec index c1b5835..b57a2d5 100644 --- a/cross-arm-none-gcc11-bootstrap.spec +++ b/cross-arm-none-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-arm-none-gcc11.changes b/cross-arm-none-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-arm-none-gcc11.changes +++ b/cross-arm-none-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-arm-none-gcc11.spec b/cross-arm-none-gcc11.spec index 7e212c3..905ba2b 100644 --- a/cross-arm-none-gcc11.spec +++ b/cross-arm-none-gcc11.spec @@ -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 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} diff --git a/cross-avr-gcc11-bootstrap.changes b/cross-avr-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-avr-gcc11-bootstrap.changes +++ b/cross-avr-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-avr-gcc11-bootstrap.spec b/cross-avr-gcc11-bootstrap.spec index 71f5f59..f9bc20c 100644 --- a/cross-avr-gcc11-bootstrap.spec +++ b/cross-avr-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-avr-gcc11.changes b/cross-avr-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-avr-gcc11.changes +++ b/cross-avr-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-avr-gcc11.spec b/cross-avr-gcc11.spec index 7b43abf..c382cd7 100644 --- a/cross-avr-gcc11.spec +++ b/cross-avr-gcc11.spec @@ -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 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} diff --git a/cross-epiphany-gcc11-bootstrap.changes b/cross-epiphany-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-epiphany-gcc11-bootstrap.changes +++ b/cross-epiphany-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-epiphany-gcc11-bootstrap.spec b/cross-epiphany-gcc11-bootstrap.spec index ecd01d4..5e41c37 100644 --- a/cross-epiphany-gcc11-bootstrap.spec +++ b/cross-epiphany-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-epiphany-gcc11.changes b/cross-epiphany-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-epiphany-gcc11.changes +++ b/cross-epiphany-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-epiphany-gcc11.spec b/cross-epiphany-gcc11.spec index c54bb4a..ff94b2d 100644 --- a/cross-epiphany-gcc11.spec +++ b/cross-epiphany-gcc11.spec @@ -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 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} diff --git a/cross-hppa-gcc11.changes b/cross-hppa-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-hppa-gcc11.changes +++ b/cross-hppa-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-hppa-gcc11.spec b/cross-hppa-gcc11.spec index 01a2c8d..96b13ea 100644 --- a/cross-hppa-gcc11.spec +++ b/cross-hppa-gcc11.spec @@ -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 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} diff --git a/cross-i386-gcc11.changes b/cross-i386-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-i386-gcc11.changes +++ b/cross-i386-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-i386-gcc11.spec b/cross-i386-gcc11.spec index 028fae4..b56b895 100644 --- a/cross-i386-gcc11.spec +++ b/cross-i386-gcc11.spec @@ -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 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} diff --git a/cross-m68k-gcc11.changes b/cross-m68k-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-m68k-gcc11.changes +++ b/cross-m68k-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-m68k-gcc11.spec b/cross-m68k-gcc11.spec index f06e1d2..8cc088d 100644 --- a/cross-m68k-gcc11.spec +++ b/cross-m68k-gcc11.spec @@ -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 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} diff --git a/cross-mips-gcc11.changes b/cross-mips-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-mips-gcc11.changes +++ b/cross-mips-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-mips-gcc11.spec b/cross-mips-gcc11.spec index b3cebdf..b7eb0fe 100644 --- a/cross-mips-gcc11.spec +++ b/cross-mips-gcc11.spec @@ -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 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} diff --git a/cross-nvptx-gcc11.changes b/cross-nvptx-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-nvptx-gcc11.changes +++ b/cross-nvptx-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-nvptx-gcc11.spec b/cross-nvptx-gcc11.spec index 5fd68bc..3423405 100644 --- a/cross-nvptx-gcc11.spec +++ b/cross-nvptx-gcc11.spec @@ -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 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} diff --git a/cross-ppc64-gcc11.changes b/cross-ppc64-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-ppc64-gcc11.changes +++ b/cross-ppc64-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-ppc64-gcc11.spec b/cross-ppc64-gcc11.spec index fd47978..e680509 100644 --- a/cross-ppc64-gcc11.spec +++ b/cross-ppc64-gcc11.spec @@ -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 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} diff --git a/cross-ppc64le-gcc11.changes b/cross-ppc64le-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-ppc64le-gcc11.changes +++ b/cross-ppc64le-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-ppc64le-gcc11.spec b/cross-ppc64le-gcc11.spec index cf4afb4..0ae7b19 100644 --- a/cross-ppc64le-gcc11.spec +++ b/cross-ppc64le-gcc11.spec @@ -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 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} diff --git a/cross-riscv64-elf-gcc11-bootstrap.changes b/cross-riscv64-elf-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.changes +++ b/cross-riscv64-elf-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-riscv64-elf-gcc11-bootstrap.spec b/cross-riscv64-elf-gcc11-bootstrap.spec index 194f0c2..788d201 100644 --- a/cross-riscv64-elf-gcc11-bootstrap.spec +++ b/cross-riscv64-elf-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-riscv64-elf-gcc11.changes b/cross-riscv64-elf-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-riscv64-elf-gcc11.changes +++ b/cross-riscv64-elf-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-riscv64-elf-gcc11.spec b/cross-riscv64-elf-gcc11.spec index ea0feee..79f9708 100644 --- a/cross-riscv64-elf-gcc11.spec +++ b/cross-riscv64-elf-gcc11.spec @@ -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 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} diff --git a/cross-riscv64-gcc11-bootstrap.changes b/cross-riscv64-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-riscv64-gcc11-bootstrap.changes +++ b/cross-riscv64-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-riscv64-gcc11-bootstrap.spec b/cross-riscv64-gcc11-bootstrap.spec index bdb7c7e..11085cc 100644 --- a/cross-riscv64-gcc11-bootstrap.spec +++ b/cross-riscv64-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-riscv64-gcc11.changes b/cross-riscv64-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-riscv64-gcc11.changes +++ b/cross-riscv64-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-riscv64-gcc11.spec b/cross-riscv64-gcc11.spec index deb1efc..d54259b 100644 --- a/cross-riscv64-gcc11.spec +++ b/cross-riscv64-gcc11.spec @@ -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 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} diff --git a/cross-rx-gcc11-bootstrap.changes b/cross-rx-gcc11-bootstrap.changes index 3e02896..25bf85d 100644 --- a/cross-rx-gcc11-bootstrap.changes +++ b/cross-rx-gcc11-bootstrap.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-rx-gcc11-bootstrap.spec b/cross-rx-gcc11-bootstrap.spec index 0e564e0..0219bbf 100644 --- a/cross-rx-gcc11-bootstrap.spec +++ b/cross-rx-gcc11-bootstrap.spec @@ -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 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} diff --git a/cross-rx-gcc11.changes b/cross-rx-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-rx-gcc11.changes +++ b/cross-rx-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-rx-gcc11.spec b/cross-rx-gcc11.spec index a49c771..9ae4c45 100644 --- a/cross-rx-gcc11.spec +++ b/cross-rx-gcc11.spec @@ -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 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} diff --git a/cross-s390x-gcc11.changes b/cross-s390x-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-s390x-gcc11.changes +++ b/cross-s390x-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-s390x-gcc11.spec b/cross-s390x-gcc11.spec index f91d77c..ce65f7b 100644 --- a/cross-s390x-gcc11.spec +++ b/cross-s390x-gcc11.spec @@ -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 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} diff --git a/cross-sparc-gcc11.changes b/cross-sparc-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-sparc-gcc11.changes +++ b/cross-sparc-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-sparc-gcc11.spec b/cross-sparc-gcc11.spec index 43b3d40..cb14206 100644 --- a/cross-sparc-gcc11.spec +++ b/cross-sparc-gcc11.spec @@ -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 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} diff --git a/cross-sparc64-gcc11.changes b/cross-sparc64-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-sparc64-gcc11.changes +++ b/cross-sparc64-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-sparc64-gcc11.spec b/cross-sparc64-gcc11.spec index a73674d..0059193 100644 --- a/cross-sparc64-gcc11.spec +++ b/cross-sparc64-gcc11.spec @@ -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 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} diff --git a/cross-x86_64-gcc11.changes b/cross-x86_64-gcc11.changes index 3e02896..25bf85d 100644 --- a/cross-x86_64-gcc11.changes +++ b/cross-x86_64-gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/cross-x86_64-gcc11.spec b/cross-x86_64-gcc11.spec index 5a1165c..989eb57 100644 --- a/cross-x86_64-gcc11.spec +++ b/cross-x86_64-gcc11.spec @@ -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 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} diff --git a/cross.spec.in b/cross.spec.in index e318358..e465c62 100644 --- a/cross.spec.in +++ b/cross.spec.in @@ -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 diff --git a/gcc.spec.in b/gcc.spec.in index 9bc94e1..534a8f2 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -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 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 diff --git a/gcc11-testresults.changes b/gcc11-testresults.changes index 3e02896..25bf85d 100644 --- a/gcc11-testresults.changes +++ b/gcc11-testresults.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/gcc11-testresults.spec b/gcc11-testresults.spec index 3a34c40..967868b 100644 --- a/gcc11-testresults.spec +++ b/gcc11-testresults.spec @@ -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 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} diff --git a/gcc11.changes b/gcc11.changes index 3e02896..25bf85d 100644 --- a/gcc11.changes +++ b/gcc11.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon Sep 20 17:15:19 UTC 2021 - Michael Matz + +- 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 diff --git a/gcc11.spec b/gcc11.spec index 4e2e8eb..03aa5cf 100644 --- a/gcc11.spec +++ b/gcc11.spec @@ -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 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}