Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp540899ybk; Wed, 13 May 2020 06:47:53 -0700 (PDT) X-Google-Smtp-Source: APiQypLVxRRiKVJRyTN1p7G2k/wIxjr6zf4fAp/kZS0/loLkte6dfYcfDbKmVMKy5bDv7tGoI+s3 X-Received: by 2002:a17:906:4c8e:: with SMTP id q14mr23290797eju.208.1589377673644; Wed, 13 May 2020 06:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589377673; cv=none; d=google.com; s=arc-20160816; b=EgFwXq3gK0dKJnn9/BJpuxTEs8NleLmEqfiDtshmkK9yhId0NRX92t0QOM/erVW6eN jcfRUSj9gR6JCqJzeosJ0+Dzc49Wi5H2qCfXaTBE1tejhcuxlr0+yzwpINyq/eyyA1lh Zv2Vl+k/o3B5pIaOTFJEgqFyOnxSC4TCy/x7mwBV3gDfI5FlT00gi9ppo/6cqKbCeK3x Xq1OJTVVdC+2EM//wyctEOIGp4HSFIbNiIcSt32wqfsK+nt3e4SngsRd5RuVrdCQJFhA sLfu1Xw72ACCRLCW4GbzVe9kzx9w+iPFj51ywUtRKw70KHN3zBRgA+SKdaFCp2H8GnmL S1qw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=jn3hP1qnzkb1c31h3TIhbAoFDtWIlpBF7+pEP/niR/Y=; b=eEEP8qcJHtKX3yA1vZzpHvUrFkQRLX3tOl0RC/nXud1w85vkicQ95ZMMRb8HLH1FtU T/dGtJIcojVwR71oB1Kt906Q1i1WBve59umSAHvrA5A0PCJ4fNpSDroXiqdym6zye0Vg +M93VjX3bp1eW6vvPzTNl/qz/vfOxX2j46hvpaFx4EE2KOmFGcpN1mV5W2/weJuBtFuy cJQ95bpRn/ZLsvEU2iQ2CPfHAYwyAO+s0iQsu9mAPFRcdh/6FBtxGlpfIXLksvLlxb9X P5+ZdbAhG7bJzLkJThX0y60ZvvBT70u/a39wbbTO0emtAVu8z0aBh0VUwLlkFZkrUz8j 04yA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o10si478341edf.122.2020.05.13.06.47.28; Wed, 13 May 2020 06:47:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388647AbgEMNqI (ORCPT + 99 others); Wed, 13 May 2020 09:46:08 -0400 Received: from mout.kundenserver.de ([217.72.192.75]:52323 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727792AbgEMNqH (ORCPT ); Wed, 13 May 2020 09:46:07 -0400 Received: from mail-qk1-f169.google.com ([209.85.222.169]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.145]) with ESMTPSA (Nemesis) id 1N8GAQ-1j3oIm3jYO-014G5Z; Wed, 13 May 2020 15:46:05 +0200 Received: by mail-qk1-f169.google.com with SMTP id n14so17317952qke.8; Wed, 13 May 2020 06:46:04 -0700 (PDT) X-Gm-Message-State: AOAM533fbFwAByBdxRZg1ARKoTtC1LGXbI1RZxIN0G7sHIlODdGSp1zh 6r28vLK9pS2e/OVxGyJ7XBcLDEkvN8KHBJpb5ho= X-Received: by 2002:a37:bc7:: with SMTP id 190mr5986610qkl.286.1589377563683; Wed, 13 May 2020 06:46:03 -0700 (PDT) MIME-Version: 1.0 References: <20200509120707.188595-1-arnd@arndb.de> <20200509120707.188595-2-arnd@arndb.de> <87v9l24qz6.fsf@kamboji.qca.qualcomm.com> <87r1vq4qev.fsf@kamboji.qca.qualcomm.com> <87d078tjl0.fsf_-_@kamboji.qca.qualcomm.com> <87zhacrokl.fsf@kamboji.qca.qualcomm.com> In-Reply-To: <87zhacrokl.fsf@kamboji.qca.qualcomm.com> From: Arnd Bergmann Date: Wed, 13 May 2020 15:45:47 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: gcc-10: kernel stack is corrupted and fails to boot To: Kalle Valo Cc: linux-wireless , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:UYMLIYN4+W8N6GV2myvxxS9Hoo2q8yX4hZE0qyPjTt6vqPRnIxi NTPYD3iWXf1i3f3bd5KRqXyrjaf0CZhcfiV3n3x9jIekCuDZA/CRP0Eic691sOqCJcLSrJK 5Cy9p0LigfsSbvWA+wH0AkZx7zf/qB2fEbNF9+cxuYMLKCt1TcOW5dWx8+UICFB487jMMWP eOnTjp+9gG9t+zVWW84Wg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:A1ICg6Vm0cI=:mweJpMklc8rssnZU08dXcA fG6WjqYJuPdd5pXEOEXUPPQlqEpUhiICtGlPR4Xl2Tk7IESMzDFEgBZt+c4+BNE1sB0Zqz4O6 tV5CBXPApmD/q6M+Kb+kVa+brfN/oPdHTUhkdyGA+v0BnsiY84O27K903d+5mH+YCJkbK8kVr DgEzAw4+24J2ruYwep2Fj7Hr10JLSNkxAUP24Mx6CxcuJPrsqJJiJoUYNSJ3RE7YtamwNeLFp o9kOBL4NQ7f0/y3zIxKmM9+5MVhtu3f3x3eIZcSJxQpKi2fBzgD/odwuC6zNIoOvyCqxCs8Fp wvtiP48X6gcsBGQ6JgBTPMcGCSEy8ibU6Q9A6+Em0SZJLvs3OKQmNe66qCaXHgQojS+AvbRB9 KixMoTkjUCYjBQoj+1MtLon/UJPB0u7qFhyh0tVNMcW94ixBLWoUpdwB18Q0T558lXnFkk2hj HMdV6GFwMC99bhvG4YldLYnoMQLQ9CV/MWyqn3WT5riHCF4tuiamV6sGP8lrRCWwe86JBZp0R RJ8yR681AjpR3Rjol1G4BpTC+g1SJWCxi1uXb9ow22JgwpwWVP1Hkjnj2znqSQJYcZDIit1S8 vn9bnjprtXmkhvIT1O1UXEpcy7C9CBGKssoPTRnevg5pjMCroqI7TPXL82Nq+J92y6XctiHn8 o3MZInvAF5Z0F8mDbK9qbKPjaiflJ4XICu/uqsBXQdsG238+HiStBjrgBm4nrrj+Th5S35Cwb 7MErjs/TvHy0z6Tl9WGh24oomfy7zeWXekN8m5PwOsPpS5XDdttKiUh2svH5ZbDyrBgek34bh 9wAQKM4dsIY3C9uVvzhJ5sOhS/Zw8mrvG3HOB+lpCPrXeBYuoo= Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Wed, May 13, 2020 at 2:57 PM Kalle Valo wrote: > > Arnd Bergmann writes: > > > On Wed, May 13, 2020 at 8:50 AM Kalle Valo wrote: > >> > >> Kalle Valo writes: > > > > At least if it fails reproducibly, it's probably not too hard to drill > > down further. Some ideas: > > > > * I'd first try to reproduce it in qemu. Since you don't even need > > any user space or modules, I would simply try > > $ qemu-system-x86_64 -nographic -monitor none -append > > "console=ttyS0" -serial stdio -smp 4 -kernel arch/x86/boot/bzImage > > I tried it here with an x86 defconfig linux-next kernel but did not > > run into the problem you described. > > Thanks, I'll try that but I expect it will take few days before I can do > it. > > > If you share your .config, I can try reproducing with that as well. > > Once there is a reproducer in qemu, it should be trivial to step > > through it using gdb. > > I have attached the .config I used with GCC 10.1. If you are able to > test it please do let me know how it went. Yes, I see the same problem now, but have not investigated any further. > > * There are still two prerelease compiler versions on kernel.org, > > from February and from April. You can try each one to see > > if this was a recent regression. It's also possible that there is > > a problem with my specific builds of gcc-10.1, and that the > > compiler is actually fine for others.The gcc-10 packages in > > Fedora/Debian/Ubuntu are probably better tested. > > I'm still using Ubuntu 16.04 so not sure how easy it is to find a > package for that, but maybe this is a good reason to finally my upgrade > my laptop :) I checked with the gcc-10 package from Ubuntu 20.04, same result as with my version, at least that indicates it's not my fault ;-) Arnd