
26 Oct
2019
26 Oct
'19
8:05 p.m.
On 10/26/19 8:01 PM, Heinrich Schuchardt wrote:
Hello Marek,
Hi,
tbs2910_defconfig does not compile with gcc 9.2.1:
In file included from drivers/usb/gadget/g_dnl.c:24: drivers/usb/gadget/composite.c: In function ‘get_string’: drivers/usb/gadget/composite.c:545:23: error: taking address of packed member of ‘struct usb_string_descriptor’ may result in an unaligned pointer value [-Werror=address-of-packed-member] 545 | collect_langs(sp, s->wData); | ~^~~~~~~
Send a patch fixing the issue please.
The board seems to compile within travis, so it's a new problem due to newer gcc.
--
Best regards,
Marek Vasut