summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/crash/crash.inc
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-2/+1
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: fix reproducibilityKéléfa Sané2025-05-271-0/+1
| | | | | | | | | Fix reproducibility issue by retrieving the compiler version from the CC env variable, which define the compiler used in the build and not from the native gcc compiler install in the host machine. Signed-off-by: Kéléfa Sané <kelefa.sane@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: Fix build for 32bit targetsKhem Raj2025-03-261-0/+1
| | | | | | | | | | | | | | 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*} Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: mark.yang <mark.yang@lge.com> Cc: Martin Jansa <martin.jansa@gmail.com>
* crash: fix build with gcc-15mark.yang2025-03-261-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * 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); | ^~~~~~~~~~~~~~ Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: upgrade 8.0.5 -> 8.0.6mark.yang2025-03-261-1/+1
| | | | | | | | ChangeLog: https://crash-utility.github.io/changelog/ChangeLog-8.0.6.txt Signed-off-by: mark.yang <mark.yang@lge.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: fix crash cannot work with kaslrXiangyu Chen2025-01-241-0/+1
| | | | | | | | | According to crash help message, crash can decode the random address with "--kaslr=auto". But it has a bug that when with "-S" in parameter, crash will bypass the kaslr option. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: upgrade 8.0.4 -> 8.0.5Yi Zhao2024-09-111-1/+1
| | | | | | | | ChangeLog: https://crash-utility.github.io/changelog/ChangeLog-8.0.5.txt Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: update to 8.0.4Frederic Martinsons2023-12-181-2/+1
| | | | | | | Remove backported commit. Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* crash: factorize recipe with inc file to prepare cross-canadian versionFrederic Martinsons2023-12-181-0/+92
Suppress unused config-site.crash-7.0.9 Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>