Repository navigation
Open
Labels
0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: exoticExotic hardware or software platform6.topic: llvm/clangIssues related to llvmPackages, clangStdenv and related
Description
Nixpkgs version
- Unstable (25.11)
Steps to reproduce
Try building pkgsCross.aarch64-android.llvmPackages.libunwind (dependency of the platforms's stdenv.cc) with the fixes from #431477
Can Hydra reproduce this build failure?
Hydra doesn’t try to build the package.
Link to Hydra build job
No response
Relevant log output
libunwind> -- The C compiler identification is Clang 19.1.7
libunwind> -- The CXX compiler identification is Clang 19.1.7
libunwind> -- The ASM compiler identification is Clang with GNU-like command-line
libunwind> -- Found assembler: /nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang
libunwind> -- Detecting C compiler ABI info
libunwind> -- Detecting C compiler ABI info - failed
libunwind> -- Check for working C compiler: /nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang
libunwind> -- Check for working C compiler: /nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang - broken
libunwind> CMake Error at /nix/store/a3w3ka2d796ghlhf31il839c0658m5ih-cmake-3.31.7/share/cmake-3.31/Modules/CMakeTestCCompiler.cmake:67 (message):
libunwind> The C compiler
libunwind>
libunwind> "/nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang"
libunwind>
libunwind> is not able to compile a simple test program.
libunwind>
libunwind> It fails with the following output:
libunwind>
libunwind> Change Dir: '/build/libunwind-src-19.1.7/runtimes/build/CMakeFiles/CMakeScratch/TryCompile-FsAcOr'
libunwind>
libunwind> Run Build Command(s): /nix/store/wws3zb9sa7b21msrwh0b2018pl7bpsw6-ninja-1.12.1/bin/ninja -v cmTC_9a1b0
libunwind> [1/2] /nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang -MD -MT CMakeFiles/cmTC_9a1b0.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_9a1b0.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_9a1b0.dir/testCCompiler.c.o -c /build/libunwind-src-19.1.7/runtimes/build/CMakeFiles/CMakeScratch/TryCompile-FsAcOr/testCCompiler.c
libunwind> [2/2] : && /nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang CMakeFiles/cmTC_9a1b0.dir/testCCompiler.c.o -o cmTC_9a1b0 && :
libunwind> FAILED: cmTC_9a1b0
libunwind> : && /nix/store/9n2b8ksqj029hfb26d93i3f1da0w6s8i-aarch64-unknown-linux-android-clang-wrapper-19.1.7/bin/aarch64-unknown-linux-android-clang CMakeFiles/cmTC_9a1b0.dir/testCCompiler.c.o -o cmTC_9a1b0 && :
libunwind> aarch64-unknown-linux-android-ld.lld: error: unable to find library -l:libunwind.a
libunwind> aarch64-unknown-linux-android-ld.lld: error: unable to find library -l:libunwind.a
libunwind> clang: error: linker command failed with exit code 1 (use -v to see invocation)
libunwind> ninja: build stopped: subcommand failed.Additional context
No response
System metadata
- system:
"x86_64-linux" - host os:
Linux 6.16.0, NixOS, 25.11 (Xantusia), 25.11.20250731.94def63 - multi-user?:
yes - sandbox:
yes - version:
nix-env (Nix) 2.30.2 - channels(root):
"home-manager, nixos" - channels(axel):
"" - nixpkgs:
/nix/store/9x1a429wj6sy54bfr028820n5mgyvdri-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
- I assert that this is a bug and not a support request.
- I assert that this is not a duplicate of an existing issue.
- I assert that I have read the NixOS Code of Conduct and agree to abide by it.
Is this issue important to you?
Add a 👍 reaction to issues you find important.
Metadata
Metadata
Assignees
Labels
0.kind: build failureA package fails to build2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: exoticExotic hardware or software platform6.topic: llvm/clangIssues related to llvmPackages, clangStdenv and related
Activity