Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp187468pxk; Wed, 16 Sep 2020 01:31:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAYsiD0GvWvkr35GdQ721osAB4QGtCh8iKc88U9c/iMoLTGCEWapwGBPckwwHdJ7rS1UKa X-Received: by 2002:a17:906:4e82:: with SMTP id v2mr24900347eju.218.1600245101413; Wed, 16 Sep 2020 01:31:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600245101; cv=none; d=google.com; s=arc-20160816; b=xDnNghRVIx2ejbetGrOUlb5+vo2zDda7wnBULqnBFqds0WpAK5MrQhtgNPfk2wrtiA eci15DkgByETojQtnbftxzSCcmT8caHUkgNZkZnmkiih0gsVdXCQRlr8sSSdYoKSG207 uZhh2/GEQ9tX3IEW6r8424Ifee5JtXRgQSLXtHx/u6JAoMHjybj8ZfwprirFGRIyvEBi s8LAeDdftUPvrL41MYd0uWKVhWV9wup7E36UI8sX2hRqkxX8AHISGg6iEyCMp/bVxW7x SihxQlHmTvp1M/PwDO30r/+J8/9BWMr8NrEg346y+81XcfKPfzu4dxfzJxOWYLp8Kl/x /ehg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=QHHY9c/6O+Ni91iKJG2q/1GSjFd3jc5M8UDRptkyw7M=; b=pdJRYOy2XCirVq01nL6nAmib7ZtBQZnhZCFya+jzpPu+UQrg2A1KSUB5g+YNt8jvIR 3AiGQ9ZqDqPGPIGa32umJTrhV4QxB9TFBP+GtxVzAvWEFd5XsQsiaSvkdlL8OnR6NbVc 8TFFXUCS4P5HOZigQUqy19f62hycbUUDKygLVPpgrUO9SQgx8oLuddFqVfgrNWUXrIfL X+9lobUWOaYnu2hhQy26eev7Y6GLKDXmfHitsk6T2Lzv/1h2E8tGmsgvl1f5JSHwT0Tf a218S95cBYxZd9yjDbDBBXHDrLuz7a+yF2r7pJMVxWqcVWOqaENXaZRf5EljXXCGWK6t uGsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=merlin.20170209 header.b=o3PNTI1B; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x2si10635404eju.153.2020.09.16.01.31.19; Wed, 16 Sep 2020 01:31:41 -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=fail header.i=@infradead.org header.s=merlin.20170209 header.b=o3PNTI1B; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726438AbgIPIau (ORCPT + 99 others); Wed, 16 Sep 2020 04:30:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725840AbgIPIat (ORCPT ); Wed, 16 Sep 2020 04:30:49 -0400 Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BDC1AC06174A for ; Wed, 16 Sep 2020 01:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=merlin.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=QHHY9c/6O+Ni91iKJG2q/1GSjFd3jc5M8UDRptkyw7M=; b=o3PNTI1Ba8j5mF2bzU+XilaYbm ghyjuNQRVxu22Nro4tbWX2mWt69ayH4wOKlBZNLfSuFpQN0/P4+HjVpyh6PpZdyNQOoYpH4liCVus D4moMZN18Yb2QcEvUOtLZv4pcm3pDGipkNkoX1mXDiku9UXPJDQhVOeyNrRZpjs62YYadk33O3EpP jFuKK8K2/ENbRx2nveFP34naeI6DJfdONsgNrPGMjK3+r87j48uCOn9mWw/FwJntfMLFUtCXfEtaA ZqqZSzBrITojSdYbLqd4WyiJXPV0oRvjSxhuKtYDj8qSP0l1f9IZpPBKc9+R6O7B/CTOPo5pzNRfQ vMEXnXeQ==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by merlin.infradead.org with esmtpsa (Exim 4.92.3 #3 (Red Hat Linux)) id 1kISpo-0000n5-I0; Wed, 16 Sep 2020 08:30:36 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id A1A923050F0; Wed, 16 Sep 2020 10:30:32 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 8C9392127D319; Wed, 16 Sep 2020 10:30:32 +0200 (CEST) Date: Wed, 16 Sep 2020 10:30:32 +0200 From: peterz@infradead.org To: Marco Elver Cc: Josh Poimboeuf , Borislav Petkov , Nick Desaulniers , Rong Chen , kernel test robot , "Li, Philip" , x86-ml , LKML , clang-built-linux , Andrew Morton , Kees Cook , Masahiro Yamada , kasan-dev Subject: Re: [tip:x86/seves] BUILD SUCCESS WITH WARNING e6eb15c9ba3165698488ae5c34920eea20eaa38e Message-ID: <20200916083032.GL2674@hirez.programming.kicks-ass.net> References: <5f60c4e0.Ru0MTgSE9A7mqhpG%lkp@intel.com> <20200915135519.GJ14436@zn.tnic> <20200915141816.GC28738@shao2-debian> <20200915160554.GN14436@zn.tnic> <20200915170248.gcv54pvyckteyhk3@treble> <20200915172152.GR14436@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 15, 2020 at 08:09:16PM +0200, Marco Elver wrote: > On Tue, 15 Sep 2020 at 19:40, Nick Desaulniers wrote: > > On Tue, Sep 15, 2020 at 10:21 AM Borislav Petkov wrote: > > > init/calibrate.o: warning: objtool: asan.module_ctor()+0xc: call without frame pointer save/setup > > > init/calibrate.o: warning: objtool: asan.module_dtor()+0xc: call without frame pointer save/setup > > > init/version.o: warning: objtool: asan.module_ctor()+0xc: call without frame pointer save/setup > > > init/version.o: warning: objtool: asan.module_dtor()+0xc: call without frame pointer save/setup > > > certs/system_keyring.o: warning: objtool: asan.module_ctor()+0xc: call without frame pointer save/setup > > > certs/system_keyring.o: warning: objtool: asan.module_dtor()+0xc: call without frame pointer save/setup > > This one also appears with Clang 11. This is new I think because we > started emitting ASAN ctors for globals redzone initialization. > > I think we really do not care about precise stack frames in these > compiler-generated functions. So, would it be reasonable to make > objtool ignore all *san.module_ctor and *san.module_dtor functions (we > have them for ASAN, TSAN, MSAN)? The thing is, if objtool cannot follow, it cannot generate ORC data and our unwinder cannot unwind through the instrumentation, and that is a fail. Or am I missing something here?