Skip to content

Conversation

@egiurleo
Copy link

Motivation

Test plan

See included automated tests.

Copy link
Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Sorbet builds have been failing on MacOS 26 (Tahoe) with the following error:

```
 __DATA_CONST segment missing SG_READ_ONLY flag in /private/var/tmp/_bazel_emilysamp/d4f9f1bf3df434d7445caa2e7e6c895e/execroot/com_stripe_ruby_typer/bazel-out/darwin_arm64-opt-exec-2B5CBBC6/bin/parser/parser/generate_diagnostics
```

This is because LLVM 15's linker doesn't apply the `SG_READ_ONLY` flag
to these segments, and that is now required on the latest versions of MacOS.

We are able to build again after upgrading LLVM to 16.0.5.
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.

1 participant