-
-
Notifications
You must be signed in to change notification settings - Fork 12.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python@3.10: skip LTO on Linux #113036
python@3.10: skip LTO on Linux #113036
Conversation
Fixes Homebrew/discussions#3734. This is essentially the same issue as Homebrew#112154, except that I'm not aware of a way to convert the bitcode for GCC. It's possible that there is no way to do this, given that GCC seems to consider its IR as an internal implementation detail.
This should probably be backported to the other |
Does this fix the
|
It may. I'm not sure. One thing worth checking is the output of My guess is that this does not fix it. Even The proper fix for that would likely be to make sure Vim links with |
🤖 A scheduled task has triggered a merge. |
I think we need to set
to make sure we link with the shared library on Linux when building Vim. There is a |
Currently, the python3 interpreter is linked statically on Linux. However, the embedded interpreter still needs the Python runtime to function, and this runtime is provided by the linked Python formula. The interpreter thus breaks whenever Python is updated, since it can no longer find the runtime. Let's try to fix this by making sure the interpreter is linked dynamically instead. See discussion at Homebrew#113036.
Fixes Homebrew/discussions#3734.
This is essentially the same issue as #112154, except that I'm not aware
of a way to convert the bitcode for GCC. It's possible that there is no
way to do this, given that GCC seems to consider its IR as an internal
implementation detail.
brew install --build-from-source <formula>
, where<formula>
is the name of the formula you're submitting?brew test <formula>
, where<formula>
is the name of the formula you're submitting?brew audit --strict <formula>
(after doingbrew install --build-from-source <formula>
)? If this is a new formula, does it passbrew audit --new <formula>
?