From: Guenter Roeck <linux@roeck-us.net>
To: Max Filippov <jcmvbkbc@gmail.com>
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>
Subject: Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature'
Date: Wed, 13 Sep 2017 11:49:00 -0700 [thread overview]
Message-ID: <20170913184900.GA2385@roeck-us.net> (raw)
In-Reply-To: <CAMo8Bf+o2cK1d9V5ZHtTNGgVcvqdMnd00PArNwYO+GLNYw3CBQ@mail.gmail.com>
On Mon, Sep 11, 2017 at 08:19:46PM -0700, Max Filippov wrote:
> 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
>
xtensa:allmodconfig builds fine with patched gcc-7.2.0.
Thanks a lot for the quick fix!
Guenter
prev parent reply other threads:[~2017-09-13 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-10 18:31 xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature' Guenter Roeck
2017-09-10 18:40 ` Peter Zijlstra
2017-09-11 1:58 ` Max Filippov
2017-09-12 3:19 ` Max Filippov
2017-09-13 18:49 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170913184900.GA2385@roeck-us.net \
--to=linux@roeck-us.net \
--cc=byungchul.park@lge.com \
--cc=chris@zankel.net \
--cc=jcmvbkbc@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-xtensa@linux-xtensa.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.