CarolineConcatto wrote: So I think that problem may be that uint64_t is mapped to different types in stdint.h.
Clang’s target builtin uses the AArch64(/build/lib/clang/24/include/stdint.h) type: uint64_t == unsigned long but it looks like your host (/usr/include/stdint.h) uses: uint64_t == unsigned long long > __fpm 'fpm_t':'unsigned long long' Can you check if this fix to you: > The solution is to compile with an AArch64 sysroot containing matching > target libc headers, for example: > > build/bin/clang --target=aarch64-linux-gnu \ > --sysroot=/path/to/aarch64-sysroot \ > -c -o /dev/null -x c - > > The person should ensure the -H output selects stdint.h from that AArch64 > sysroot rather than /usr/include. https://github.com/llvm/llvm-project/pull/227722 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
