mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
d98e15a3639d9758ab3223f0a6de3a94d506e6fa
The copy of readline bundled with gdb versions earlier than 16.x does not build with GCC 15.x, despite our 0010-readline-tcap.h-Update-definitions-for-C23.patch. In GDB 16.x, readline has been updated to 8.2, which fixes the issue, but backporting this to older GDB versions results in a ~450 KB. So let's take the approach we should have probably taken from the ground up: use an external readline, instead of the bundled one. This is exactly what this patch does. Instead of having gdb depend on ncurses and host-gdb depend on host-ncurses, we make it depend on readline/host-readline (which in turn already has a dependency on ncurses). In fact, gdb does not need ncurses itself, it really needs only readline. Since the GDB TUI itself needs ncurses, we move the ncurses select/dependency down to the GDB TUI option. This was pointed out by Romain Naour. Fixes: https://autobuild.buildroot.net/results/3b0ce5cfac81e150816027fc1259600ee02f0f1f/ (host gdb 14.x) https://autobuild.buildroot.net/results/e64e3cd7aa5e7315464e380982f7febaff5df908/ (host gdb 15.x) https://autobuild.buildroot.net/results/2f2616a4ac7d9cbc06ba7775eb57bdd2a0419cb5/ (host arc gdb) https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774348 (TestGdbArc) https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774349 (TestGdbFullTarget) https://gitlab.com/buildroot.org/buildroot/-/jobs/11176774355 (TestGdbserverOnly) Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> [Julien: as pointed out by Romain Naour: - also select and add readline dependency when BR2_PACKAGE_GDB_SERVER=y - add links to gitlab CI failures in commit log ] Signed-off-by: Julien Olivain <ju.o@free.fr>
…
…
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.6%
Python
18.8%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.2%