Closed Okabe-Rintarou-0 closed 6 days ago
@nlgwcy I can build successfully via ./build.sh, but cannot via make build
What is os version? I can compile successfully via make build
in openEuler 22.03 LTS SP3.
ubuntu 20.04, github action also failed
ubuntu 22.04 also failed.
I suspect the build image we used does not support memcpy
bpf_memcpy(begin, data, len)
change variable len to constant can compile. It seems problem that len is not constant.
Why can it build sucessfully with ./build.sh
The problem seems like as https://github.com/llvm/llvm-project/issues/93700#issuecomment-2138421752 descibed. maybe the llvm in our local machine and kemsh-build image is different.
What happened: In the current main branch, make build will fail
What you expected to happen: Should build success How to reproduce it (as minimally and precisely as possible): make build Anything else we need to know?:
Environment: