mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-14 16:07:25 +00:00
When cross compiling for a 32-bit target such as riscv32, configure cannot test the long long snprintf format and builds the replacement snprintf(), which fails because SIZEOF_LONG and SIZEOF_LONG_LONG are never defined: snprintf.c:651:2: error: "cannot find integer type of the same size as size_t" Add a patch that checks the size of long and long long in configure. AI-Generated: Uses Claude Code Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>