mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
Add couple of readline patches to fix build with internal readline
Other Changes
* PR symtab/32309 ([gdb/symtab, fission] gdb/dwarf2/read.h:289:
internal-error: version: Assertion `m_dwarf_version != 0' failed)
* PR corefiles/32441 (gdb segfaults when generating a core file if
target_fileio_read_alloc fails)
* PR tui/32623 (TUI console window doesn't update while inferior is running)
* PR corefiles/32634 ([gdb/corefiles] segfault in
gdb.arch/i386-biarch-core.exp)
* PR backtrace/32757 ("Assertion `stashed' failed" when inline frame #0 is
duplicated)
* PR tdep/32770 ([gdb/tdep, i386] FAIL: gdb.reverse/recvmsg-reverse.exp:
continue to breakpoint: marker2)
* PR gdb/32775 ([AArch64] gdbserver crashes on SVE/SME-enabled systems)
* PR record/32784 ([gdb/record, aarch64] Stack smashing detected in
aarch64_record_asimd_load_store)
* PR tui/32797 (Escape sequences to only reset foreground or background color
to default fail)
* PR gdb/32828 (gstack regression: missing file names and line numbers)
(From OE-Core rev: abd0b9c3b82b6d7623c09692feaf2c356d395e6b)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
48 lines
1.6 KiB
Diff
48 lines
1.6 KiB
Diff
From 2fa91dec5f0ec5663861ca53bde8951e48557bb3 Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 30 Apr 2016 15:25:03 -0700
|
|
Subject: [PATCH] Dont disable libreadline.a when using --disable-static
|
|
|
|
If gdb is configured with --disable-static then this is dutifully passed to
|
|
readline which then disables libreadline.a, which causes a problem when gdb
|
|
tries to link against that.
|
|
|
|
To ensure that readline always builds static libraries, pass --enable-static to
|
|
the sub-configure.
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
---
|
|
Makefile.def | 3 ++-
|
|
Makefile.in | 2 +-
|
|
2 files changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/Makefile.def b/Makefile.def
|
|
index 4896c5c692c..17e3256be7d 100644
|
|
--- a/Makefile.def
|
|
+++ b/Makefile.def
|
|
@@ -134,7 +134,8 @@ host_modules= { module= libiconv;
|
|
missing= install-html;
|
|
missing= install-info; };
|
|
host_modules= { module= m4; };
|
|
-host_modules= { module= readline; };
|
|
+host_modules= { module= readline;
|
|
+ extra_configure_flags='--enable-static';};
|
|
host_modules= { module= sid; };
|
|
host_modules= { module= sim; };
|
|
host_modules= { module= texinfo; no_install= true; };
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index f12c251f9c8..17ea24e8012 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -31593,7 +31593,7 @@ configure-readline:
|
|
$$s/$$module_srcdir/configure \
|
|
--srcdir=$${topdir}/$$module_srcdir \
|
|
$(HOST_CONFIGARGS) --build=${build_alias} --host=${host_alias} \
|
|
- --target=${target_alias} \
|
|
+ --target=${target_alias} --enable-static \
|
|
|| exit 1
|
|
@endif readline
|
|
|