New comment by oreo639 on void-packages repository https://github.com/void-linux/void-packages/pull/40606#issuecomment-1430811971 Comment: Alright, I think I see the issue. `libtool: link: cc -fPIC -DPIC -shared -nostdlib /usr/lib/../lib64/crti.o ...` is supposed to be `libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/../lib64/crti.o ...` That seems to be due to it being sed'ed to the form of `CC=${CC:=c++}` where that is just a regular assignment when compiled natively. (`CC="g++"`) The latest commit works for me with binfmt/qemu, feel free to verify when you are available @dkwo