Skip to content

Commit c1cdedd

Browse files
dongcarlfanquake
authored andcommitted
guix: Fix powerpc64(le) dynamic linker name
I used Guix's values for the powerpc64(le) dynamic linkers, and the /lib-prefix seems to be a Guix-ism rather than standard. The standard path for the linker-loaders start with /lib64. I've taken the new loader values from SYSDEP_KNOWN_INTERPRETER_NAMES in glibc's sysdeps/unix/sysv/linux/powerpc/ldconfig.h file. For future reference, loader path values can also be found on glibc's website: https://sourceware.org/glibc/wiki/ABIList?action=recall&rev=16 Github-Pull: #23148 Rebased-From: b96adcb
1 parent 92d44ff commit c1cdedd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/guix/libexec/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ case "$HOST" in
169169
arm-linux-gnueabihf) echo /lib/ld-linux-armhf.so.3 ;;
170170
aarch64-linux-gnu) echo /lib/ld-linux-aarch64.so.1 ;;
171171
riscv64-linux-gnu) echo /lib/ld-linux-riscv64-lp64d.so.1 ;;
172-
powerpc64-linux-gnu) echo /lib/ld64.so.1;;
173-
powerpc64le-linux-gnu) echo /lib/ld64.so.2;;
172+
powerpc64-linux-gnu) echo /lib64/ld64.so.1;;
173+
powerpc64le-linux-gnu) echo /lib64/ld64.so.2;;
174174
*) exit 1 ;;
175175
esac
176176
)

0 commit comments

Comments
 (0)