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
@Artturin
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.1as 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/helloqemu-ppc64 ./result/bin/helloExpected behavior
The ELF interpreter is the one from the GLIBC the derivation depends on.
Notify maintainers
@Artturin