Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp28941imm; Thu, 7 Jun 2018 13:12:19 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIVoN3FfxUhi09XEuyJ8EKjjB6nwLsJgBuu/orlmf7csRJwFlcl45xdUD2T3hYgbsB92SbN X-Received: by 2002:a17:902:5a4c:: with SMTP id f12-v6mr3420376plm.85.1528402339077; Thu, 07 Jun 2018 13:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528402339; cv=none; d=google.com; s=arc-20160816; b=Un7t4tfoUfcFn8QsPJgMj7IbQZNlpXd+oAkfE7j+JGKSci6rfURdQs1KxzqHT1VpI9 UeRneWo00hg8pyhFJGq02XCcRhy60/lZsFty3ChVKFvWf6db3NQwBGj5PAE8Bs6LHU7I r+RFKUlslC3oc+m3wH9JUAV3I8Jk0oR1FytYHCLY6lVELyLCcRdG7i7QoUmhYrsEP068 3WVyU51uCOSkkzuy1EkwE0mKJ3vihFPpwMuzfl3m9ccvciwY4cLtexR97wif+j8nIO1j AKTQYWVHRKntHuWfV+d7jMGlc6jgAOaqqntzYyuh/ayQV1cPOGjct/6A2inZCFGa3LHH dhAg== 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:dkim-signature:arc-authentication-results; bh=LBLKM0jdeaq+0Ecy5E8mK68YfkXQLd6T5Spy+fBoDVI=; b=SQEAyTBswHaTt0OYUfw0WaQzMG1PQnpBhm4IJNuYivlyqLTAf+CElWvlNV1wursk1H LNpUyVxwP66TcYd9DwL56EF4jqT4ZjF5eita8qKZNYgtfEiT3jwyKMUwFuJYWIIdUWpx UPdkwcM0z15OkbvOpGVsLLu+WdUm0hVYhEkHpEyLYa47NJeqdf8bCjOhgifU2HiAs+AL q6do68liCUslx/vbV71L7b9mlveEWN8X0nY3xuRfXi9Qv0ZSi+agFZ3gLXekeKauNh84 3DNVyCQajVVPbKT+BsTgirViQyDibxfhUBb0kqi8VohtRGOH6wTRVqL9VGD4XRPmVByN EIaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=G1WrFgII; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o14-v6si42972948pgc.664.2018.06.07.13.11.57; Thu, 07 Jun 2018 13:12:19 -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; dkim=pass header.i=@kernel.org header.s=default header.b=G1WrFgII; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753057AbeFGUL2 (ORCPT + 99 others); Thu, 7 Jun 2018 16:11:28 -0400 Received: from mail.kernel.org ([198.145.29.99]:52680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751037AbeFGUL1 (ORCPT ); Thu, 7 Jun 2018 16:11:27 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 1FA3E20895; Thu, 7 Jun 2018 20:11:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1528402286; bh=5Hk6JyFDrdi19F+nO0Op9LqB8jmXdMne9xrVHreSEmg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G1WrFgIIl0Druhy32ZKNXVdNO4+6Uden2SOopvY5FavtF834Gpqni5+q5MdbwTi9Q oMnme18p5f2xBM5BQy8RouPi879R3yUk5s8ELOnd+VpfWwkH+wPNL3J8BrT73yT72n Ga2YK2MlVYr8pOA0I09kfW6I7DPUPUiJWxB02FHY= Date: Thu, 7 Jun 2018 22:11:02 +0200 From: Greg KH To: Nick Desaulniers Cc: Josh Poimboeuf , 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: <20180607201102.GA6844@kroah.com> References: <20180402095033.nfzcrmxvpm46dhbl@gmail.com> <20180403085904.GY4082@hirez.programming.kicks-ass.net> <20180403095118.rpf7tj577dppvx7d@gmail.com> <20180403180658.GE87376@google.com> <20180404093823.GC25996@kroah.com> <20180404193247.lsoxe3xjcidwtlgv@treble> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 07, 2018 at 12:23:31PM -0700, Nick Desaulniers wrote: > On Wed, Apr 4, 2018 at 12:32 PM Josh Poimboeuf wrote: > > > > 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. > > Just to follow this up, -fno-delete-null-pointer-checks is being added > to clang in: > https://reviews.llvm.org/D47894 > https://reviews.llvm.org/D47895 That's great news, thanks for letting us know. greg k-h