-dynamic-linker /lib64/ld-linux-x86-64.so.2
looks fine to me, this path should only be used at runtime. The real problem is LLD searching for libm at the wrong location, not sure what's going on.
↧
Comment by HolyBlackCat on lld cannot open /lib/x86_64-linux-gnu/libm.so.6 in cross compiling situation
↧