On Thu, Nov 17, 2022 at 5:57 PM Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> wrote: > > The latest clang nightly as of writing crashes with the given test case > for BPF linked lists wherever global glock, ghead, glock2 are used, > hence comment out the parts that cause the crash, and prepare this commit > so that it can be reverted when the fix has been made. More context in [0]. > > [0]: https://lore.kernel.org/bpf/d56223f9-483e-fbc1-4564-44c0858a1e3e@xxxxxxxx > > Signed-off-by: Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> Hi All, While looking at Dave's llvm fix I realized that there is a trivial workaround. So I've reverted this commit and pushed a workaround: https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=59b9bdd725bc39a1e1a408a6aaffce8fdfd44366