Wrong ELF interpreter for cross-compiled PowerPC 64 big-endian #245162
Labels
0.kind: bug
Something is broken
6.topic: cross-compilation
Building packages on a different platform than they will be used on
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
qemu-ppc64 ./result/bin/hello
Expected behavior
The ELF interpreter is the one from the GLIBC the derivation depends on.
Notify maintainers
@Artturin
The text was updated successfully, but these errors were encountered: