Hi, The reason why one of the unit tests failed is because this unit test was triggering undefined behavior when generating its test values. In other words, there was no bug in the actual program, just in the unit test. This bug was fixed upstream in https://github.com/dolphin-emu/dolphin/commit/8d21fa56a1133529273d57df06888e42bb63fde7 (though do note that this commit depends on an earlier commit from the same pull request).
For what it's worth, in upstream we've only encountered this issue on arm64, not amd64. But since it is undefined behavior, I'm not too surprised that this issue doesn't act the same way in your build environment as in ours. I'm not sure how you want to proceed, but I hope this information was useful. JosJuice, dolphin-emu upstream maintainer