Hi Selma,

Am Mo., 27. Sept. 2021 um 17:54 Uhr schrieb Bensaid, Selma <selma.bensaid@intel.com>:

Here the build error, I checked that the error does not occurs with gcc 12 revert. We are using Ubuntu 18.04 for our build nodes.

 

src/drivers/bus/i2c/designware.c: In function 'i2c_set_bus_speed':

src/drivers/bus/i2c/designware.c:322:53: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]

  322 |                                MIN_HS_SCL_HIGHTIME, &regs->hs_scl_hcnt,

      |                                                     ^~~~~~~~~~~~~~~~~~


That issue seems to occur in depthcharge (we don't have that path in coreboot itself), for which we have fixes: this one in particular is fixed by the commit at https://chromium-review.googlesource.com/c/chromiumos/platform/depthcharge/+/3181723 but a few more (including a change to disable that type of warning because vboot runs in a few more instance) in the patch train.


Patrick
--
Google Germany GmbH, ABC-Str. 19, 20354 Hamburg
Registergericht und -nummer: Hamburg, HRB 86891, Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado