Skip to content

GCC 15 Workaround#314

Merged
marvinfriede merged 4 commits intomainfrom
gcc15
Nov 5, 2025
Merged

GCC 15 Workaround#314
marvinfriede merged 4 commits intomainfrom
gcc15

Conversation

@marvinfriede
Copy link
Copy Markdown
Member

No description provided.

@marvinfriede marvinfriede linked an issue Nov 4, 2025 that may be closed by this pull request
@marvinfriede marvinfriede requested a review from Copilot November 4, 2025 17:39
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds detection and error handling for a GCC compiler bug that affects Fortran compilation in versions 15.0.x through 15.1.x. The changes prevent users from encountering "Interface mismatch" errors by blocking these problematic compiler versions at build time.

  • Added version checks in both Meson and CMake build systems to detect and reject GCC 15.0-15.1.x
  • Updated documentation to warn users about the affected GCC versions
  • Reorganized CI workflow matrix entries (Ubuntu jobs moved before macOS jobs)

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
config/meson.build Adds version check for GCC 15.0-15.1.x with error message directing users to upgrade or downgrade
config/CMakeLists.txt Implements equivalent GCC version check for CMake builds with FATAL_ERROR
doc/recipe/installation.rst Documents the GCC compiler bug in a note block referencing the bug report
README.md Adds collapsible "Problematic Versions" section warning about GCC 15.0.x-15.1.x
.github/workflows/fortran-build.yml Reorganizes test matrix, moving Ubuntu jobs before macOS jobs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

- `CMake <https://cmake.org/>`_ version 3.9 or newer

.. note::

Copy link

Copilot AI Nov 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is trailing whitespace on line 103. This should be removed to follow documentation best practices.

Suggested change

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <[email protected]>
@marvinfriede marvinfriede merged commit 30aa423 into main Nov 5, 2025
32 of 41 checks passed
@marvinfriede marvinfriede deleted the gcc15 branch November 5, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dftd4 fails to build in Fedora rawhide

2 participants