Re: Issue with verifier error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 17, 2021 at 12:18 AM Neal Shukla <nshukla@xxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> We've encountered a compiler issue which leads to issues with the
> verifier. We compile with clang using the O2 optimization level. When we
> have a call to bpf_ntohs(udp_header->dest) and attempt to load the debug version
> we get a verifier error. Removing the bpf_ntohs(udp_header->dest) call and
> loading the debug version results in no errors, as does loading the
> non-debug version of our code.
...
> Any insight into the issue would be much appreciated. Thank you!

It could be related to optimizations that llvm was doing.
Could you please try the latest llvm trunk and the latest bpf-next?
Do you still see this issue?
If so, we will investigate. Pls provide full .c reproducer.

Thanks!



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux