All of lore.kernel.org
 help / color / mirror / Atom feed
From: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
To: Alexei Starovoitov <alexei.starovoitov@gmail.com>
Cc: bpf <bpf@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>,
	Hari Bathini <hbathini@linux.ibm.com>,
	Saket Kumar Bhaskar <skb99@linux.ibm.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Kumar Kartikeya Dwivedi <memxor@gmail.com>
Subject: Re: [bpf-next] selftests/bpf fails to compile
Date: Tue, 11 Mar 2025 19:42:16 +0530	[thread overview]
Message-ID: <7e47814f-37de-417d-a84b-de21147e372f@linux.ibm.com> (raw)
In-Reply-To: <CAADnVQLUxTjYuvwyO0CMS5=e0YqmP525+EDfJX-=dH55g8XTXg@mail.gmail.com>


On 10/03/25 2:15 pm, Alexei Starovoitov wrote:
> On Mon, Mar 10, 2025 at 8:32 AM Venkat Rao Bagalkote
> <venkat88@linux.ibm.com> wrote:
>> Greetings!!!
>>
>> selftests/bpf fails to compile with below error on bpf-next repo with
>> commit head: f28214603dc6c09b3b5e67b1ebd5ca83ad943ce3
>>
>> Repo link:
>> https://web.git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/
>>
>> Reverting below commit resolves the issue.
>>
>> Commit ID: 48b3be8d7f82bea6affe6b9f11ee67380b55ede8
> ...
>
>> If you happen to fix the issue, please add below tag.
>>
>> Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
> Not quite. The issue is likely that your llvm is too old.
> Please upgrade.


Thanks for the feedback.

I did try the compilation on fedora41, with linux-mainline kernel and 
/sefltests/bpf compiled successfully. But on the same set-up 
/selftests/bpf failed to compile on bpf-next kernel.


OS: Fedora Linux 41 (Server Edition)
LLVM: llvm-19.1.7-3.fc41.ppc64le

gcc version 14.2.1 20250110 (Red Hat 14.2.1-7) (GCC)

Passing repo: 
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
Failing repo: 
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/

Regards,

Venkat.

>

  reply	other threads:[~2025-03-11 14:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-10  7:31 [bpf-next] selftests/bpf fails to compile Venkat Rao Bagalkote
2025-03-10  8:45 ` Alexei Starovoitov
2025-03-11 14:12   ` Venkat Rao Bagalkote [this message]
2025-03-11 14:40     ` Kumar Kartikeya Dwivedi

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=7e47814f-37de-417d-a84b-de21147e372f@linux.ibm.com \
    --to=venkat88@linux.ibm.com \
    --cc=alexei.starovoitov@gmail.com \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=hbathini@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=memxor@gmail.com \
    --cc=skb99@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.