Measa fails to build with compilers older than gcc 10.x due to the option -fallow-invalid-boz hardcoded in src/amuse/community/mesa/Makefile .
As far as I can see, this option was added because gcc 10.x indeed needs it to be compatible with the code, but older gcc versions don't know the option and crash at that point; editing the Makefile in a local copy makes it again possible to make mesa.code .so, this option should be used only depending on the detected version of the compiler.
Measa fails to build with compilers older than gcc 10.x due to the option -fallow-invalid-boz hardcoded in src/amuse/community/mesa/Makefile .
As far as I can see, this option was added because gcc 10.x indeed needs it to be compatible with the code, but older gcc versions don't know the option and crash at that point; editing the Makefile in a local copy makes it again possible to make mesa.code .so, this option should be used only depending on the detected version of the compiler.