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'

Path csiph.com!news.redatomik.org!aioe.org!bofh.it!news.nic.it!robomod
From Max Filippov <jcmvbkbc@gmail.com>
Newsgroups linux.kernel
Subject Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'
Date Tue, 12 Sep 2017 05:30:01 +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>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=s9mfU6zthAZ6lejAGSrFhjaK8VtPGCuQPRVpRXBpLKM=; b=IIJ4GNzpgBtmZ1useWw9H8W4GqReTUbdqI03O+ulxOW33rttpYK/sdt298hqwxpDQF sVxbacw5luRhqbDUCsEdd3jx3Lalu/6Xbd80u27rAeUQLuGX8zKEw5hQxJWYfXwT0T6v wIi/Fuv/Q3IsHtrfFwylLihEFy6GRF21qLiYx81lpQzM/QKtGqJY0qE3xe662fGRVj7A 1yoLDjRXCuuQ8xYunJG1aOpyO5sD7Ia3ERR1l2bNMc6P04XpLH2SGMoXS9s5WXGwyrVm waZxWl3FuZEBze2PBURm+yDtcIJEq2GQmiDkE4yjhMHIRXeAGJmUIK2gwsr6JZRHUAJU GEHw==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=s9mfU6zthAZ6lejAGSrFhjaK8VtPGCuQPRVpRXBpLKM=; b=aAgLyx/lDWbGCSPbiGtcySuOvFqAZUO4dPaNspTMahHKvw9/nvFe6i9pQ6VsgK4NNg jxVO8FgB5PzlpYi5mrtS3/Ky1DyMX2W82laRdkSxHh1/m/+2Tjx5vQlfRg0gjTOrXvs+ WPQTqTCob/IDpR3gHW62shrajj3ShMXSGVcOPMoELLKla/OZGc8VzdWBbmIwPOw6JF38 D2z+qCHVioIVIjhr2iTc9tj4Vse6uUQgZ3tIWpvVPA5rwIun0f7pzEYvYiqdCcQ6PeVd E6KHCsS7/cW3ZJYRYMOROqXFO6kzVZrxMA5px6ggY+B866WKQNXczFPUuU/rDy+s2jAT AW+Q==
X-Gm-Message-State AHPjjUiDogWa7dhwhHNuuPWD8AjgRN6Bol57kDJ7cBb78DaMSMzQWR8r W7Sf3/eWb+kCSbtQuUDJ68SxYisZHg==
X-Google-SMTP-Source ADKCNb6HlhnMMHOEVbSZMAt28BKJUiqPIYzpEGINz5eRZ0RdXuFttH7n+JV4xyMtZWxF3W61X652gPWoScsmaYL11G8=
X-Received by 10.37.185.197 with SMTP id y5mr11076718ybj.246.1505186387583; Mon, 11 Sep 2017 20:19:47 -0700 (PDT)
MIME-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 34
Organization linux.* mail to news gateway
X-Original-Cc Byungchul Park <byungchul.park@lge.com>, Peter Zijlstra <peterz@infradead.org>, LKML <linux-kernel@vger.kernel.org>, Chris Zankel <chris@zankel.net>, "linux-xtensa@linux-xtensa.org" <linux-xtensa@linux-xtensa.org>
X-Original-Date Mon, 11 Sep 2017 20:19:46 -0700
X-Original-Message-ID <CAMo8Bf+o2cK1d9V5ZHtTNGgVcvqdMnd00PArNwYO+GLNYw3CBQ@mail.gmail.com>
X-Original-References <20170910183150.GA2172@roeck-us.net> <CAMo8BfK3ryJkZFpJMkRJc-xYA3vnwL8o5a+M2=fSWEMLgfTTAA@mail.gmail.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1730631

Show key headers only | 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