Skip to contentSkip to conversation

crash: Fix build for 32bit targets

PATCH New Khem Raj 1 participant 1 message Mar 26, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 crash: Fix build for 32bit targets

Fixes
rame.c: In function 'CORE_ADDR frame_unwind_pc(frame_info*)':
frame.c:982:35: error: cannot convert 'CORE_ADDR*' {aka 'long long unsigned int*'} to 'ulong*' {aka 'long unsigned int*'}

  982 |           crash_decode_ptrauth_pc(&pc);
      |                                   ^~~
      |                                   |
      |                                   CORE_ADDR* {aka long long unsigned int*}
Cc mark.yang <[email protected]>
Cc Martin Jansa <[email protected]>
---
 meta-oe/recipes-kernel/crash/crash.inc        |  1 +
 ...-build-failure-on-32bit-machine-i686.patch | 83 +++++++++++++++++++
 2 files changed, 84 insertions(+)
 create mode 100644 meta-oe/recipes-kernel/crash/crash/0005-Fix-build-failure-on-32bit-machine-i686.patch
meta-oe/recipes-kernel/crash/crash.inc +1 -0
index 6425c4ba7a..aef77be1a0 100644
@@ -26,6 +26,7 @@ SRC_URI = "git://github.com/crash-utility/${BPN}.git;branch=master;protocol=http
            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 \
+           file://0005-Fix-build-failure-on-32bit-machine-i686.patch \
            "
 SRCREV = "f13853cef53f5c5463a51021edbc81977e2b1405"
 
meta-oe/recipes-kernel/crash/crash/0005-Fix-build-failure-on-32bit-machine-i686.patch new file +83 -0

83 lines not on this page · raw message