-
-
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
I have tried upgrading some of my work projects to nixpkgs 23.05, but have encountered some issues with my PowerPC 64-bit big-endian cross-compiled binaries: they specify /usr/lib/ld.so.1 as their program interpreter.
I have bisected nixpkgs, and found the first bad commit to be 238a605 by @Artturin from PR #175649, but I'm not entirely sure where something went wrong. I'll be trying to reproduce the issue on some other systems.
Steps To Reproduce
Steps to reproduce the behavior:
nix build 'nixpkgs#pkgsCross.ppc64.hello'readelf -e ./result/bin/hello- or, try to
qemu-ppc64 ./result/bin/hello
Expected behavior
The ELF interpreter is the one from the GLIBC the derivation depends on.
Notify maintainers
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