Skip to content

the clang-10 compile the __sync_add_and_fetch() fail in aarch64 bpf code #62084

Open
@wjefen

Description

@wjefen

<1>the error information is as follows:

  1. parser at end of file
  2. Code generation
  3. Running pass 'Function Pass Manager' on module 'xxx.bpf.c'.
  4. Running pass 'BPF PreEmit Checking' on function '@func'

<2>the x86-clang-9 or arm64/ -emit-llvm->opt->llvm-dis->llc is ok
<3>__atomic_fetch_add() alse error

Is it necessary to upgrade or is there a better way

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions