lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 26 Aug 2019 12:42:28 -0300
From:   Jason Gunthorpe <jgg@...pe.ca>
To:     Nathan Chancellor <natechancellor@...il.com>
Cc:     Nick Desaulniers <ndesaulniers@...gle.com>,
        Bernard Metzler <BMT@...ich.ibm.com>,
        Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
        LKML <linux-kernel@...r.kernel.org>,
        clang-built-linux <clang-built-linux@...glegroups.com>
Subject: Re: [PATCH] rdma/siw: Use proper enumerated type in map_cqe_status

On Mon, Aug 26, 2019 at 08:38:00AM -0700, Nathan Chancellor wrote:
> Hi Jason,
> 
> On Fri, Aug 23, 2019 at 11:24:27AM -0300, Jason Gunthorpe wrote:
> > On Thu, Jul 11, 2019 at 10:30:30AM -0700, Nathan Chancellor wrote:
> > > On Thu, Jul 11, 2019 at 02:18:08PM -0300, Jason Gunthorpe wrote:
> > > > On Thu, Jul 11, 2019 at 10:16:44AM -0700, Nick Desaulniers wrote:
> > > > > On Thu, Jul 11, 2019 at 6:39 AM Jason Gunthorpe <jgg@...pe.ca> wrote:
> > > > > >
> > > > > > On Thu, Jul 11, 2019 at 01:14:34AM -0700, Nathan Chancellor wrote:
> > > > > > > Maybe time to start plumbing Clang into your test flow until it can get
> > > > > > > intergrated with more CI setups? :) It can catch some pretty dodgy
> > > > > > > behavior that GCC doesn't:
> > > > > >
> > > > > > I keep asking how to use clang to build the kernel and last I was told
> > > > > > it still wasn't ready..
> > > > > >
> > > > > > Is it ready now? Is there some flow that will compile with clang
> > > > > > warning free, on any arch? (at least the portion of the kernel I check)
> > > > > 
> > > > > $ make CC=clang ...
> > > > > 
> > > > > Let us know if you find something we haven't already.
> > > > > https://clangbuiltlinux.github.io/
> > > > > https://github.com/ClangBuiltLinux/linux/issues
> > > > 
> > > > What clang version?
> > > > 
> > > > Jason
> > > 
> > > You'll need clang-9 for x86 because of the asm-goto requirement (or a
> > > selective set of reverts for clang-8) but everything else should be
> > > good with clang-8:
> > 
> > The latest clang-9 packages from apt.llvm.org do seem to build the
> > kernel, I get one puzzling warning under RDMA:
> > 
> > drivers/infiniband/hw/hfi1/platform.o: warning: objtool: tune_serdes()+0x1f4: can't find jump dest instruction at .text+0x118a
> 
> Any particular config that I should use to easily reproduce this?

Sure, attached. With the clang-9 build for Bionic

Jason

View attachment ".config" of type "text/plain" (72805 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ