Received: by 10.213.65.68 with SMTP id h4csp1099551imn; Wed, 4 Apr 2018 12:35:17 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+5iIjt52B0LHhAWvXvm30yhBA2PUIEn12Ube16Z4lwX46zQRGZDU7Ng53XGaYHUomBhh5k X-Received: by 10.101.99.193 with SMTP id n1mr5638074pgv.446.1522870517845; Wed, 04 Apr 2018 12:35:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522870517; cv=none; d=google.com; s=arc-20160816; b=pMI0QFesaexnVSJv/b3XXxyT+BWFqV/GL1yvcOwhIIoNu0q2jgKyI3Bvc4qWuQMn/q 1MxrkZaog3080JBO6uzeX/o2LFOqhG3Q6eknzTEJn2KPLf9TLmYbia8D03rXACCzstAg d2Cn1AdWOWOHFxfFwdPYCvPQJOhe4tJ3smwoL+JpT4758EErWwI0p/yfJTQms/WxO1tn hSZ09Ohq2C+l0fIMzBIkB0jLZc4T0scYmsLR06bAh3Jx8jHDCzE4FoGb/iQ96Ybo8R1Q v6HRFlAifJtjlyUjKV3uuyBEo6QEIw7GVQ44TjyMgXMz9M6Q7Ypgwj9qUYIgsCe4ugpu KOXQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=NwQiVVI02bDvarG+aUYtvtB8DN2aJB7MazSG5MuybAk=; b=nSYOx3/uVHXigU3mODHpgT4SVZyZXsFMb2hmVokxrDWEIIZ8kVDAHfoszP7lhV+IPE VIH9sFsJ8YhpBHntRV6o+D7ZgAhQROF/sC9Cq43TowscCnEOlJQLs8JGG6IDZ76iNybz 5IF40rDR3EvtuxtD77DJ3fV1Ghs9K277fYW2SCKPJi087uw9ihnfVj6hvq5RP1N7k6u1 9ZapXgny9Jffowjl56uW0+GuMscseNS8xl2yrw47vdV1vNk6c3SsL6HSOqFAJ5RY7Ly+ q3nrj33tWL3F9zLb+NyxUu6QLpHPMDwHRhOw6srYB3ywpCjv3MYDMIS2VEzTfpiwIXjA Uqtg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k196si4111930pgc.700.2018.04.04.12.35.03; Wed, 04 Apr 2018 12:35:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751982AbeDDTct (ORCPT + 99 others); Wed, 4 Apr 2018 15:32:49 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:54566 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751535AbeDDTcs (ORCPT ); Wed, 4 Apr 2018 15:32:48 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2315240704A9; Wed, 4 Apr 2018 19:32:48 +0000 (UTC) Received: from treble (ovpn-120-110.rdu2.redhat.com [10.10.120.110]) by smtp.corp.redhat.com (Postfix) with SMTP id 52B2C8443C; Wed, 4 Apr 2018 19:32:47 +0000 (UTC) Date: Wed, 4 Apr 2018 14:32:47 -0500 From: Josh Poimboeuf To: Nick Desaulniers Cc: Greg KH , Matthias Kaehlcke , Ingo Molnar , Peter Zijlstra , Linus Torvalds , LKML , Thomas Gleixner , Andrew Morton , James Y Knight , Chandler Carruth , Stephen Hines , Kees Cook , groeck@chromium.org, Greg Hackmann Subject: Re: [GIT PULL] x86/build changes for v4.17 Message-ID: <20180404193247.lsoxe3xjcidwtlgv@treble> References: <20180402095033.nfzcrmxvpm46dhbl@gmail.com> <20180403085904.GY4082@hirez.programming.kicks-ass.net> <20180403095118.rpf7tj577dppvx7d@gmail.com> <20180403180658.GE87376@google.com> <20180404093823.GC25996@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0.1 (2016-04-01) X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Wed, 04 Apr 2018 19:32:48 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.7]); Wed, 04 Apr 2018 19:32:48 +0000 (UTC) for IP:'10.11.54.5' DOMAIN:'int-mx05.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jpoimboe@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 04, 2018 at 04:53:52PM +0000, Nick Desaulniers wrote: > (re-sending as plain text) > > On Wed, Apr 4, 2018 at 2:38 AM Greg KH wrote: > > There are known-bugs with building a kernel with clang right now (I > > pointed one out a few days ago about NULL checks being deleted from the > > clang output for no good reason, which really is scary for obvious > > reasons). > > Is this the thread you are referring to? > https://lkml.org/lkml/2018/3/27/1286 > > It's definitely something curious that I'll need to sit down and > investigate more. If there are other known instances, it would be good to > let me know. As Matthias mentioned elsewhere, it sounds like they're planning to implement -fno-delete-null-pointer-checks, which would presumably fix the above issue. Aside from the above-mentioned debugfs NULL checks, there was also another (seemingly valid) objtool warning: arch/x86/mm/pti.o: warning: objtool: pti_init() falls through to next function pti_user_pagetable_walk_pmd() I don't know if that one was also caused by removed NULL checks, but it's worth investigating. More details (and the .o file) here: https://lkml.kernel.org/r/20180319232255.GF37438@google.com -- Josh