Skip to content

Mesa doesn't compile with gcc < 10 due to unknown option- fallow-invalid-boz #790

@DavidJJansen

Description

@DavidJJansen

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions