8cfbda109f
This is a minor corrective release over GDB 11.1, fixing the following issues: PR sim/28302 (gdb fails to build with glibc 2.34) PR build/28318 (std::thread support configure check does not use CXX_DIALECT) PR gdb/28405 (arm-none-eabi: internal-error: ptid_t remote_target::select_thread_for_ambiguous_stop_reply(const target_waitstatus*): Assertion `first_resumed_thread != nullptr' failed) PR tui/28483 ([gdb/tui] breakpoint creation not displayed) PR build/28555 (uclibc compile failure since commit 4655f8509fd44e6efabefa373650d9982ff37fd6) PR rust/28637 (Rust characters will be encoded using DW_ATE_UTF) PR gdb/28758 (GDB 11 doesn't work correctly on binaries with a SHT_RELR (.relr.dyn) section) PR gdb/28785 (Support SHT_RELR (.relr.dyn) section) Drop patch 0006-sim-filter-out-SIGSTKSZ-PR-sim-28302.patch, which was merged upstream as commit 17d6f2152b583cdc7defafa7813b727a304bac5b. Drop patch 0008-Fix-build-on-rhES5.patch, which was merged upstream as commit df9ebc472a162306dee8ba6e02b99963c2babb7c? Drop patch 0009-gdbserver-aarch64-support.patch, which was merged upstream as commit eb79b2318066cafb75ffdce310e3bbd44f7c79e3. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
40 lines
1.2 KiB
Diff
40 lines
1.2 KiB
Diff
From 879008ef9a48aa1363671f5c1736b49f30c5a379 Mon Sep 17 00:00:00 2001
|
||
From: Peter Seiderer <ps.report@gmx.net>
|
||
Date: Sat, 6 Nov 2021 10:06:25 +0100
|
||
Subject: [PATCH] Fix getrandom compile for uclibc < v1.0.35
|
||
MIME-Version: 1.0
|
||
Content-Type: text/plain; charset=UTF-8
|
||
Content-Transfer-Encoding: 8bit
|
||
|
||
- fix getrandom compile for uclibc < v1.0.35, add missing stddef.h
|
||
include (fixed in uclibc since v1.0.35, see [1])
|
||
|
||
Fixes:
|
||
|
||
.../host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name ‘size_t’
|
||
27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
|
||
| ^~~~~~
|
||
|
||
[1] https://cgit.uclibc-ng.org/cgi/cgit/uclibc-ng.git/commit/?id=00972c02c2b6e0a95d5def4a71bdfb188e091782t
|
||
|
||
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
|
||
---
|
||
gnulib/import/getrandom.c | 1 +
|
||
1 file changed, 1 insertion(+)
|
||
|
||
diff --git a/gnulib/import/getrandom.c b/gnulib/import/getrandom.c
|
||
index 41212fb..0ad3f96 100644
|
||
--- a/gnulib/import/getrandom.c
|
||
+++ b/gnulib/import/getrandom.c
|
||
@@ -19,6 +19,7 @@
|
||
|
||
#include <config.h>
|
||
|
||
+#include <stddef.h>
|
||
#include <sys/random.h>
|
||
|
||
#include <errno.h>
|
||
--
|
||
2.33.1
|
||
|