Hello,
I'm currently hitting the following error while trying to build
toolchains for Arch Linux:
----------------------------
target: host-m4.install.pack
----------------------------
new rpath '${ORIGIN}/../lib' too large; maximum length 4
ptxdist: error: Failed to adjust rpath for
'/home/phoenix/build/tc-build/src/OSELAS.Toolchain-2018.12.0/platform-arm-v7a-linux-gnueabihf-gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/packages/host-m4-1.4.18/bin/m4'
make: ***
[/opt/lib/ptxdist-2018.12.0/rules/post/ptxd_make_world_install.make:60:
/home/phoenix/build/tc-build/src/OSELAS.Toolchain-2018.12.0/platform-arm-v7a-linux-gnueabihf-gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/state/host-m4.install.pack]
Error 1
Because chrpath can not dynamically allocate more space for the new
rpath. I found a bug report for oe-core which ran into the same issue
under [1].
Their suggested solution is to switch to patchelf [2]. Is there an interest
for this switch in ptxdist as well? If so I'll gladly send-patches.
[1] Link: https://patchwork.openembedded.org/patch/34653/
[2] Link: https://nixos.org/patchelf.html
Regards,
Rouven
_______________________________________________
ptxdist mailing list
[email protected]