Re: [EXTERNAL] Re: [PATCH v2 0/4] Enable measuring the kernel's Source-based Code Coverage and MC/DC with Clang

Wolber (US), Chuck
2024-11-22T19:32:18Z

> > On Thu, Oct 03, 2024 at 04:29:38PM -0700, Nathan Chancellor wrote:
> >
> > $ /usr/bin/time -v make -skj"$(nproc)" ARCH=x86_64 LLVM=1 mrproper {def,amd_mem_encrypt.,fortify_source.,llvm_cov.}config bzImage
> > ...
> > vmlinux.o: warning: objtool: __sev_es_nmi_complete+0x6e: call to kasan_check_write() leaves .noinstr.text section

%< SNIP %<

> > vmlinux.o: warning: objtool: acpi_idle_do_entry+0x4: call to perf_lopwr_cb() leaves .noinstr.text section
>
>
> Just saw this fly by, that looks like something is buggered bad. Notably
> lockdep_hardirqs_{on,off}() are noinstr.
>
>
> Is this patch-set causing this, or what?

No, these patches are not causing this. This patch-set appears to have exposed a
bug in the llvm linker (lld):

https://github.com/llvm/llvm-project/issues/116575

..Ch:W..