Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751406AbdIJSbz (ORCPT ); Sun, 10 Sep 2017 14:31:55 -0400 Received: from mail-pg0-f53.google.com ([74.125.83.53]:32855 "EHLO mail-pg0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750730AbdIJSbx (ORCPT ); Sun, 10 Sep 2017 14:31:53 -0400 X-Google-Smtp-Source: ADKCNb7LJfxaF0T4QLuHMY3I3QXceRc/XFKzypkzTdgUu2jhN6dpU3Pm5WztSWTGT6cGlj80RnaC9w== Date: Sun, 10 Sep 2017 11:31:50 -0700 From: Guenter Roeck To: Byungchul Park Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Chris Zankel , Max Filippov , linux-xtensa@linux-xtensa.org Subject: xtensa compiler error triggered by 'locking/lockdep: Implement the 'crossrelease' feature' Message-ID: <20170910183150.GA2172@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3204 Lines: 52 Hi, 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. Guenter --- # bad: [24e700e291d52bd200212487e2b654c0aa3f07a2] Merge branch 'x86-apic-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip # good: [569dbb88e80deb68974ef6fdd6a13edb9d686261] Linux 4.13 git bisect start '24e700e291d5' '569dbb88e80d' # good: [906dde0f355bd97c080c215811ae7db1137c4af8] Merge tag 'drm-for-v4.14' of git://people.freedesktop.org/~airlied/linux git bisect good 906dde0f355bd97c080c215811ae7db1137c4af8 # bad: [edc2988c548db05e33b921fed15821010bc74895] Merge branch 'linus' into locking/core, to fix up conflicts git bisect bad edc2988c548db05e33b921fed15821010bc74895 # good: [17bf1ad2e80db7c9bdafec9c2da72389247194e9] RDMA/mlx4: Properly annotate link layer variable git bisect good 17bf1ad2e80db7c9bdafec9c2da72389247194e9 # good: [fe91f28138e730790db014812623cfaadd318fa6] Merge tag 'hwmon-for-linus-v4.14' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging git bisect good fe91f28138e730790db014812623cfaadd318fa6 # bad: [e91498589746065e3ae95d9a00b068e525eec34f] locking/lockdep/selftests: Add mixed read-write ABBA tests git bisect bad e91498589746065e3ae95d9a00b068e525eec34f # bad: [28a903f63ec0811ead70ad0f8665e838d207a25e] locking/lockdep: Handle non(or multi)-acquisition of a crosslock git bisect bad 28a903f63ec0811ead70ad0f8665e838d207a25e # good: [b70cecf4b6b72a9977576ab32cca0e24f286f517] jump_label: Move CPU hotplug locking git bisect good b70cecf4b6b72a9977576ab32cca0e24f286f517 # good: [a9668cd6ee288c4838bc668880ac085be551cac2] locking: Remove smp_mb__before_spinlock() git bisect good a9668cd6ee288c4838bc668880ac085be551cac2 # good: [49347a986ab45eb1dafbf25170647c890f8ff192] locking/lockdep: Add a function building a chain between two classes git bisect good 49347a986ab45eb1dafbf25170647c890f8ff192 # good: [ce07a9415f266e181a0a33033a5f7138760240a4] locking/lockdep: Make check_prev_add() able to handle external stack_trace git bisect good ce07a9415f266e181a0a33033a5f7138760240a4 # bad: [23f873d8f9526ed7e49a1a02a45f8afb9ae5fb84] locking/lockdep: Detect and handle hist_lock ring buffer overwrite git bisect bad 23f873d8f9526ed7e49a1a02a45f8afb9ae5fb84 # bad: [b09be676e0ff25bd6d2e7637e26d349f9109ad75] locking/lockdep: Implement the 'crossrelease' feature git bisect bad b09be676e0ff25bd6d2e7637e26d349f9109ad75 # first bad commit: [b09be676e0ff25bd6d2e7637e26d349f9109ad75] locking/lockdep: Implement the 'crossrelease' feature