Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752230AbdIKB6f (ORCPT ); Sun, 10 Sep 2017 21:58:35 -0400 Received: from mail-yw0-f170.google.com ([209.85.161.170]:36250 "EHLO mail-yw0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103AbdIKB6e (ORCPT ); Sun, 10 Sep 2017 21:58:34 -0400 X-Google-Smtp-Source: ADKCNb5eW0y/dHkSYHFSrWqkI4DofRHrUBM1TjVVOhvIxOR3qkqWjVVQdLtO7sKD4khd8vIESEg62cyeKtgQquzeZYE= MIME-Version: 1.0 In-Reply-To: <20170910183150.GA2172@roeck-us.net> References: <20170910183150.GA2172@roeck-us.net> From: Max Filippov Date: Sun, 10 Sep 2017 18:58:33 -0700 Message-ID: Subject: Re: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature' To: Guenter Roeck Cc: Byungchul Park , Peter Zijlstra , LKML , Chris Zankel , "linux-xtensa@linux-xtensa.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v8B1wdoE015060 Content-Length: 970 Lines: 25 On Sun, Sep 10, 2017 at 11:31 AM, Guenter Roeck 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