From: Yonghong Song <yonghong.song@linux.dev>
To: bpf <bpf@vger.kernel.org>, Eddy Z <eddyz87@gmail.com>,
Alexei Starovoitov <ast@kernel.org>
Subject: FYI: bpf selftest verif_scale_strobemeta_subprogs failed with latest llvm19
Date: Sun, 4 Feb 2024 22:57:53 -0800 [thread overview]
Message-ID: <32bde0f0-1881-46c9-931a-673be566c61d@linux.dev> (raw)
The selftest verif_scale_strobemeta_subprogs failed with latest llvm19 compiler.
For example,
$ ./test_progs -n 498
...
libbpf: prog 'on_event': BPF program load failed: Permission denied
libbpf: prog 'on_event': -- BEGIN PROG LOAD LOG --
combined stack size of 4 calls is 544. Too large
verification time 1417195 usec
stack depth 24+440+0+32
processed 53561 insns (limit 1000000) max_states_per_insn 18 total_states 1457 peak_states 308 mark_read 146
-- END PROG LOAD LOG --
libbpf: prog 'on_event': failed to load: -13
libbpf: failed to load object 'strobemeta_subprogs.bpf.o'
scale_test:FAIL:expect_success unexpected error: -13 (errno 13)
#498 verif_scale_strobemeta_subprogs:FAIL
Summary: 0/0 PASSED, 0 SKIPPED, 1 FAILED
The maximum stack size exceeded 512 bytes and caused verification failure.
The following llvm patch caused the above regression:
https://github.com/llvm/llvm-project/pull/68882
I will do some analysis and try to find a solution to resolve this failure.
Thanks,
Yonghong
next reply other threads:[~2024-02-05 6:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-05 6:57 Yonghong Song [this message]
2024-02-05 19:30 ` FYI: bpf selftest verif_scale_strobemeta_subprogs failed with latest llvm19 Andrii Nakryiko
2024-02-06 6:47 ` Yonghong Song
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=32bde0f0-1881-46c9-931a-673be566c61d@linux.dev \
--to=yonghong.song@linux.dev \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=eddyz87@gmail.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