https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110812
--- Comment #41 from Jan Wassenberg <jan.wassenberg at gmail dot com> --- Sorry to reply late, I missed this one. Golly, 55min - that plus the hard freeze sounds like there might be swapping and/or OOM going on. It is true that the compiler is fairly RAM-hungry. FWIW my Macbook has 64 GiB and the workstation considerably more. In the medium term, we are considering moving to C++17 which would simplify the code a good bit. In the short term, I suppose limiting (or if RAM is tight entirely disabling, as you mentioned) the build parallelism is a decent workaround.
