Open
Description
Steps To Reproduce
Steps to reproduce the behavior:
- build blender on a aarch64-linux system, which depends on clang 17 due to ispc
Build log
Build Log
error: builder for '/nix/store/9nx6b13kxjw969226n51bmxb51izf4hc-clang-17.0.6.drv' failed with exit code 1;
last 25 log lines:
> 756 | #define KEYWORD_ATTRIBUTE(X) KEYWORD(X, KEYALL)
> | ^~~~~~~
> /build/clang-src-17.0.6/clang/build/include/clang/Basic/AttrTokenKinds.inc:9:1: note: in expansion of macro 'KEYWORD_ATTRIBUTE'
> 9 | KEYWORD_ATTRIBUTE(__arm_streaming)
> | ^~~~~~~~~~~~~~~~~
> /build/clang-src-17.0.6/clang/build/include/clang/Basic/AttrTokenKinds.inc:9:19: warning: 'streaming' attribute only applies to function types [-Wattributes]
> 9 | KEYWORD_ATTRIBUTE(__arm_streaming)
> | ^~~~~~~~~~~~~~~
> /build/clang-src-17.0.6/clang/include/clang/Basic/TokenKinds.h:26:16: note: in definition of macro 'TOK'
> 26 | #define TOK(X) X,
> | ^
> /build/clang-src-17.0.6/clang/include/clang/Basic/TokenKinds.def:756:30: note: in expansion of macro 'KEYWORD'
> 756 | #define KEYWORD_ATTRIBUTE(X) KEYWORD(X, KEYALL)
> | ^~~~~~~
> /build/clang-src-17.0.6/clang/build/include/clang/Basic/AttrTokenKinds.inc:9:1: note: in expansion of macro 'KEYWORD_ATTRIBUTE'
> 9 | KEYWORD_ATTRIBUTE(__arm_streaming)
> | ^~~~~~~~~~~~~~~~~
> /build/clang-src-17.0.6/clang/build/include/clang/Basic/AttrTokenKinds.inc: In function 'constexpr bool clang::tok::isRegularKeywordAttribute(TokenKind)':
> /build/clang-src-17.0.6/clang/include/clang/Basic/TokenKinds.h:112:44: error: 'kw___arm_streaming' is not a member of 'clang::tok'
> 112 | #define KEYWORD_ATTRIBUTE(X) || (K == tok::kw_##X)
> | ^~~
> /build/clang-src-17.0.6/clang/build/include/clang/Basic/AttrTokenKinds.inc:9:1: note: in expansion of macro 'KEYWORD_ATTRIBUTE'
> 9 | KEYWORD_ATTRIBUTE(__arm_streaming)
> | ^~~~~~~~~~~~~~~~~
> ninja: build stopped: subcommand failed.
For full logs, run 'nix log /nix/store/9nx6b13kxjw969226n51bmxb51izf4hc-clang-17.0.6.drv'.
error: 1 dependencies of derivation '/nix/store/59p6d6p595d7s891vm0kkc8midbd1bnp-ispc-1.25.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/w2g6yqclds96iq6hj73gj8ahgs2q1zj9-embree-4.3.3.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pqy4icgf95767i092mnspg0b171qzn1z-python3.11-openusd-24.08.drv' failed to build
error: 1 dependencies of derivation '/nix/store/ycaf063fw2hxnh103jzididg3fzwhsdl-blender-4.3.2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/2n01x52swaz60zxhc2k385pywlmy98z1-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/i2l27rgy0jcli041jilzyr3zy8vw9hfl-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/fwnc83s4bpbzw67r4g9xx41chq5v4619-nixos-system-nixos-25.05.20250105.8bc4f19.drv' failed to build
Additional context
Related patch and issue: llvm/llvm-project#106521 (comment)
Alternatively maybe llvm could be updated in the ispc package but not sure if that is possible.
Metadata
- system: `"aarch64-linux"`
- host os: `Linux 6.6.69, NixOS, 24.11 (Vicuna), 24.11.712329.d29ab98cd4a7`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.24.11`
- channels(root): `"nixos-24.11.712329.d29ab98cd4a7"`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Notify maintainers
Note for maintainers: Please tag this issue in your PR.
Add a 👍 reaction to issues you find important.