diff --git a/_multibuild b/_multibuild
index f14e6d7..dc1ba9b 100644
--- a/_multibuild
+++ b/_multibuild
@@ -7,6 +7,8 @@
cross-arm-gcc13
cross-avr-gcc13-bootstrap
cross-avr-gcc13
+cross-pru-gcc13-bootstrap
+cross-pru-gcc13
cross-x86_64-gcc13
cross-s390x-gcc13
cross-sparc-gcc13
@@ -21,8 +23,6 @@
cross-arm-none-gcc13
cross-epiphany-gcc13-bootstrap
cross-epiphany-gcc13
-cross-pru-gcc13-bootstrap
-cross-pru-gcc13
cross-riscv64-elf-gcc13-bootstrap
cross-riscv64-elf-gcc13
cross-rx-gcc13-bootstrap
diff --git a/change_spec b/change_spec
index c402278..b89d151 100644
--- a/change_spec
+++ b/change_spec
@@ -103,6 +103,7 @@ 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
+add_newlib_cross cross-pru-gcc$base_ver pru pru
add_cross cross-x86_64-gcc$base_ver x86_64 x86_64-suse-linux %define gcc_icecream 1
add_cross cross-s390x-gcc$base_ver s390x s390x-suse-linux %define gcc_icecream 1
add_cross cross-sparc-gcc$base_ver sparcv9 sparc-suse-linux %define gcc_icecream 1
@@ -115,7 +116,6 @@ add_cross cross-hppa-gcc$base_ver-bootstrap hppa hppa-suse-linux %define gcc_lib
add_cross cross-hppa-gcc$base_ver hppa hppa-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-pru-gcc$base_ver pru pru
#add_newlib_cross cross-nds32le-gcc$base_ver nds32le nds32le-elf
add_newlib_cross cross-riscv64-elf-gcc$base_ver riscv64 riscv64-elf
#add_newlib_cross cross-rl78-gcc$base_ver rl78 rl78-elf
diff --git a/cross-aarch64-gcc13-bootstrap.spec b/cross-aarch64-gcc13-bootstrap.spec
index 849c53e..bb72f16 100644
--- a/cross-aarch64-gcc13-bootstrap.spec
+++ b/cross-aarch64-gcc13-bootstrap.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-aarch64-gcc13.spec b/cross-aarch64-gcc13.spec
index 523f718..826d79a 100644
--- a/cross-aarch64-gcc13.spec
+++ b/cross-aarch64-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-amdgcn-gcc13.spec b/cross-amdgcn-gcc13.spec
index f473f5d..02211a4 100644
--- a/cross-amdgcn-gcc13.spec
+++ b/cross-amdgcn-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-arm-gcc13.spec b/cross-arm-gcc13.spec
index 03717c6..5cc1dbc 100644
--- a/cross-arm-gcc13.spec
+++ b/cross-arm-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-arm-none-gcc13-bootstrap.spec b/cross-arm-none-gcc13-bootstrap.spec
index a639c52..df6482d 100644
--- a/cross-arm-none-gcc13-bootstrap.spec
+++ b/cross-arm-none-gcc13-bootstrap.spec
@@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-arm-none-gcc13.spec b/cross-arm-none-gcc13.spec
index cb54cc0..a0403a6 100644
--- a/cross-arm-none-gcc13.spec
+++ b/cross-arm-none-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-avr-gcc13-bootstrap.spec b/cross-avr-gcc13-bootstrap.spec
index 5ec6f80..12fc01a 100644
--- a/cross-avr-gcc13-bootstrap.spec
+++ b/cross-avr-gcc13-bootstrap.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-avr-gcc13.spec b/cross-avr-gcc13.spec
index 9cefa60..881d200 100644
--- a/cross-avr-gcc13.spec
+++ b/cross-avr-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-epiphany-gcc13-bootstrap.spec b/cross-epiphany-gcc13-bootstrap.spec
index 651bd3e..9b87ed9 100644
--- a/cross-epiphany-gcc13-bootstrap.spec
+++ b/cross-epiphany-gcc13-bootstrap.spec
@@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-epiphany-gcc13.spec b/cross-epiphany-gcc13.spec
index ae90c2a..b301b33 100644
--- a/cross-epiphany-gcc13.spec
+++ b/cross-epiphany-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-hppa-gcc13-bootstrap.spec b/cross-hppa-gcc13-bootstrap.spec
index d9d3156..bb4ae65 100644
--- a/cross-hppa-gcc13-bootstrap.spec
+++ b/cross-hppa-gcc13-bootstrap.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-hppa-gcc13.spec b/cross-hppa-gcc13.spec
index a2efb3d..f43b144 100644
--- a/cross-hppa-gcc13.spec
+++ b/cross-hppa-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-m68k-gcc13.spec b/cross-m68k-gcc13.spec
index 2260cc3..38e92ad 100644
--- a/cross-m68k-gcc13.spec
+++ b/cross-m68k-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-mips-gcc13.spec b/cross-mips-gcc13.spec
index 8cc3300..26fcc8e 100644
--- a/cross-mips-gcc13.spec
+++ b/cross-mips-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-nvptx-gcc13.spec b/cross-nvptx-gcc13.spec
index 07360b0..917a1ed 100644
--- a/cross-nvptx-gcc13.spec
+++ b/cross-nvptx-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-ppc64-gcc13.spec b/cross-ppc64-gcc13.spec
index 54804a4..af93d54 100644
--- a/cross-ppc64-gcc13.spec
+++ b/cross-ppc64-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-ppc64le-gcc13.spec b/cross-ppc64le-gcc13.spec
index d2291f7..a4ab90d 100644
--- a/cross-ppc64le-gcc13.spec
+++ b/cross-ppc64le-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-pru-gcc13-bootstrap.spec b/cross-pru-gcc13-bootstrap.spec
index fc58132..fac47ff 100644
--- a/cross-pru-gcc13-bootstrap.spec
+++ b/cross-pru-gcc13-bootstrap.spec
@@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-pru-gcc13.spec b/cross-pru-gcc13.spec
index e32a672..0d7cc38 100644
--- a/cross-pru-gcc13.spec
+++ b/cross-pru-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-riscv64-elf-gcc13-bootstrap.spec b/cross-riscv64-elf-gcc13-bootstrap.spec
index 33b16de..9d29d1a 100644
--- a/cross-riscv64-elf-gcc13-bootstrap.spec
+++ b/cross-riscv64-elf-gcc13-bootstrap.spec
@@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-riscv64-elf-gcc13.spec b/cross-riscv64-elf-gcc13.spec
index a9c6875..acc6de1 100644
--- a/cross-riscv64-elf-gcc13.spec
+++ b/cross-riscv64-elf-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-riscv64-gcc13-bootstrap.spec b/cross-riscv64-gcc13-bootstrap.spec
index e3dc255..67f7f1d 100644
--- a/cross-riscv64-gcc13-bootstrap.spec
+++ b/cross-riscv64-gcc13-bootstrap.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-riscv64-gcc13.spec b/cross-riscv64-gcc13.spec
index 2229227..6d399eb 100644
--- a/cross-riscv64-gcc13.spec
+++ b/cross-riscv64-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-rx-gcc13-bootstrap.spec b/cross-rx-gcc13-bootstrap.spec
index 793aaf9..a4b4b8e 100644
--- a/cross-rx-gcc13-bootstrap.spec
+++ b/cross-rx-gcc13-bootstrap.spec
@@ -38,6 +38,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -102,7 +104,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -394,6 +396,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-rx-gcc13.spec b/cross-rx-gcc13.spec
index 5bd09dd..62dd50a 100644
--- a/cross-rx-gcc13.spec
+++ b/cross-rx-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-s390x-gcc13.spec b/cross-s390x-gcc13.spec
index 4c935a2..29cf060 100644
--- a/cross-s390x-gcc13.spec
+++ b/cross-s390x-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-sparc-gcc13.spec b/cross-sparc-gcc13.spec
index 159d856..ac2a54c 100644
--- a/cross-sparc-gcc13.spec
+++ b/cross-sparc-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-sparc64-gcc13.spec b/cross-sparc64-gcc13.spec
index 9f126b7..64b9c0d 100644
--- a/cross-sparc64-gcc13.spec
+++ b/cross-sparc64-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross-x86_64-gcc13.spec b/cross-x86_64-gcc13.spec
index 5539587..d021e9f 100644
--- a/cross-x86_64-gcc13.spec
+++ b/cross-x86_64-gcc13.spec
@@ -37,6 +37,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
@@ -101,7 +103,7 @@ Name: %{pkgname}
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -393,6 +395,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/cross.spec.in b/cross.spec.in
index dec0cc0..4939abd 100644
--- a/cross.spec.in
+++ b/cross.spec.in
@@ -15,6 +15,8 @@
%define build_nvptx 0
%define build_gcn 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%define enable_plugins 0
%define build_jit 0
diff --git a/gcc-13.0.1+git5254.tar.xz b/gcc-13.0.1+git5254.tar.xz
deleted file mode 100644
index f9c4120..0000000
--- a/gcc-13.0.1+git5254.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:5975247c0829349d4b3f579de1e896a0ad9cf627eaca0faf24785876a96df6cc
-size 86030880
diff --git a/gcc-13.0.1+git5428.tar.xz b/gcc-13.0.1+git5428.tar.xz
new file mode 100644
index 0000000..fa67f80
--- /dev/null
+++ b/gcc-13.0.1+git5428.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ffe7a4d399d15dc57244891922ece468536a5e4dcd0edc18e38d6d7d595e198f
+size 85837588
diff --git a/gcc.spec.in b/gcc.spec.in
index 5bfdda3..a95d439 100644
--- a/gcc.spec.in
+++ b/gcc.spec.in
@@ -71,16 +71,26 @@
%define build_d 0
%endif
+%define build_m2 1
+
%if %{build_objcp}
%define build_cp 1
%define build_objc 1
%endif
+%ifarch %ix86 x86_64 aarch64
+%define build_rust 1
+%else
+%define build_rust 0
+%endif
+
# For optional compilers only build C, C++, Fortran, Ada and Go
%if 0%{?build_optional_compiler_languages:1}
%define build_objc 0
%define build_objcp 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%endif
%ifarch x86_64
@@ -144,6 +154,7 @@
%define libgphobos_sover 4
%define libgdruntime_sover 4
%define libgccjit_sover 0
+%define libm2_sover 18
# Shared library package suffix
# This is used for the "non-standard" set of libraries, the standard
@@ -177,6 +188,7 @@
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
+%define libm2_suffix %{plv libm2 %{libm2_sover}}
# libFOO-devel package suffix
@@ -193,7 +205,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 1
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -387,7 +399,8 @@ Core package for the GNU Compiler Collection, including the C language
frontend.
Language frontends other than C are split to different sub-packages,
-namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
+namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++, gcc-go,
+gcc-rust and gcc-m2.
@@ -1065,6 +1078,134 @@ Requires: libgccjit%{libgccjit_sover}%{libgccjit_suffix}
%description -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
Package contains header files and documentation for GCC JIT front-end.
+
+# PACKAGE-BEGIN
+%package rust@variant@
+Summary: GNU Rust Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc@base_ver@@variant@ = %{version}-%{release}
+Requires: gcc@base_ver@-rust = %{version}-%{release}
+
+%description rust@variant@
+This package contains a Rust compiler.
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package m2@variant@
+Summary: GNU Modula-2 Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc@base_ver@@variant@ = %{version}-%{release}
+Requires: gcc@base_ver@-m2 = %{version}-%{release}
+Requires: libm2log%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2cor%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2iso%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2pim%{libm2_sover}@variant@ >= %{version}-%{release}
+Requires: libm2min%{libm2_sover}@variant@ >= %{version}-%{release}
+
+
+%description m2@variant@
+This package contains a Modula-2 compiler.
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2log%{libm2_sover}%{libm2_suffix}@variant@
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2log%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2log%{libm2_sover}@variant@
+
+%description -n libm2log%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2log%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2log%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2cor%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2cor%{libm2_sover}@variant@
+
+%description -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2cor%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2iso%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2iso%{libm2_sover}@variant@
+
+%description -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2iso%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2pim%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2pim%{libm2_sover}@variant@
+
+%description -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2pim%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
+# PACKAGE-BEGIN
+%package -n libm2min%{libm2_sover}%{libm2_suffix}@variant@
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2min%{libm2_sover}@variant@ = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2min%{libm2_sover}@variant@
+
+%description -n libm2min%{libm2_sover}%{libm2_suffix}@variant@
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2min%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+
+%postun -n libm2min%{libm2_sover}%{libm2_suffix}@variant@ -p /sbin/ldconfig
+# PACKAGE-END
+
+
%package -n gcc@base_ver@-testresults
# GCC-TESTSUITE-DELETE-END
Summary: Testsuite results
@@ -1270,6 +1411,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
@@ -1636,7 +1783,8 @@ for lib in libobjc libgfortran libquadmath libcaf_single \
libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \
libasan libhwasan libatomic libitm libtsan liblsan libubsan libvtv \
libstdc++fs libgomp-plugin-nvptx libgomp-plugin-gcn \
- libgdruntime libgphobos libstdc++exp; do
+ libgdruntime libgphobos libstdc++exp \
+ libm2cor libm2iso libm2log libm2min libm2pim; do
rm -f %{buildroot}/%{versmainlibdir}/$lib.la
%if %{biarch}
rm -f %{buildroot}/%{versmainlibdirbi}/$lib.la
@@ -1726,6 +1874,13 @@ for libname in \
%if %{build_gcn}
libgomp-plugin-gcn \
%endif
+%if %{build_m2}
+ libm2log \
+ libm2cor \
+ libm2iso \
+ libm2pim \
+ libm2min \
+%endif
%ifarch %atomic_arch
libatomic \
%endif
@@ -2842,6 +2997,98 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc@base_ver@-locale.lang
%{_infodir}/libgccjit.info.gz
%endif
+%if %{build_rust}
+%files rust
+%defattr(-,root,root)
+%{_prefix}/bin/gccrs%{binsuffix}
+%{libsubdir}/rust1
+%endif
+
+%if %{build_m2}
+%files m2
+%defattr(-,root,root)
+%{_prefix}/bin/gm2%{binsuffix}
+%{libsubdir}/cc1gm2
+%{versmainlibdir}/m2
+%versmainlib libm2log.a
+%versmainlib libm2log.so
+%versmainlib libm2cor.a
+%versmainlib libm2cor.so
+%versmainlib libm2iso.a
+%versmainlib libm2iso.so
+%versmainlib libm2pim.a
+%versmainlib libm2pim.so
+%versmainlib libm2min.a
+%versmainlib libm2min.so
+%doc %{_mandir}/man1/gm2%{binsuffix}.1.gz
+
+%if %{separate_biarch}
+%files m2%{separate_biarch_suffix}
+%defattr(-,root,root)
+%{versmainlibdirbi}/m2
+%versbiarchlib libm2log.a
+%versbiarchlib libm2log.so
+%versbiarchlib libm2cor.a
+%versbiarchlib libm2cor.so
+%versbiarchlib libm2iso.a
+%versbiarchlib libm2iso.so
+%versbiarchlib libm2pim.a
+%versbiarchlib libm2pim.so
+%versbiarchlib libm2min.a
+%versbiarchlib libm2min.so
+%endif
+
+%files -n libm2log%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2log.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2log%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2log.so.%{libm2_sover}*
+%endif
+
+%files -n libm2cor%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2cor.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2cor%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2cor.so.%{libm2_sover}*
+%endif
+
+%files -n libm2iso%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2iso.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2iso%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2iso.so.%{libm2_sover}*
+%endif
+
+%files -n libm2pim%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2pim.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2pim%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2pim.so.%{libm2_sover}*
+%endif
+
+%files -n libm2min%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2min.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2min%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2min.so.%{libm2_sover}*
+%endif
+%endif
+
# GCC-TESTSUITE-DELETE-END
%if 0%{?run_tests:1}
diff --git a/gcc13-testresults.spec b/gcc13-testresults.spec
index 48bde2b..5437348 100644
--- a/gcc13-testresults.spec
+++ b/gcc13-testresults.spec
@@ -91,16 +91,26 @@
%define build_d 0
%endif
+%define build_m2 1
+
%if %{build_objcp}
%define build_cp 1
%define build_objc 1
%endif
+%ifarch %ix86 x86_64 aarch64
+%define build_rust 1
+%else
+%define build_rust 0
+%endif
+
# For optional compilers only build C, C++, Fortran, Ada and Go
%if 0%{?build_optional_compiler_languages:1}
%define build_objc 0
%define build_objcp 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%endif
%ifarch x86_64
@@ -164,6 +174,7 @@
%define libgphobos_sover 4
%define libgdruntime_sover 4
%define libgccjit_sover 0
+%define libm2_sover 18
# Shared library package suffix
# This is used for the "non-standard" set of libraries, the standard
@@ -197,6 +208,7 @@
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
+%define libm2_suffix %{plv libm2 %{libm2_sover}}
# libFOO-devel package suffix
%define libdevel_suffix -gcc13
@@ -210,7 +222,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -590,6 +602,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
diff --git a/gcc13.changes b/gcc13.changes
index 9526d6c..f613f6a 100644
--- a/gcc13.changes
+++ b/gcc13.changes
@@ -1,3 +1,10 @@
+-------------------------------------------------------------------
+Fri Jan 27 10:35:15 UTC 2023 - Martin Liška
+
+- Add support for new front-ends Rust and Modula-2.
+- Align _multibuild order with gcc12 package.
+- Bump to ca8fb0096713a8477614ef874f16ba5bf16c48bc, git5428.
+
-------------------------------------------------------------------
Mon Jan 23 15:19:53 UTC 2023 - Richard Biener
diff --git a/gcc13.spec b/gcc13.spec
index c0373d7..22256cd 100644
--- a/gcc13.spec
+++ b/gcc13.spec
@@ -70,16 +70,26 @@
%define build_d 0
%endif
+%define build_m2 1
+
%if %{build_objcp}
%define build_cp 1
%define build_objc 1
%endif
+%ifarch %ix86 x86_64 aarch64
+%define build_rust 1
+%else
+%define build_rust 0
+%endif
+
# For optional compilers only build C, C++, Fortran, Ada and Go
%if 0%{?build_optional_compiler_languages:1}
%define build_objc 0
%define build_objcp 0
%define build_d 0
+%define build_rust 0
+%define build_m2 0
%endif
%ifarch x86_64
@@ -143,6 +153,7 @@
%define libgphobos_sover 4
%define libgdruntime_sover 4
%define libgccjit_sover 0
+%define libm2_sover 18
# Shared library package suffix
# This is used for the "non-standard" set of libraries, the standard
@@ -176,6 +187,7 @@
%define libgphobos_suffix %{plv libgphobos %{libgphobos_sover}}
%define libgdruntime_suffix %{plv libgdruntime %{libgdruntime_sover}}
%define libgccjit_suffix %{plv libgccjit %{libgccjit_sover}}
+%define libm2_suffix %{plv libm2 %{libm2_sover}}
# libFOO-devel package suffix
%define libdevel_suffix -gcc13
@@ -189,7 +201,7 @@
%define biarch_targets x86_64 s390x powerpc64 powerpc sparc sparc64
URL: https://gcc.gnu.org/
-Version: 13.0.1+git5254
+Version: 13.0.1+git5428
Release: 0
%define gcc_dir_version %(echo %version | sed 's/+.*//' | cut -d '.' -f 1)
%define gcc_snapshot_revision %(echo %version | sed 's/[3-9]\.[0-9]\.[0-6]//' | sed 's/+/-/')
@@ -380,7 +392,8 @@ Core package for the GNU Compiler Collection, including the C language
frontend.
Language frontends other than C are split to different sub-packages,
-namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++ and gcc-go.
+namely gcc-ada, gcc-c++, gcc-fortran, gcc-obj, gcc-obj-c++, gcc-go,
+gcc-rust and gcc-m2.
%package -n gcc13-32bit
Summary: The GNU C Compiler 32bit support
@@ -1893,6 +1906,321 @@ Requires: libgccjit%{libgccjit_sover}%{libgccjit_suffix}
%description -n libgccjit%{libgccjit_sover}-devel%{libdevel_suffix}
Package contains header files and documentation for GCC JIT front-end.
+%package rust
+Summary: GNU Rust Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc13 = %{version}-%{release}
+Requires: gcc13-rust = %{version}-%{release}
+
+%description rust
+This package contains a Rust compiler.
+
+%package rust-32bit
+Summary: GNU Rust Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc13-32bit = %{version}-%{release}
+Requires: gcc13-rust = %{version}-%{release}
+
+%description rust-32bit
+This package contains a Rust compiler.
+
+%package rust-64bit
+Summary: GNU Rust Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc13-64bit = %{version}-%{release}
+Requires: gcc13-rust = %{version}-%{release}
+
+%description rust-64bit
+This package contains a Rust compiler.
+
+%package m2
+Summary: GNU Modula-2 Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc13 = %{version}-%{release}
+Requires: gcc13-m2 = %{version}-%{release}
+Requires: libm2cor%{libm2_sover} >= %{version}-%{release}
+Requires: libm2iso%{libm2_sover} >= %{version}-%{release}
+Requires: libm2log%{libm2_sover} >= %{version}-%{release}
+Requires: libm2min%{libm2_sover} >= %{version}-%{release}
+Requires: libm2pim%{libm2_sover} >= %{version}-%{release}
+
+%description m2
+This package contains a Modula-2 compiler.
+
+%package m2-32bit
+Summary: GNU Modula-2 Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc13-32bit = %{version}-%{release}
+Requires: gcc13-m2 = %{version}-%{release}
+Requires: libm2cor%{libm2_sover}-32bit >= %{version}-%{release}
+Requires: libm2iso%{libm2_sover}-32bit >= %{version}-%{release}
+Requires: libm2log%{libm2_sover}-32bit >= %{version}-%{release}
+Requires: libm2min%{libm2_sover}-32bit >= %{version}-%{release}
+Requires: libm2pim%{libm2_sover}-32bit >= %{version}-%{release}
+
+%description m2-32bit
+This package contains a Modula-2 compiler.
+
+%package m2-64bit
+Summary: GNU Modula-2 Compiler
+License: GPL-3.0-or-later
+Group: Development/Languages/Other
+Requires: gcc13-64bit = %{version}-%{release}
+Requires: gcc13-m2 = %{version}-%{release}
+Requires: libm2cor%{libm2_sover}-64bit >= %{version}-%{release}
+Requires: libm2iso%{libm2_sover}-64bit >= %{version}-%{release}
+Requires: libm2log%{libm2_sover}-64bit >= %{version}-%{release}
+Requires: libm2min%{libm2_sover}-64bit >= %{version}-%{release}
+Requires: libm2pim%{libm2_sover}-64bit >= %{version}-%{release}
+
+%description m2-64bit
+This package contains a Modula-2 compiler.
+
+%package -n libm2log%{libm2_sover}%{libm2_suffix}
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2log%{libm2_sover} = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2log%{libm2_sover}
+
+%description -n libm2log%{libm2_sover}%{libm2_suffix}
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2log%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%postun -n libm2log%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%package -n libm2log%{libm2_sover}%{libm2_suffix}-32bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2log%{libm2_sover}-32bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2log%{libm2_sover}-32bit
+
+%description -n libm2log%{libm2_sover}%{libm2_suffix}-32bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2log%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%postun -n libm2log%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%package -n libm2log%{libm2_sover}%{libm2_suffix}-64bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2log%{libm2_sover}-64bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2log%{libm2_sover}-64bit
+
+%description -n libm2log%{libm2_sover}%{libm2_suffix}-64bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2log%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%postun -n libm2log%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%package -n libm2cor%{libm2_sover}%{libm2_suffix}
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2cor%{libm2_sover} = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2cor%{libm2_sover}
+
+%description -n libm2cor%{libm2_sover}%{libm2_suffix}
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2cor%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%postun -n libm2cor%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%package -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2cor%{libm2_sover}-32bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2cor%{libm2_sover}-32bit
+
+%description -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%postun -n libm2cor%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%package -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2cor%{libm2_sover}-64bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2cor%{libm2_sover}-64bit
+
+%description -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%postun -n libm2cor%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%package -n libm2iso%{libm2_sover}%{libm2_suffix}
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2iso%{libm2_sover} = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2iso%{libm2_sover}
+
+%description -n libm2iso%{libm2_sover}%{libm2_suffix}
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2iso%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%postun -n libm2iso%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%package -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2iso%{libm2_sover}-32bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2iso%{libm2_sover}-32bit
+
+%description -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%postun -n libm2iso%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%package -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2iso%{libm2_sover}-64bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2iso%{libm2_sover}-64bit
+
+%description -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%postun -n libm2iso%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%package -n libm2pim%{libm2_sover}%{libm2_suffix}
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2pim%{libm2_sover} = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2pim%{libm2_sover}
+
+%description -n libm2pim%{libm2_sover}%{libm2_suffix}
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2pim%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%postun -n libm2pim%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%package -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2pim%{libm2_sover}-32bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2pim%{libm2_sover}-32bit
+
+%description -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%postun -n libm2pim%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%package -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2pim%{libm2_sover}-64bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2pim%{libm2_sover}-64bit
+
+%description -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%postun -n libm2pim%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%package -n libm2min%{libm2_sover}%{libm2_suffix}
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2min%{libm2_sover} = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2min%{libm2_sover}
+
+%description -n libm2min%{libm2_sover}%{libm2_suffix}
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2min%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%postun -n libm2min%{libm2_sover}%{libm2_suffix} -p /sbin/ldconfig
+
+%package -n libm2min%{libm2_sover}%{libm2_suffix}-32bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2min%{libm2_sover}-32bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2min%{libm2_sover}-32bit
+
+%description -n libm2min%{libm2_sover}%{libm2_suffix}-32bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2min%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%postun -n libm2min%{libm2_sover}%{libm2_suffix}-32bit -p /sbin/ldconfig
+
+%package -n libm2min%{libm2_sover}%{libm2_suffix}-64bit
+Summary: GNU Modula-2 compiler runtime library
+License: BSL-1.0
+Group: Development/Languages/Other
+Provides: libm2min%{libm2_sover}-64bit = %{version}-%{release}
+# Only one package may provide this - allows multiple gcc versions
+# to co-exist without an overly large list of provides/obsoletes
+Conflicts: %selfconflict libm2min%{libm2_sover}-64bit
+
+%description -n libm2min%{libm2_sover}%{libm2_suffix}-64bit
+Runtime library for the GNU Modula-2 language.
+
+%post -n libm2min%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
+%postun -n libm2min%{libm2_sover}%{libm2_suffix}-64bit -p /sbin/ldconfig
+
%package -n gcc13-testresults
Summary: Testsuite results
License: SUSE-Public-Domain
@@ -2091,6 +2419,12 @@ languages=$languages,d
%if %{build_jit}
languages=$languages,jit
%endif
+%if %{build_rust}
+languages=$languages,rust
+%endif
+%if %{build_m2}
+languages=$languages,m2
+%endif
# In general we want to ship release checking enabled compilers
# which is the default for released compilers
@@ -2453,7 +2787,8 @@ for lib in libobjc libgfortran libquadmath libcaf_single \
libgomp libgomp-plugin-hsa libstdc++ libsupc++ libgo \
libasan libhwasan libatomic libitm libtsan liblsan libubsan libvtv \
libstdc++fs libgomp-plugin-nvptx libgomp-plugin-gcn \
- libgdruntime libgphobos libstdc++exp; do
+ libgdruntime libgphobos libstdc++exp \
+ libm2cor libm2iso libm2log libm2min libm2pim; do
rm -f %{buildroot}/%{versmainlibdir}/$lib.la
%if %{biarch}
rm -f %{buildroot}/%{versmainlibdirbi}/$lib.la
@@ -2543,6 +2878,13 @@ for libname in \
%if %{build_gcn}
libgomp-plugin-gcn \
%endif
+%if %{build_m2}
+ libm2log \
+ libm2cor \
+ libm2iso \
+ libm2pim \
+ libm2min \
+%endif
%ifarch %atomic_arch
libatomic \
%endif
@@ -3643,6 +3985,98 @@ cat cpplib%{binsuffix}.lang gcc%{binsuffix}.lang > gcc13-locale.lang
%{_infodir}/libgccjit.info.gz
%endif
+%if %{build_rust}
+%files rust
+%defattr(-,root,root)
+%{_prefix}/bin/gccrs%{binsuffix}
+%{libsubdir}/rust1
+%endif
+
+%if %{build_m2}
+%files m2
+%defattr(-,root,root)
+%{_prefix}/bin/gm2%{binsuffix}
+%{libsubdir}/cc1gm2
+%{versmainlibdir}/m2
+%versmainlib libm2log.a
+%versmainlib libm2log.so
+%versmainlib libm2cor.a
+%versmainlib libm2cor.so
+%versmainlib libm2iso.a
+%versmainlib libm2iso.so
+%versmainlib libm2pim.a
+%versmainlib libm2pim.so
+%versmainlib libm2min.a
+%versmainlib libm2min.so
+%doc %{_mandir}/man1/gm2%{binsuffix}.1.gz
+
+%if %{separate_biarch}
+%files m2%{separate_biarch_suffix}
+%defattr(-,root,root)
+%{versmainlibdirbi}/m2
+%versbiarchlib libm2log.a
+%versbiarchlib libm2log.so
+%versbiarchlib libm2cor.a
+%versbiarchlib libm2cor.so
+%versbiarchlib libm2iso.a
+%versbiarchlib libm2iso.so
+%versbiarchlib libm2pim.a
+%versbiarchlib libm2pim.so
+%versbiarchlib libm2min.a
+%versbiarchlib libm2min.so
+%endif
+
+%files -n libm2log%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2log.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2log%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2log.so.%{libm2_sover}*
+%endif
+
+%files -n libm2cor%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2cor.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2cor%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2cor.so.%{libm2_sover}*
+%endif
+
+%files -n libm2iso%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2iso.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2iso%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2iso.so.%{libm2_sover}*
+%endif
+
+%files -n libm2pim%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2pim.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2pim%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2pim.so.%{libm2_sover}*
+%endif
+
+%files -n libm2min%{libm2_sover}%{libm2_suffix}
+%defattr(-,root,root)
+%mainlib libm2min.so.%{libm2_sover}*
+
+%if %{separate_biarch}
+%files -n libm2min%{libm2_sover}%{libm2_suffix}%{separate_biarch_suffix}
+%defattr(-,root,root)
+%biarchlib libm2min.so.%{libm2_sover}*
+%endif
+%endif
+
%if 0%{?run_tests:1}
%files -n gcc13-testresults
%defattr(-,root,root)