Skip to content

Build failure: llvmPackages.libunwind for aarch64-android #431479

Open

Description

@axelkar

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

Is this issue important to you?

Add a 👍 reaction to issues you find important.

Activity

  1. added
    6.topic: exotic
    0.kind: build failure
    6.topic: llvm/clang
    on Aug 6, 2025
  2. added
    2.status: stale
    on Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    0.kind: build failure2.status: stale6.topic: exotic6.topic: llvm/clang

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions