Nixpkgs version
Steps to reproduce
Attempt to build llvmPackages.libc
Can Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/job/nixpkgs/unstable/llvmPackages_21.libc.x86_64-linux
Relevant log output
┃ > FAILED: [code=1] compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommon.x86_64.dir/sanitizer_platform_limits_posix.cpp.o
┃ > /nix/store/xp4knvpm38spcs9rk4dyg1scrg14i9q0-clang-wrapper-21.1.8/bin/clang++ -DHAVE_RPC_XDR_H=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/build/libc-src-21.1.8/compiler-rt/lib/sanitizer_common/.. …
┃ > /build/libc-src-21.1.8/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:160:10: fatal error: 'linux/scc.h' file not found
┃ > 160 | #include <linux/scc.h>
┃ > |
Additional context
I think this may need the same patch as llvmPackages.compiler-rt: # Linux removed linux/scc.h, which breaks building compiler-rt. Upstream LLVM has fixed it in LLVM 22 and 23.
System metadata
- system:
"x86_64-linux"
- host os:
Linux 6.18.44, NixOS, 26.11 (Zokor), 26.11.20260813.0e251e2
- multi-user?:
yes
- sandbox:
yes
- version:
nix-env (Nix) 2.34.8
- nixpkgs:
/nix/store/31w94yhfpllma9jnlgavjkzsfs548ijx-source
Notify maintainers
@NixOS/llvm
Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)
I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Nixpkgs version
Steps to reproduce
Attempt to build
llvmPackages.libcCan Hydra reproduce this build failure?
Yes, Hydra can reproduce this build failure.
Link to Hydra build job
https://hydra.nixos.org/job/nixpkgs/unstable/llvmPackages_21.libc.x86_64-linux
Relevant log output
Additional context
I think this may need the same patch as
llvmPackages.compiler-rt:# Linux removedlinux/scc.h, which breaks building compiler-rt. Upstream LLVM has fixed it in LLVM 22 and 23.System metadata
"x86_64-linux"Linux 6.18.44, NixOS, 26.11 (Zokor), 26.11.20260813.0e251e2yesyesnix-env (Nix) 2.34.8/nix/store/31w94yhfpllma9jnlgavjkzsfs548ijx-sourceNotify maintainers
@NixOS/llvm
Note for maintainers: Please tag this issue in your pull request description. (i.e.
Resolves #ISSUE.)I assert that this issue is relevant for Nixpkgs
Is this issue important to you?
Add a 👍 reaction to issues you find important.