Build a static library on macOS - #20
Merged
Merged
Conversation
connorjward
added a commit
to firedrakeproject/firedrake
that referenced
this pull request
Aug 28, 2026
* Use supermesh main branch To get firedrakeproject/libsupermesh#20. * Fix supermesh linking for static libsupermesh.a This is likely never going to be an issue in practice because this fixes Linux for static libraries, and the core fix is only needed for macOS, where things work as is. However, it can't hurt.
This was referenced Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Over the past 1/2 weeks something has gone buggy in the macOS toolchain (current suspect is gfortran 16.2 but that is a total shot in the dark).
In Firedrake this has manifested as a missing symbol error when the smoke tests are run on macOS:
I have tracked this missing symbol error down to the following:
I see
I.e. the symbol exists in the object file
I see
the symbol is missing.
The 'fix' I have found is that the symbol appears to be correctly exported in a static library, as opposed to a shared one. I have tested Firedrake and this fixes the issue.