-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
Closed
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on
Description
Describe the bug
When cross-compiling LLVM, the produced llvm-config-native breaks when attempting to use it for the static libraries. The error messages are:
llvm-config: error: missing: /nix/store/bn4y633qrdc6972q6bdalvbawx8mv40p-llvm-aarch64-unknown-linux-gnu-12.0.1-dev/lib64/libLLVMDemangle.a
llvm-config: error: missing: /nix/store/bn4y633qrdc6972q6bdalvbawx8mv40p-llvm-aarch64-unknown-linux-gnu-12.0.1-dev/lib64/libLLVMSupport.a
...
Steps To Reproduce
Steps to reproduce the behavior:
nix-build -A pkgsCross.aarch64-multiplatform.llvm_12.dev./result-dev/bin/llvm-config-native --link-static --libs
Tested on current nixpkgs master (43ed124)
Expected behavior
Paths to the correct LLVM libraries are printed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken6.topic: cross-compilationBuilding packages on a different platform than they will be used onBuilding packages on a different platform than they will be used on