> 2023年4月18日 14:09,Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx> 写道: > > On Fri, Apr 14, 2023 at 09:06:57AM +0100, Jiaxun Yang wrote: >> LLVM toolchain does not support most of workarounds, detect >> those supports in Kconfig so we can hide unsupported workarounds >> to user. > > again hiding something, which then needs to be digged out is IMHO not > a good way. Agreed, my universal target is to make every defconfig build against clang so we can leverage clang’s warning to find any potential problems, and possibly use clang built kernel on machines that don't need those workaround. Seems like better option Is to let user to drop those configs manually. Will drop this two patch. Thanks Jiaxun > > Thomas. > > -- > Crap can work. Given enough thrust pigs will fly, but it's not necessarily a > good idea. [ RFC1925, 2.3 ]