New comment by wangp on void-packages repository https://github.com/void-linux/void-packages/pull/37688#issuecomment-1242887130 Comment: I included mold in this PR because it depends on mimalloc. Regarding the CI failures for mold on i686: - we might need to set `MACHINE=i686` in the environment, otherwise the test scripts use the value of `uname -m` which is `x86_64` in the cross-compilation environment. - the i686 `mold` binary doesn't run in the cross-compilation environment because `/lib/ld-linux.so.2` is missing As a test, if I move the binary out of the way and replace it with the following script then most of the tests will pass. What is the proper way to fix it? ```sh #!/bin/sh export LD_LIBRARY_PATH=/usr/i686-pc-linux-gnu/usr/lib exec /usr/i686-pc-linux-gnu/usr/lib/ld-linux.so.2 ./mold-i686 "$@" ```