https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81163
--- Comment #9 from Alexander Perfeito <perfeitoan at hotmail dot com> --- (In reply to Alexander Perfeito from comment #8) > (In reply to Alexander Perfeito from comment #7) > > (In reply to Martin Sebor from comment #5) > > > Resolved as Invalid per comment #2. > > > > > > PS Thanks for providing the source file. Note that I/we have access to > > > kernel sources and with some effort can usually reproduce diagnostics > > > there. > > > To minimize the overhead and the effort of finding the right combination > > > of > > > command like options needed to trigger the warnings or errors we ask for a > > > preprocessed source file, which is the output of the compiler obtained by > > > replacing the -c option with -E. For more details see: > > > https://gcc.gnu.org/bugs > > This file in attach is command terminal pass direct to file usind ggc 7.1.1 > and all otions used to compiled the kernel linux build by the kernel himself > though Makefile. Its is not how the makefile the Kernel Linux do include the > library etc... > But you have all information how my system compiling the kernel in a > environment 32bits ARM to track the problem in specifyc function snprintf More information about here: [aperfeito@alarm kernel]$ gcc -v -save-temps -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer relay.c Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/armv7l-unknown-linux-gnueabihf/7.1.1/lto-wrapper Target: armv7l-unknown-linux-gnueabihf Configured with: /build/gcc/src/gcc/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://github.com/archlinuxarm/PKGBUILDs/issues --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --with-isl --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --disable-libssp --enable-gnu-unique-object --enable-linker-build-id --enable-lto --enable-plugin --enable-install-libiberty --with-linker-hash-style=gnu --enable-gnu-indirect-function --disable-multilib --disable-werror --enable-checking=release --host=armv7l-unknown-linux-gnueabihf --build=armv7l-unknown-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 Thread model: posix gcc version 7.1.1 20170516 (GCC) COLLECT_GCC_OPTIONS='-v' '-save-temps' '-Wall' '-Wmissing-prototypes' '-Wstrict-prototypes' '-O2' '-fomit-frame-pointer' '-march=armv7-a' '-mfloat-abi=hard' '-mfpu=vfpv3-d16' '-mtls-dialect=gnu' /usr/lib/gcc/armv7l-unknown-linux-gnueabihf/7.1.1/cc1 -E -quiet -v relay.c -march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -mtls-dialect=gnu -Wall -Wmissing-prototypes -Wstrict-prototypes -fomit-frame-pointer -O2 -fpch-preprocess -o relay.i