mirror of
https://git.yoctoproject.org/poky
synced 2026-02-08 01:36:38 +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>
40 lines
1.1 KiB
BlitzBasic
40 lines
1.1 KiB
BlitzBasic
require gdb-common.inc
|
|
|
|
inherit gettext pkgconfig
|
|
|
|
#LDFLAGS:append = " -s"
|
|
#export CFLAGS:append=" -L${STAGING_LIBDIR}"
|
|
|
|
# cross-canadian must not see this
|
|
PACKAGES =+ "gdbserver"
|
|
FILES:gdbserver = "${bindir}/gdbserver"
|
|
|
|
require gdb.inc
|
|
|
|
inherit python3-dir
|
|
|
|
EXTRA_OEMAKE:append:libc-musl = "\
|
|
gt_cv_func_gnugettext1_libc=yes \
|
|
gt_cv_func_gnugettext2_libc=yes \
|
|
gl_cv_func_working_strerror=yes \
|
|
gl_cv_func_strerror_0_works=yes \
|
|
gl_cv_func_gettimeofday_clobber=no \
|
|
"
|
|
|
|
do_configure:prepend() {
|
|
if [ "${@bb.utils.filter('PACKAGECONFIG', 'python', d)}" ]; then
|
|
cat > ${WORKDIR}/python << EOF
|
|
#!/bin/sh
|
|
case "\$2" in
|
|
--includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}/" ;;
|
|
--ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -Wl,-rpath,${libdir}/.. -lpthread -ldl -lutil -lm -lpython${PYTHON_BASEVERSION}${PYTHON_ABI}" ;;
|
|
--exec-prefix) echo "${exec_prefix}" ;;
|
|
*) exit 1 ;;
|
|
esac
|
|
exit 0
|
|
EOF
|
|
chmod +x ${WORKDIR}/python
|
|
fi
|
|
}
|
|
|