I'm building mangos zero on Ubuntu 22.04 LTS, I'm encountering an "internal compiler error", in response to what I believe is valid code, how can I avoid this?
[ 64%] Building CXX object src/shared/CMakeFiles/shared.dir/Utilities/EventProcessor.cpp.o
[ 64%] Linking CXX static library libshared.a
[ 64%] Built target shared
[ 64%] Built target revision_data.h
[ 64%] Building CXX object src/game/CMakeFiles/vmap2.dir/vmap/BIH.cpp.o
[ 64%] Building CXX object src/game/CMakeFiles/vmap2.dir/vmap/VMapManager2.cpp.o
[ 64%] Building CXX object src/game/CMakeFiles/vmap2.dir/vmap/MapTree.cpp.o
[ 64%] Building CXX object src/game/CMakeFiles/vmap2.dir/vmap/TileAssembler.cpp.o
during GIMPLE pass: vrp
/home/mangos/mangos/zero/server/src/game/vmap/TileAssembler.cpp: In member function ‘void VMAP::TileAssembler::exportGameobjectModels(const char*)’:
/home/mangos/mangos/zero/server/src/game/vmap/TileAssembler.cpp:390:10: internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.c:247
390 | void TileAssembler::exportGameobjectModels(const char *RAW_VMAP_MAGIC)
| ^~~~~~~~~~~~~
0x7fc368f7bd8f __libc_start_call_main
../sysdeps/nptl/libc_start_call_main.h:58
0x7fc368f7be3f __libc_start_main_impl
../csu/libc-start.c:392
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See for instructions.
make[2]: *** [src/game/CMakeFiles/vmap2.dir/build.make:118: src/game/CMakeFiles/vmap2.dir/vmap/TileAssembler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:800: src/game/CMakeFiles/vmap2.dir/all] Error 2
make: *** [Makefile:156: all] Error 2