We also noticed that it’s the only non-multithreaded stage of the build process. We tried to raise the issue in here ( WebGL build "linking build.js (wasm)" takes forever page-4) with @JustBeanUnity but to no avail.
Might also only happen on AMD CPUs vs Intels but again, hard to submit a bug report on that.