From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 4 Apr 2018 18:59:14 +0200 From: Greg KH To: Nick Desaulniers Cc: 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: <20180404165914.GA9034@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Mailing-List: linux-kernel@vger.kernel.org List-ID: 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. Here is another horrible work around that was needed to get clang to stop generating invalid code, beaec533fc27 ("llist: clang: introduce member_address_is_nonnull()") That one caused a lot of odd failures by users, I wonder what else is lurking in that same code pattern. It's a hard one to debug... thanks, greg k-h