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
gmp requires --disable-assembly
to static link
#19407
Comments
Please check if this works as expected:
|
Yes this works, thanks! |
Should I prepare a PR with that patch? |
4 tasks
FWIW: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
brew install
ing one, specific Homebrew/homebrew-core formula (not cask or tap) and not every time you runbrew
? If it's a generalbrew
problem please file this issue at https://github.com/Homebrew/brew/issues/new. If it's abrew cask
problem please file this issue at https://github.com/caskroom/homebrew-cask/issues/new. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.brew update
and retried your prior step?brew doctor
, fixed all issues and retried your prior step?brew gist-logs <formula>
(where<formula>
is the name of the formula that failed) and included the output link?brew gist-logs
didn't work: ranbrew config
andbrew doctor
and included their output with your issue?Static linking to
libgmp.a
from thegmp
package fails with:A similar warning (though no error) appears when static linking test.c from the formula.
The solution from the gmp forums is to compile with
--disable-assembly
on MacOS. I confirmed this works and it does not seem to have any side effects. Can I file a PR to add an option for this?The text was updated successfully, but these errors were encountered: