Page MenuHomeFreeBSD -Wno-error=stringop-overflow for gcc due to false positives

Authored by rlibby on Thu, Nov 28, 11:51 PM.



Demote gcc's Wstringop-overflow to Wno-error due to false positives.
E.g. the riscv64 build with gcc 8.3.0 has been failing with this warning
since r355062 [1]. A bug has been filed with gcc [2]. The warning was
first introduced in gcc 7.1 [3]. Hopefully we can avoiding suppressing
the warning in future gcc versions.


Test Plan

make CROSS_TOOLCHAIN=riscv64-gcc TARGET=riscv TARGET_ARCH=riscv64 buildkernel KERNCONF=GENERIC

Diff Detail

rS FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

rlibby created this revision.Thu, Nov 28, 11:51 PM
markj accepted this revision.Fri, Nov 29, 2:15 AM
This revision is now accepted and ready to land.Fri, Nov 29, 2:15 AM