gcc 14 added __arm_streaming as a macro expanding to [[arm::streaming]]. This breaks clang's tokenization of the attribute in clang/Basic/TokenKinds.h and other clang headers. Reported as llvm bug since llvm solved this issue in https://github.com/llvm/llvm-project/pull/78704 Reproducible: Always Steps to Reproduce: 1. Build https://pagure.io/fedora-asahi/mesa for rawhide/aarch64 Actual Results: build fails with > /usr/include/clang/Basic/AttrTokenKinds.inc:9:1: error: pasting "kw_" and "[" does not give a valid preprocessing token > 9 | KEYWORD_ATTRIBUTE(__arm_streaming) Expected Results: Build succeeds Copr build in https://copr.fedorainfracloud.org/coprs/ngompa/fedora-asahi-dev/build/6944195/ the rawhide aarch64 build error is unrelated to the merge request. A rebuild without the changes from the MR is expected to fail in the same way.
Created attachment 2010321 [details] build command and error output
*** This bug has been marked as a duplicate of bug 2259254 ***
my bad, I looked at https://packages.fedoraproject.org/pkgs/llvm/clang/ which links to the llvm rpm repo and uses the llvm component in bugzilla so I missed the clang bug and fix.
Janne, no problem. Please let us know if the fix doesn't work.