BPF List
 help / color / mirror / Atom feed
From: Alan Maguire <alan.maguire@oracle.com>
To: Bart Van Assche <bvanassche@acm.org>,
	bpf@vger.kernel.org, Martin KaFai Lau <martin.lau@linux.dev>
Cc: Nilay Shroff <nilay@linux.ibm.com>
Subject: Re: Kernel build fails if both CONFIG_DEBUG_INFO_BTF and CONFIG_KCSAN are enabled
Date: Tue, 18 Nov 2025 12:07:56 +0000	[thread overview]
Message-ID: <d296ec97-933a-4b19-aa75-714e69b3ac4f@oracle.com> (raw)
In-Reply-To: <2412725b-916c-47bd-91c3-c2d57e3e6c7b@acm.org>

On 17/11/2025 20:40, Bart Van Assche wrote:
> 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.
> 
> 

hi Bart, thanks for the report! Not a know issue to me at least; I tried
to reproduce it with pahole v1.31 + gcc 12 and no luck. Would you mind
sharing a few additional details:

- compiler version
- pahole version
- full .config

Thank you!

Alan

  reply	other threads:[~2025-11-18 12:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-17 20:40 Kernel build fails if both CONFIG_DEBUG_INFO_BTF and CONFIG_KCSAN are enabled Bart Van Assche
2025-11-18 12:07 ` Alan Maguire [this message]
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=d296ec97-933a-4b19-aa75-714e69b3ac4f@oracle.com \
    --to=alan.maguire@oracle.com \
    --cc=bpf@vger.kernel.org \
    --cc=bvanassche@acm.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