[PATCH 1/2] makedumpfile: Add ftruncate error handling

Stefan Wiehler stefan.wiehler at nokia.com
Wed Aug 21 00:30:00 PDT 2024


> I tried to reproduce those warnings, but could not get either one
> with a plain make command and gcc 14.1 (or clang 18.1).
> 
> out of curiosity, what compiler version and build command do you use?

We use GCC 12.2.0 and build via the BitBake recipe:

https://layers.openembedded.org/layerindex/recipe/52214/

The recipe removes hardcoded CFLAGS in the Makefile, so it is not
obvious to me right now if we get these error warnings due to additional
CFLAGS we inject by default to each recipe or due to below patch alone:

https://git.openembedded.org/meta-openembedded/tree/meta-oe/recipes-kernel/makedumpfile/makedumpfile/0001-makedumpfile-replace-hardcode-CFLAGS.patch?h=master

Kind regards,

Stefan



More information about the kexec mailing list