Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1730631

Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'

From Max Filippov <jcmvbkbc@gmail.com>
Newsgroups linux.kernel
Subject Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'
Date 2017-09-12 05:30 +0200
Message-ID <uoK3D-4a2-3@gated-at.bofh.it> (permalink)
References <uofjb-7O0-1@gated-at.bofh.it> <uomb0-460-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sun, Sep 10, 2017 at 6:58 PM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck <linux@roeck-us.net> 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.

There was a bug in the xtensa gcc backend, now fixed. See
 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82181

-- 
Thanks.
-- Max

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

xtensa compiler error triggered by 'locking/lockdep: Implement the  'crossrelease' feature' Guenter Roeck <linux@roeck-us.net> - 2017-09-10 20:40 +0200
  Re: xtensa compiler error triggered by 'locking/lockdep: Implement  the 'crossrelease' feature' Peter Zijlstra <peterz@infradead.org> - 2017-09-10 20:50 +0200
  Re: xtensa compiler error triggered by 'locking/lockdep: Implement  the 'crossrelease' feature' Max Filippov <jcmvbkbc@gmail.com> - 2017-09-11 04:00 +0200
    Re: xtensa compiler error triggered by 'locking/lockdep: Implement  the 'crossrelease' feature' Max Filippov <jcmvbkbc@gmail.com> - 2017-09-12 05:30 +0200
      Re: xtensa compiler error triggered by 'locking/lockdep: Implement  the 'crossrelease' feature' Guenter Roeck <linux@roeck-us.net> - 2017-09-13 20:50 +0200

csiph-web