Re: Compiling makedumpfile from source

2021-06-10 Thread manty kuma
I removed existing libzstd and installed the latest one from Now, elfutils compiles fine. But when compiling makedumpfile i have following issue: ``` makedumpfile (master) $ make LINKTYPE=dynamic cc -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.6.9+

Re: Compiling makedumpfile from source

2021-06-10 Thread 萩尾 一仁
-Original Message- > Thank you. > for example, i am trying to compile: elfutils-0.182 package downloaded > from https://sourceware.org/elfutils/ftp/0.182/ > After successfully configuring it, make fails with following error. Ah, I thought by mistake that you failed to compile makedumpfile.

Re: Compiling makedumpfile from source

2021-06-10 Thread manty kuma
Thank you. for example, i am trying to compile: elfutils-0.182 package downloaded from https://sourceware.org/elfutils/ftp/0.182/ After successfully configuring it, make fails with following error. Making all in libdwfl CC zstd.o In file included fr

RE: Compiling makedumpfile from source

2021-06-10 Thread 萩尾 一仁
Hi Manty, -Original Message- > What version of elfutils is needed by `makedumpfile`? > elfutils-0.144 is mentioned in README. > I tried this one but the compilation is broken. > > https://sourceware.org/elfutils/ftp/0.144/ > > Should I try to use the latest one instead? It could be buil

Compiling makedumpfile (and elfutils) from source

2021-06-10 Thread manty kuma
What version of elfutils is needed by latest `makedumpfile`? elfutils-0.144 is mentioned in README. I tried this one but the compilation is broken. https://sourceware.org/elfutils/ftp/0.144/ Should I try to use the latest one instead? Regards, Manty _

[PATCH makedumpfile] Add -L option to limit output file size

2021-06-10 Thread Benjamin Poirier
This option can be used to ensure that a certain amount of free space is preserved. It is useful when the output of makedumpfile is on the root filesystem and some services fail to start at boot if there is no space left. Signed-off-by: Benjamin Poirier --- makedumpfile.8 | 12 +--- make