[rtems-source-builder commit] rtems-gdb-9.1-1.cfg: Add patch for Cygwin
Joel Sherrill
joel at rtems.org
Wed Oct 13 16:36:55 UTC 2021
Module: rtems-source-builder
Branch: 5
Commit: 9be36688e35c382c9149cdafc71da4958794c99e
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=9be36688e35c382c9149cdafc71da4958794c99e
Author: Joel Sherrill <joel at rtems.org>
Date: Fri Oct 8 10:16:23 2021 -0500
rtems-gdb-9.1-1.cfg: Add patch for Cygwin
The patch is needed to address link failures introduced when
Cygwin apparently changed their base address for executables.
This is not an issue with gdb 10 and this is a minimalistic
approach to addressing this failure on the 5 branch.
Closes #4523.
---
rtems/config/tools/rtems-gdb-9.1-1.cfg | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/rtems/config/tools/rtems-gdb-9.1-1.cfg b/rtems/config/tools/rtems-gdb-9.1-1.cfg
index 1d14a20..73648c5 100644
--- a/rtems/config/tools/rtems-gdb-9.1-1.cfg
+++ b/rtems/config/tools/rtems-gdb-9.1-1.cfg
@@ -12,4 +12,11 @@
%patch add gdb https://devel.rtems.org/raw-attachment/ticket/4366/gdb-9-1-linker-error-fix.diff
%hash sha512 gdb-9-1-linker-error-fix.diff QAtNCgJsDdfKno+IqHwqRGz1SR3YdTm34ERox2fqpgaGHI6H4GqNfmkJcJaIvSgzNxif24vqWO+bF/Djqa6wNg==
+%if %{_build_os} == win32
+ %if %{_windows_os} == cygwin
+ %patch add gdb https://devel.rtems.org/raw-attachment/ticket/4523/gdb-9-1-thread-local.diff
+ %hash sha512 gdb-9-1-thread-local.diff ln3rFWltmLCzXvRTz4ts/UoeX7MA49oBtkZWWuslpLEIpm7C/lxDG3/xT0GgJ2eQbENknttittCG31UKhUeljg==
+ %endif
+%endif
+
%include %{_configdir}/gdb-common-1.cfg
More information about the vc
mailing list