Skip to contentSkip to conversation

crash: upgrade 8.0.5 -> 8.0.6

PATCH In review [email protected] 2 participants 3 messages Mar 26, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 crash: upgrade 8.0.5 -> 8.0.6

From: "mark.yang" <[email protected]>

ChangeLog:
https://crash-utility.github.io/changelog/ChangeLog-8.0.6.txt

---
 ...sh-cross-canadian_8.0.5.bb => crash-cross-canadian_8.0.6.bb} | 0
 meta-oe/recipes-kernel/crash/crash.inc                          | 2 +-
 meta-oe/recipes-kernel/crash/{crash_8.0.5.bb => crash_8.0.6.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-kernel/crash/{crash-cross-canadian_8.0.5.bb => crash-cross-canadian_8.0.6.bb} (100%)
 rename meta-oe/recipes-kernel/crash/{crash_8.0.5.bb => crash_8.0.6.bb} (100%)
meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb renamed from meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.5.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.5.bb
rename to meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb
meta-oe/recipes-kernel/crash/crash.inc +1 -1
index cab4e178b9..3d712592df 100644
@@ -24,7 +24,7 @@ SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=http
            file://gdb_build_jobs_and_not_write_crash_target.patch \
            file://0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch \
            "
-SRCREV = "ceacceef7d13134d327719a624cfafed99e90f8a"
+SRCREV = "f13853cef53f5c5463a51021edbc81977e2b1405"
 
 SRC_URI[gdb.sha256sum] = "b33ad58d687487a821ec8d878daab0f716be60d0936f2e3ac5cf08419ce70350"
 
meta-oe/recipes-kernel/crash/crash_8.0.6.bb renamed from meta-oe/recipes-kernel/crash/crash_8.0.5.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-kernel/crash/crash_8.0.5.bb
rename to meta-oe/recipes-kernel/crash/crash_8.0.6.bb
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 crash: fix build with gcc-15

From: "mark.yang" <[email protected]>

* to fix: following erros occured in gcc-15.0.1 environment.
signals.c: In function '_rl_signal_handler':
signals.c:62:36: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
62 | # define SIGHANDLER_RETURN return (0)
| ^
signals.c:160:3: note: in expansion of macro 'SIGHANDLER_RETURN'

  160 |   SIGHANDLER_RETURN;
      |   ^~~~~~~~~~~~~~~~~
signals.c:141:1: note: declared here
  141 | _rl_signal_handler (int sig)
      | ^~~~~~~~~~~~~~~~~~

signals.c: In function 'rl_set_sighandler':
signals.c:343:18: error: assignment to '__sighandler_t' {aka 'void (*)(int)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types]
343 | act.sa_handler = handler;
| ^
In file included from signals.c:30:
recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here

   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
---
 meta-oe/recipes-kernel/crash/crash.inc        |   3 +
 ...sk-to-better-support-gdb-stack-unwin.patch |  85 +++++++++++
 ...03-Fix-build-failure-in-readline-lib.patch | 136 ++++++++++++++++++
 ...se-keywords-nullptr-as-a-variable-in.patch |  60 ++++++++
 4 files changed, 284 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/crash/crash/0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch
 create mode 100644 meta-oe/recipes-kernel/crash/crash/0003-Fix-build-failure-in-readline-lib.patch
 create mode 100644 meta-oe/recipes-kernel/crash/crash/0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch
meta-oe/recipes-kernel/crash/crash.inc +3 -0
index 3d712592df..6425c4ba7a 100644
@@ -23,6 +23,9 @@ SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=http
            file://donnot-extract-gdb-during-do-compile.patch \
            file://gdb_build_jobs_and_not_write_crash_target.patch \
            file://0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch \
+           file://0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch \
+           file://0003-Fix-build-failure-in-readline-lib.patch \
+           file://0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch \
            "
 SRCREV = "f13853cef53f5c5463a51021edbc81977e2b1405"
 
meta-oe/recipes-kernel/crash/crash/0002-arm64-add-pac-mask-to-better-support-gdb-stack-unwin.patch new file +85 -0

85 lines not on this page · raw message

meta-oe/recipes-kernel/crash/crash/0003-Fix-build-failure-in-readline-lib.patch new file +136 -0

136 lines not on this page · raw message

meta-oe/recipes-kernel/crash/crash/0004-tools.c-do-not-use-keywords-nullptr-as-a-variable-in.patch new file +60 -0

60 lines not on this page · raw message

Signature · 1 line
2.34.1
#2 lore raw
In reply to [email protected]

I think this broke 32bit builds we need to backport -
https://github.com/crash-utility/crash/commit/2724bb1d0260f3886f8a3d533838caf80c7e61e5

Quoted 48 lines · mark.yang via lists.openembedded.org

From: "mark.yang" <[email protected]>

ChangeLog:
https://crash-utility.github.io/changelog/ChangeLog-8.0.6.txt

---
 ...sh-cross-canadian_8.0.5.bb => crash-cross-canadian_8.0.6.bb} | 0
 meta-oe/recipes-kernel/crash/crash.inc                          | 2 +-
 meta-oe/recipes-kernel/crash/{crash_8.0.5.bb => crash_8.0.6.bb} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename meta-oe/recipes-kernel/crash/{crash-cross-canadian_8.0.5.bb => crash-cross-canadian_8.0.6.bb} (100%)
 rename meta-oe/recipes-kernel/crash/{crash_8.0.5.bb => crash_8.0.6.bb} (100%)
meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb renamed from meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.5.bb +0 -0
similarity index 100%
rename from meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.5.bb
rename to meta-oe/recipes-kernel/crash/crash-cross-canadian_8.0.6.bb
meta-oe/recipes-kernel/crash/crash.inc +1 -1
index cab4e178b9..3d712592df 100644
@@ -24,7 +24,7 @@ SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=http
            file://gdb_build_jobs_and_not_write_crash_target.patch \
            file://0001-symbol-fix-S-cannot-work-with-kaslr-detection.patch \
            "
-SRCREV = "ceacceef7d13134d327719a624cfafed99e90f8a"
+SRCREV = "f13853cef53f5c5463a51021edbc81977e2b1405"
 
 SRC_URI[gdb.sha256sum] = "b33ad58d687487a821ec8d878daab0f716be60d0936f2e3ac5cf08419ce70350"
 
meta-oe/recipes-kernel/crash/crash_8.0.6.bb renamed from meta-oe/recipes-kernel/crash/crash_8.0.5.bb +0 -1
similarity index 100%
rename from meta-oe/recipes-kernel/crash/crash_8.0.5.bb
rename to meta-oe/recipes-kernel/crash/crash_8.0.6.bb
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#116293): https://lists.openembedded.org/g/openembedded-devel/message/116293
Mute This Topic: https://lists.openembedded.org/mt/111914699/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-