diff --git a/cross-aarch64-gcc12-bootstrap.spec b/cross-aarch64-gcc12-bootstrap.spec index d41332e..f76bfc6 100644 --- a/cross-aarch64-gcc12-bootstrap.spec +++ b/cross-aarch64-gcc12-bootstrap.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-aarch64-gcc12.spec b/cross-aarch64-gcc12.spec index 880d8e4..fd8e195 100644 --- a/cross-aarch64-gcc12.spec +++ b/cross-aarch64-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-amdgcn-gcc12.spec b/cross-amdgcn-gcc12.spec index a6bffe5..12de6ea 100644 --- a/cross-amdgcn-gcc12.spec +++ b/cross-amdgcn-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-arm-gcc12.spec b/cross-arm-gcc12.spec index 8af873e..19275b5 100644 --- a/cross-arm-gcc12.spec +++ b/cross-arm-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-arm-none-gcc12-bootstrap.spec b/cross-arm-none-gcc12-bootstrap.spec index ab6f379..968f55a 100644 --- a/cross-arm-none-gcc12-bootstrap.spec +++ b/cross-arm-none-gcc12-bootstrap.spec @@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-arm-none-gcc12.spec b/cross-arm-none-gcc12.spec index bd1460f..1907a44 100644 --- a/cross-arm-none-gcc12.spec +++ b/cross-arm-none-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-avr-gcc12-bootstrap.spec b/cross-avr-gcc12-bootstrap.spec index d0c9eee..48b3647 100644 --- a/cross-avr-gcc12-bootstrap.spec +++ b/cross-avr-gcc12-bootstrap.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-avr-gcc12.spec b/cross-avr-gcc12.spec index c719f8c..d797ae8 100644 --- a/cross-avr-gcc12.spec +++ b/cross-avr-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-epiphany-gcc12-bootstrap.spec b/cross-epiphany-gcc12-bootstrap.spec index ab9b812..10b0794 100644 --- a/cross-epiphany-gcc12-bootstrap.spec +++ b/cross-epiphany-gcc12-bootstrap.spec @@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-epiphany-gcc12.spec b/cross-epiphany-gcc12.spec index 52a6433..5dd171a 100644 --- a/cross-epiphany-gcc12.spec +++ b/cross-epiphany-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-hppa-gcc12.spec b/cross-hppa-gcc12.spec index a71223c..61bf484 100644 --- a/cross-hppa-gcc12.spec +++ b/cross-hppa-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-m68k-gcc12.spec b/cross-m68k-gcc12.spec index f9c83a9..b1d89c9 100644 --- a/cross-m68k-gcc12.spec +++ b/cross-m68k-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-mips-gcc12.spec b/cross-mips-gcc12.spec index 3e4712e..bd5d04e 100644 --- a/cross-mips-gcc12.spec +++ b/cross-mips-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-nvptx-gcc12.spec b/cross-nvptx-gcc12.spec index 0dfe86e..3068a1b 100644 --- a/cross-nvptx-gcc12.spec +++ b/cross-nvptx-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-ppc64-gcc12.spec b/cross-ppc64-gcc12.spec index 8732074..b89c6ea 100644 --- a/cross-ppc64-gcc12.spec +++ b/cross-ppc64-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-ppc64le-gcc12.spec b/cross-ppc64le-gcc12.spec index 1989a66..e326b4e 100644 --- a/cross-ppc64le-gcc12.spec +++ b/cross-ppc64le-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-riscv64-elf-gcc12-bootstrap.spec b/cross-riscv64-elf-gcc12-bootstrap.spec index 10b9516..431fc26 100644 --- a/cross-riscv64-elf-gcc12-bootstrap.spec +++ b/cross-riscv64-elf-gcc12-bootstrap.spec @@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-riscv64-elf-gcc12.spec b/cross-riscv64-elf-gcc12.spec index 4f3ac9f..43f06fd 100644 --- a/cross-riscv64-elf-gcc12.spec +++ b/cross-riscv64-elf-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-riscv64-gcc12-bootstrap.spec b/cross-riscv64-gcc12-bootstrap.spec index 4d83647..3cadbb4 100644 --- a/cross-riscv64-gcc12-bootstrap.spec +++ b/cross-riscv64-gcc12-bootstrap.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-riscv64-gcc12.spec b/cross-riscv64-gcc12.spec index ff7b6ef..012948e 100644 --- a/cross-riscv64-gcc12.spec +++ b/cross-riscv64-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-rx-gcc12-bootstrap.spec b/cross-rx-gcc12-bootstrap.spec index 9ab5162..093caf7 100644 --- a/cross-rx-gcc12-bootstrap.spec +++ b/cross-rx-gcc12-bootstrap.spec @@ -437,6 +437,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-rx-gcc12.spec b/cross-rx-gcc12.spec index 6c47cbc..e3cd248 100644 --- a/cross-rx-gcc12.spec +++ b/cross-rx-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-s390x-gcc12.spec b/cross-s390x-gcc12.spec index 392a500..cdd8076 100644 --- a/cross-s390x-gcc12.spec +++ b/cross-s390x-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-sparc-gcc12.spec b/cross-sparc-gcc12.spec index 438c26c..72515a3 100644 --- a/cross-sparc-gcc12.spec +++ b/cross-sparc-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-sparc64-gcc12.spec b/cross-sparc64-gcc12.spec index 6ca0ad1..499f218 100644 --- a/cross-sparc64-gcc12.spec +++ b/cross-sparc64-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/cross-x86_64-gcc12.spec b/cross-x86_64-gcc12.spec index 8aa162b..c1a975c 100644 --- a/cross-x86_64-gcc12.spec +++ b/cross-x86_64-gcc12.spec @@ -436,6 +436,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/gcc.spec.in b/gcc.spec.in index add1ada..bf03479 100644 --- a/gcc.spec.in +++ b/gcc.spec.in @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:818e9a2f8e738759d016697f4764b98d411d071a80ed0e9c9482621c46fed57c -size 86085 +oid sha256:9ec555211158c3e2689ae470e5467832e69713eb4163f6b8d9888d8ebc6329e8 +size 86228 diff --git a/gcc12-testresults.spec b/gcc12-testresults.spec index b9ce65f..aedd694 100644 --- a/gcc12-testresults.spec +++ b/gcc12-testresults.spec @@ -260,6 +260,7 @@ BuildRequires: gcc-ada %if %{build_d} %if %{suse_version} < 1550 BuildRequires: gcc11-d +BuildRequires: libstdc++6-devel-gcc11 %else BuildRequires: gcc-d %endif @@ -626,6 +627,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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} diff --git a/gcc12.spec b/gcc12.spec index fe9cb07..783bcb0 100644 --- a/gcc12.spec +++ b/gcc12.spec @@ -242,6 +242,7 @@ BuildRequires: gcc-ada %if %{build_d} %if %{suse_version} < 1550 BuildRequires: gcc11-d +BuildRequires: libstdc++6-devel-gcc11 %else BuildRequires: gcc-d %endif @@ -2046,6 +2047,11 @@ ln -sf /usr/%{_lib} host-tools/%{_lib} export PATH="`pwd`/host-tools/bin:$PATH" %endif +%if %{build_d} && %{suse_version} < 1550 +# We are using gcc11-d to bootstrap d +export GDC=gdc-11 +%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}