[Crash-utility] [PATCH] Fix machdep->HZ calculation for kernel versions > 2.6.0

2021-01-11 Thread Bhupesh Sharma
We have hard-coded the HZ value for some ARCHs to either 1000 or 100 (mainly for kernel versions > 2.6.0), which causes 'help -m' to show an incorrect hz value for various architectures. I tested this on ppc64le and x86_64 and the hz value reported is 1000, whereas the kernel CONFIG_HZ_100 is set

Re: [Crash-utility] [PATCH v3 1/1] Support cross-compilation

2021-01-11 Thread Alexander Egorenkov
> After applied this patch, the cross build failed in Fedora as below: > > [root@hpe-apollo-cn99xx-15-vm-21 crash]# make CROSS_COMPILE=s390x-linux- > ... > rm -f ./libiberty.a pic/./libiberty.a > s390x-linux-ar rc ./libiberty.a \ > ./regex.o ./cplus-dem.o ./cp-demangle.o ./md5.o ./sha1.o