Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'
From: Max Filippov
Date: Sun Sep 10 2017 - 21:58:38 EST
On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck <linux@xxxxxxxxxxxx> wrote:
> xtensa:allmodconfig fails to build in mainline with compiler errors
> as follows.
>
> drivers/staging/rtl8723bs/core/rtw_ap.c: In function âexpire_timeout_chkâ:
> drivers/staging/rtl8723bs/core/rtw_ap.c:442:1: internal compiler error:
> in change_address_1, at emit-rtl.c:2126
>
> drivers/staging/rtl8188eu/core/rtw_ap.c: In function âexpire_timeout_chkâ:
> drivers/staging/rtl8188eu/core/rtw_ap.c:445:1: internal compiler error:
> in change_address_1, at emit-rtl.c:2150
>
> I tried gcc 6.3, 6.4, and 7.2; they all have the same problem.
>
> Bisect points to commit b09be676e0f ("locking/lockdep: Implement the
> 'crossrelease' feature").
>
> The compile error is still seen if I disable CONFIG_LOCKDEP_CROSSRELEASE.
> The image builds fine if I disable both CONFIG_RTL8723BS and CONFIG_R8188EU.
Thanks for the report. I'll look at the compiler.
--
Thanks.
-- Max