On Fri, May 5, 2017 at 9:33 PM, Olof Johansson olof@lixom.net wrote:
On Fri, May 5, 2017 at 12:05 PM, Olof's autobuilder build@lixom.net wrote:
Here are the build results from automated periodic testing.
The tree being built was mainline, found at:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git (master branch)
Topmost commit:
af82455 Merge tag 'char-misc-4.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Build logs (stderr only) can be found at the following link (experimental):
http://arm-soc.lixom.net/buildlogs/mainline/v4.11-8539-gaf82455/
Runtime: 101m 36s Passed: 125 Failed: 0 Warnings: 2654 Section mismatches: 0
These are so excessive because I updated to gcc-7.1.0. I might downgrade again since it's crazy noisy.
Also, build time took an enormous hit. :(
I've locally been building for a while with "gcc-7.0.1 -Wno-format-truncation -Wimplicit-fallthrough=0 -Wno-duplicate-decl-specifier -Wno-override-init -Wno-int-in-bool-context -Wno-bool-operation".
Can you try with this patch to see if that addresses both the warning and most of the build time regression? I consistently see around 5% slower builds for each gcc release, if you see much more than that, we should definitely try to figure out what is going on.
Arnd
diff --git a/Makefile b/Makefile index 43534cca1de9..88343feb4656 100644 --- a/Makefile +++ b/Makefile @@ -801,6 +801,10 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) # enforce correct pointer usage KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types)
+# new warnings in gcc-7 +KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough=0 -Wno-duplicate-decl-specifier -Wno-override-init -Wno-int-in-bool-context -Wno-bool-operation -Wno-format-truncation -Wno-format-overflow) + + # use the deterministic mode of AR if available KBUILD_ARFLAGS := $(call ar-option,D)