Em Wed, Feb 03, 2021 at 03:21:58PM -0800, Andrii Nakryiko escreveu: > On Wed, Feb 3, 2021 at 1:48 PM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > Looks like CONFIG_DEBUG_INFO_BTF=y makes troubles with LLVM/Clang. > > Can we have a fix for Linux v5.11-rc6+ to avoid a selection of it when > > CC_IS_CLANG=y? > Let's first understand problems and try to fix them, please. Yeah, from what I've read this is something only related to clang building the kernel with DWARF5, right? I just delayed to tomorrow releasing pahole 1.20 as its late here and there is this discussion going on, what I have is at: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/log/?h=tmp.1.20 There is one patch more than what I think Sedat tried, that makes a Mark's patch for DWARF_TAG_call_site{_parameter} to be applied as well when processing inline expansions, which for what is being discussed here seems unrelated, just avoids tons of warnings when processing vmlinux with gcc 11 in fedora rawhide. - Arnaldo