Problem with build solver: internal compiler error: Segmentation fault

I ran into issues while trying to build solver, anyone who can help with how to solve the below error messages
Running python -m mfixgui.build_mfixsolver -DCMAKE_BUILD_TYPE=DEBUG -j --smp -DCMAKE_Fortran_COMPILER=gfortran
Building custom solver for gasifier_setup.mfx
Running cmake command:
cmake -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_Fortran_COMPILER=gfortran -DENABLE_PYMFIX=ON -DENABLE_OpenMP=ON -G “MinGW Makefiles” “-DCMAKE_INSTALL_PREFIX=E:\PhD simulations\MFix simulations\gasifier_setup” “-DUDF_DIR=E:\PhD simulations\MFix simulations\gasifier_setup” C:\Users\emazo\miniforge3\envs\mfix-24.1.1\share\mfix\src

– Found Python3: C:/Users/emazo/miniforge3/envs/mfix-24.1.1/python.exe (found version “3.11.8”) found components: Interpreter
– MFIX build settings summary:
– Build type = DEBUG
– CMake version = 3.28.3
– Fortran compiler = gfortran
– Fortran flags =
– ENABLE_MPI = OFF
– ENABLE_OpenMP = ON
– ENABLE_CTEST = OFF
– ENABLE_COVERAGE = OFF
– The Fortran compiler identification is unknown
– The C compiler identification is GNU 5.3.0
– Detecting Fortran compiler ABI info
– Detecting Fortran compiler ABI info - failed
– Check for working Fortran compiler: C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/mingw-w64/bin/gfortran.exe
– Check for working Fortran compiler: C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/mingw-w64/bin/gfortran.exe - broken
CMake Error at C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/share/cmake-3.28/Modules/CMakeTestFortranCompiler.cmake:59 (message):
The Fortran compiler

"C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/mingw-w64/bin/gfortran.exe"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: 'E:/PhD simulations/MFix simulations/gasifier_setup/build_smp/CMakeFiles/CMakeScratch/TryCompile-jswk2c'

Run Build Command(s): C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/bin/cmake.exe -E env VERBOSE=1 C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/mingw-w64/bin/mingw32-make.exe -f Makefile cmTC_f307a/fast
C:/Users/emazo/miniforge3/envs/mfix-24.1.1/Library/mingw-w64/bin/mingw32-make.exe  -f CMakeFiles\cmTC_f307a.dir\build.make CMakeFiles/cmTC_f307a.dir/build
mingw32-make.exe[1]: Entering directory 'E:/PhD simulations/MFix simulations/gasifier_setup/build_smp/CMakeFiles/CMakeScratch/TryCompile-jswk2c'
Building Fortran object CMakeFiles/cmTC_f307a.dir/testFortranCompiler.f.obj
C:\Users\emazo\miniforge3\envs\mfix-24.1.1\Library\mingw-w64\bin\gfortran.exe    -c "E:\PhD simulations\MFix simulations\gasifier_setup\build_smp\CMakeFiles\CMakeScratch\TryCompile-jswk2c\testFortranCompiler.f" -o CMakeFiles\cmTC_f307a.dir\testFortranCompiler.f.obj
<built-in>: internal compiler error: Segmentation fault
libbacktrace could not find executable to open
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://sourceforge.net/projects/msys2> for instructions.
CMakeFiles\cmTC_f307a.dir\build.make:76: recipe for target 'CMakeFiles/cmTC_f307a.dir/testFortranCompiler.f.obj' failed
mingw32-make.exe[1]: *** [CMakeFiles/cmTC_f307a.dir/testFortranCompiler.f.obj] Error 1
mingw32-make.exe[1]: Leaving directory 'E:/PhD simulations/MFix simulations/gasifier_setup/build_smp/CMakeFiles/CMakeScratch/TryCompile-jswk2c'
Makefile:126: recipe for target 'cmTC_f307a/fast' failed
mingw32-make.exe: *** [cmTC_f307a/fast] Error 2

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:11 (project)

– Configuring incomplete, errors occurred!

                 BUILD FAILED

==========================================================================

Hi @adefarati.oloruntoba
Are you still having trouble? I have not seen “Internal compiler error” before. If you are still experiencing this, please submit a full bug report (Main menu/Submit bug report)

Also, it appears that you are registered 3 times in this forum - @detobayob1 @detobayob and @adefarati.oloruntoba - is this deliberate? Why do you have 3 accounts?