From: Richard S. <hob...@gm...> - 2025-07-22 13:31:21
|
Fedora will be upgrading to CMake 4.0 which is dropping compatibility with CMake versions < 3.5. This means that setting CMAKE_MINIMUM_REQUIRED < 3.5 will exit with an error. My workaround for Fedora is to set CMAKE_POLICY_VERSION_MINIMUM=3.5 as an environment variable or passed as an option to CMake, where I ran into a new Fortran issue. /usr/bin/ld: error: decoder.f90.o: is triggering the generation of an executable stack (because it has an executable .note.GNU-stack section) /usr/bin/ld: failed to set dynamic section sizes: No such file or directory collect2: error: ld returned 1 exit status This of course usually happens with major updates to gcc (15.1.1) which also updates fortran. Thanks, Richard KF5OIM |