On Thu, May 07, 2020 at 03:35:47PM +0100, Will Deacon wrote: > On Thu, May 07, 2020 at 03:33:32PM +0100, Will Deacon wrote: > > Bugger, I'm still getting warnings (clang 11.0.1), but from an allmodconfig > > build now: > > warning: some functions compiled with BTI and some compiled without BTI > > warning: not setting BTI in feature flags > > (repeated many, many times). > > I'll try to get you some more info. Where are you getting this clang from? When I test using clang 11 from the LLVM apt repos right now it seems fine, and clang 11 doesn't seem to have been released yet so I'm guessing this is some kind of snapshot. > Quick look at the log suggests that these are caused by HDRTEST, whatever > that is. AFAICT that's something that's supposed to be checking for include guards and not doing anything fancy... I can't think what could cause this on a per-function basis.