Trace extension module for the crash utility
commit 17c35d075f067d80fee112ae18365b8defa2ca5a (HEAD -> devel, origin/devel) Author: HATAYAMA Daisuke <d.hatayama@fujitsu.com> Date: Fri Feb 19 11:38:59 2021 +0900 Makefile: fix build failure on aarch64 and ppc64le Currently, there is build failure on aarch64 and ppc64le as follows: gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -I/usr/include/crash -nostartfiles -shared -rdynamic -o trace.so trace.c -fPIC -D gcc: error: macro name missing after '-D' The failure is caused by missing arguments for -D option because TARGET variable is empty. This commit fixes the issue by defining TARGET variable properly according to aarch64 and ppc64le. Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com> Signed-off-by: HATAYAMA Daisuke <d.hatayama@fujitsu.com> |
||
---|---|---|
.gitignore | ||
0001-Makefile-set-DT_SONAME-to-trace.so.patch | ||
0002-Makefile-fix-build-failure-on-aarch64-and-ppc64le.patch | ||
crash-trace-command.spec | ||
README.md | ||
sources |
crash-trace-command
The crash-trace-command package