Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3471619ybt; Tue, 23 Jun 2020 03:11:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy63peRO+QUZXSy4gwYzOUKCTLBRmxpcpemcd6bQ6lv6AjRL9zi+dow1nV7IjaqG3hyIAIR X-Received: by 2002:a17:906:1ed2:: with SMTP id m18mr18751196ejj.529.1592907114585; Tue, 23 Jun 2020 03:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592907114; cv=none; d=google.com; s=arc-20160816; b=wgv8VEgFFTaMnfH2AConBgJ0yuVWEN9gLxclgTJc653G+P1L+fzmHbBf7AlKNAHvke RT+FA2paNhgy6V2i6KpQxYDsawve6GzOr3fFIzu94yQ1+3ACEgohv4+BF11bM7wEvFcS GR4q6tzNV2AIm3SNWXR0ahCTH9+fwG0EYwwJZTBcQOSc2Ev6yfD+FJHGdmN5wXNSzxIC TMcPZjrwm9Hapb3PuS2N4mDrukhH90oUXSrXa9vgTrV9t8oBoOI3UNLw40fCkeppNh0r whsTDFDZW39Hy7KRHw+i/r+08LXq8nBFd/3m5yGdGkJTXyokrz71yZAHUXzoNpt8od4s uGhA== 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:dkim-signature; bh=rU2hdhGD7fNtW6Y+12AGojPtiGkpRBwEsJIOODw6oSk=; b=usGDj3jR5WcqKq4R3qCBnkp7EYt+RabiPoabe7RfZHb50NzM0ynl370Zz1sjd7dX2C AckMM3X2FLvcRvo0xaFesS85Nnq3Icuzx+2z/Q5dtob6NXv7+A93vMWlyLN4ecW4rzrA Frv9yjItoZyGrhfwN5tR+YFGvjyB6by/fpI8SjFymOzAPXZ898hOMg+5dzh12W0nhxO6 jRgeM0CBfmWWkHa3V7RaAm6ZUs4DkgcmXbhWs2iVJpEIF7AoNvfFlUVSvKvTBkGDTLGa SqAjkDq70CNIBW2eKgelLFEzOLEEBcrDtx6COC4aV0lmaeVcKrz7e7rrkwk7dQ55ZnDV nFmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pCU7BT0t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 88si2338668edr.154.2020.06.23.03.11.31; Tue, 23 Jun 2020 03:11:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=pCU7BT0t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732242AbgFWKJT (ORCPT + 99 others); Tue, 23 Jun 2020 06:09:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728265AbgFWKJT (ORCPT ); Tue, 23 Jun 2020 06:09:19 -0400 Received: from mail-oi1-x242.google.com (mail-oi1-x242.google.com [IPv6:2607:f8b0:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C34AC061573 for ; Tue, 23 Jun 2020 03:09:19 -0700 (PDT) Received: by mail-oi1-x242.google.com with SMTP id c194so18375023oig.5 for ; Tue, 23 Jun 2020 03:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rU2hdhGD7fNtW6Y+12AGojPtiGkpRBwEsJIOODw6oSk=; b=pCU7BT0tDtwCvaiAm4xPhpb1ZoO7AvlAMIiGWxQqFb9kiDu3fiYmT+Y1yteEWeSc8M N1dfj19zTPci8X2KQTYhNOI719d7om5Q3LDRcDayt/Or/0DdPiNQ/Yu2eFHh7B9bQAk/ yhZILXAelpJfhCF34X76NuMC0NO+V2pFFftCrfwqJ/DNjQ7EzfIAYp21TpEW3BncSE2u ADuFCObQQiM6P0oROGxUywcr1Xmu6rKUJ6P/+pTuhSyUWRhVizBeUVr3R7/6w9hGV40t t/q9hOcDfwTdpaOkVqoy+jWDDyPuLd1gcisny5nVn5726xXHQfo6b6FjfE1K4dSGIqJ/ 7rUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rU2hdhGD7fNtW6Y+12AGojPtiGkpRBwEsJIOODw6oSk=; b=DC1JqkdHcYo4GblBpDEEDLOHFjJrv3OPa9SUeih0xjOiNi8aK5Pi6/8fjKE5l4peSt PF3zAQsGltiEG8FI8961RRnj77AmXFVUjLFLCFu3pWU6RWA2ohemxr588ljZxTMPSd8c OrrJK57H0XQjOgzRBH1lsDREnbtnQ9HlWqV/ae4D+MjW0NMEogJiZcK0GFbTNHL1iiAj uagRhmmUE3VhxwIhIvaO1/YTwk46tnRcUObZbe26eV7JN78GMzdkJNgjI1Pbsc7LWFTp vGDebOZBXr+0IML6l+KaM0KCnJhR+UMCzr4jzjIzUp4PeEHrxwAdH75D0RterxKQRXuh MIJw== X-Gm-Message-State: AOAM533uv/6Jb1YsU4G379vLYE24K9Rk2Bc+3NsnKNboqRg+NbPy2HqV xGHiypPbtIMnGZ3v5mX1jhfNfDCTY/8xZG62Mw5c2g== X-Received: by 2002:aca:530e:: with SMTP id h14mr15692305oib.172.1592906958117; Tue, 23 Jun 2020 03:09:18 -0700 (PDT) MIME-Version: 1.0 References: <000000000000c25ce105a8a8fcd9@google.com> <20200622094923.GP576888@hirez.programming.kicks-ass.net> <20200623124413.08b2bd65@canb.auug.org.au> <20200623093230.GD4781@hirez.programming.kicks-ass.net> In-Reply-To: <20200623093230.GD4781@hirez.programming.kicks-ass.net> From: Marco Elver Date: Tue, 23 Jun 2020 12:09:06 +0200 Message-ID: Subject: Re: linux-next build error (9) To: Peter Zijlstra Cc: Stephen Rothwell , syzbot , Borislav Petkov , "H. Peter Anvin" , Jim Mattson , joro@8bytes.org, kvm@vger.kernel.org, LKML , Linux Next Mailing List , Ingo Molnar , Paolo Bonzini , sean.j.christopherson@intel.com, syzkaller-bugs , Thomas Gleixner , vkuznets@redhat.com, wanpengli@tencent.com, "the arch/x86 maintainers" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 23 Jun 2020 at 11:32, Peter Zijlstra wrote: > > On Tue, Jun 23, 2020 at 12:44:13PM +1000, Stephen Rothwell wrote: > > Hi Peter, > > > > On Mon, 22 Jun 2020 11:49:23 +0200 Peter Zijlstra wrote: > > > > Hurmph, I though that was cured in GCC >= 8. Marco? > > > > So what causes this? Because we got a couple of these in our s390 builds last night as well. > > This is KASAN's __no_sanitize_address function attribute. Some GCC > versions are utterly wrecked when that function attribute is combined > with inlining. It wants to have matching attributes for the function > being inlined and function it is inlined into -- hence the function > attribute mismatch. > > > kernel/locking/lockdep.c:805:1: error: inlining failed in call to always_inline 'look_up_lock_class': function attribute mismatch > > include/linux/debug_locks.h:15:28: error: inlining failed in call to always_inline '__debug_locks_off': function attribute mismatch > > > > s390-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30 > > *groan*... So supposedly it was supposed to work on GCC-8 and later, see > commit 7b861a53e46b6. But now it turns out there's some later versions > that fail too. > > I suppose the next quest is finding a s390 compiler version that works > and then bumping the version test in the aforementioned commit. I'm trying to figure out by inspecting GCC changelogs which version and which arch is actually good. Thanks, -- Marco