cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -g -Wall -W -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wimplicit-fallthrough -Wunused-parameter -Wundef -D_FILE_OFFSET_BITS=64 -DVERSION=20220620 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o cpuid cpuid.c gzip < cpuid.man > cpuid.man.gz pod2man -r "20220620" -c "" cpuinfo2cpuid > cpuinfo2cpuid.man gzip < cpuinfo2cpuid.man > cpuinfo2cpuid.man.gz cpuid.c: In function ‘real_setup’: cpuid.c:10040:42: warning: ‘/cpuid’ directive writing 6 bytes into a region of size between 1 and 10 [-Wformat-overflow=] 10040 | sprintf(cpuid_name, "/dev/cpu/%u/cpuid", cpu); | ^~~~~~ In file included from /usr/include/stdio.h:894, from cpuid.c:110: In function ‘sprintf’, inlined from ‘real_setup’ at cpuid.c:10040:10: /usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 17 and 26 bytes into a destination of size 20 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~