On Fri, Feb 14, 2025 at 12:14:49AM -0800, Josh Poimboeuf wrote: > On Fri, Feb 14, 2025 at 03:29:43PM +0800, Yafang Shao wrote: > > On Wed, Feb 12, 2025 at 12:11 AM Josh Poimboeuf <jpoimboe@xxxxxxxxxx> wrote: > > > Only problem is, objtool doesn't currently > > > have a dependency on CONFIG_DEBUG_INFO. > > > > Is there any reason we can't make it dependent on CONFIG_DEBUG_INFO?" > > Objtool is enabled by default on x86 and is pretty much required at this > point. x86_64, but yeah, disabling objtool for x86_64 is going to be *really* hard. i386 is still limping along without -- mostly because nobody cared enough to make it work. > We definitely don't want to force enable CONFIG_DEBUG_INFO as > that will slow the build down considerably. This, very much this. Same reason I hardly every use clang to build a kernel -- just too slow.