Yep. Freezing could be caused by too little RAM when compiling on all cores. If you take the manual way omit -j [NUMOFCORES] from the make command. It might take ages on the Pi but shouldn’t consume all the memory.
I’m really curious how this pans out…
Best,
Flössie