To fix the rest of the build errors, I think setting

    GCC_CFLAGS_${TARCH}+=-Wlogical-op -Wno-address-of-packed-member

in util/xcompile/xcompile will ignore this warning for all projects, including Chromium EC and libpayload.

Also, the STACK_SIZE value in soc/cavium/cn81xx/Kconfig needs to be changed from hex to decimal, since -Wstack-usage doesn't recognize hexadecimal numbers anymore.

View Change

To view, visit change 32564. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id6f65548764654ae5539ac3c835853ea2fa1c5e0
Gerrit-Change-Number: 32564
Gerrit-PatchSet: 10
Gerrit-Owner: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: HAOUAS Elyes <ehaouas@noos.fr>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Jacob Garber <jgarber1@ualberta.ca>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Comment-Date: Wed, 25 Sep 2019 04:29:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment