BPF List
 help / color / mirror / Atom feed
From: Bart Van Assche <bvanassche@acm.org>
To: bpf@vger.kernel.org, Martin KaFai Lau <martin.lau@linux.dev>
Cc: Nilay Shroff <nilay@linux.ibm.com>
Subject: Kernel build fails if both CONFIG_DEBUG_INFO_BTF and CONFIG_KCSAN are enabled
Date: Mon, 17 Nov 2025 12:40:01 -0800	[thread overview]
Message-ID: <2412725b-916c-47bd-91c3-c2d57e3e6c7b@acm.org> (raw)

Hi,

If I enable both CONFIG_DEBUG_INFO_BTF and CONFIG_KCSAN in the kernel 
configuration, the
kernel build fails as follows:

$ make
[ ... ]
WARN: multiple IDs found for 'task_struct': 107, 36417 - using 107
WARN: multiple IDs found for 'vm_area_struct': 271, 36434 - using 271
[ ... ]
make[2]: *** [scripts/Makefile.vmlinux:72: vmlinux.unstripped] Error 255
make[2]: *** Deleting file 'vmlinux.unstripped'
make[1]: *** 
[/usr/local/google/home/bvanassche/software/linux-kernel/Makefile:1242: 
vmlinux] Error 2
make: *** [Makefile:248: __sub-make] Error 2

Is this a known issue?

Thanks,

Bart.


             reply	other threads:[~2025-11-17 20:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17 20:40 Bart Van Assche [this message]
2025-11-18 12:07 ` Kernel build fails if both CONFIG_DEBUG_INFO_BTF and CONFIG_KCSAN are enabled Alan Maguire
2025-11-18 16:47   ` Bart Van Assche
2025-11-20 14:20     ` Alan Maguire
2025-11-20 17:53       ` Kernel build fails if both CONFIG_DEBUG_INFO_BTF and CONFIG_CHELSIO_T4=y (was CONFIG_KCSAN) Alan Maguire
2025-11-20 18:05         ` Potnuri Bharat Teja
2025-11-20 22:18           ` Alan Maguire
2025-11-21 17:22             ` Bart Van Assche
2025-11-21 18:15               ` Alan Maguire
2025-11-24 11:48                 ` Potnuri Bharat Teja

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2412725b-916c-47bd-91c3-c2d57e3e6c7b@acm.org \
    --to=bvanassche@acm.org \
    --cc=bpf@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=nilay@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox