summaryrefslogtreecommitdiffstats
path: root/rtems
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2023-03-21 13:43:53 -0500
committerJoel Sherrill <joel@rtems.org>2023-03-21 16:07:13 -0500
commit0e55aff235fb12ee637ae12703b6fc84899c2aa8 (patch)
tree076a76f4a79487586a865f07217b77902027f269 /rtems
parentgrub2.cfg: fix GRUB compilation with GCC 12. (diff)
downloadrtems-source-builder-0e55aff235fb12ee637ae12703b6fc84899c2aa8.tar.bz2
Revert binutils to 2.39 for rtems6
Binutils 2.40 has a regression for AArch64 that has previously been fixed. See https://sourceware.org/bugzilla/show_bug.cgi?id=27217 This regression causes at least 2 tests to fail to build.
Diffstat (limited to 'rtems')
-rw-r--r--rtems/config/6/rtems-default.bset2
-rw-r--r--rtems/config/tools/rtems-binutils-2.39.cfg13
2 files changed, 14 insertions, 1 deletions
diff --git a/rtems/config/6/rtems-default.bset b/rtems/config/6/rtems-default.bset
index ff9f9f5..b1c81a0 100644
--- a/rtems/config/6/rtems-default.bset
+++ b/rtems/config/6/rtems-default.bset
@@ -13,7 +13,7 @@
%defineifnot with_rtems_expat devel/expat-2.4.8-1
%defineifnot with_rtems_gmp devel/gmp-6.2.1
%defineifnot with_rtems_gdb tools/rtems-gdb-13.1
-%defineifnot with_rtems_binutils tools/rtems-binutils-2.40
+%defineifnot with_rtems_binutils tools/rtems-binutils-2.39
%defineifnot with_rtems_gcc tools/rtems-gcc-12-newlib-head
%defineifnot with_rtems_tools tools/rtems-tools-6
diff --git a/rtems/config/tools/rtems-binutils-2.39.cfg b/rtems/config/tools/rtems-binutils-2.39.cfg
new file mode 100644
index 0000000..fd3d8d6
--- /dev/null
+++ b/rtems/config/tools/rtems-binutils-2.39.cfg
@@ -0,0 +1,13 @@
+%include %{_configdir}/checks.cfg
+%include %{_configdir}/base.cfg
+
+%define binutils_version 2.39
+#%define binutils_external 1
+
+%hash sha512 binutils-%{binutils_version}.tar.bz2 \
+ +qWS3Uj8cVkBrXBKyW29NLF5LFHnfHqSo4eWSwcAcDx0vgfeRcxHUZRcjAZ0Noxz3Be7xWPR0s0jW169jG5++w==
+
+%define with_deterministic_archives 1
+%define with_64_bit_bfd 1
+
+%include %{_configdir}/binutils-2-1.cfg