@josh @bugaevc @llvm The lldtree has some shortcomings where it does no implement all the glibc loader semantics like glibc-hwcap, default system dirs for some ABIs (like risc-v that uses ilp32d/lp64d), it parses the ld.so.conf instead of the binary cache.
I also tried to mimic other loader behavior with rldd, like ld hints on openbsd/freebsd, and some android behavior.