-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Cannot build <0.8.5 from source in M1 #12784
Comments
On my M1 machine I see a different (but the same compilation error) for both https://gist.github.com/roynalnaruto/5a44eec0f33cecf7c077c08dab99aec5
|
My boost version installed with |
Bumps SVM making Solidity compiler fall back to Rosetta for versions before 0.8.5 ref: alloy-rs/svm-rs#29 ethereum/solidity#12784
These errors should be easy to resolve. If you need some help, please don't hesitate to come to our chat on matrix / gitter. |
How should one be approaching this? I do not write much C++, so any guidance would be appreciated :) |
As I said: chat is probably best here. The first error can be fixed by adding |
Sorry, to |
Cherry-picking 8f56c6a on 0.8.1 gets me past the first error. Cherry-picking #11398 on v0.8.1 on boost 1.76/1.77 doesnt make a change unfortunately. On Brew, Boost 1.76 is the latest one ( So summarizing:
Extra context from @cameel: ethereum/solc-bin#53 (comment), ethereum/solc-bin#74, https://github.com/ethereum/solc-bin/blob/gh-pages/.github/workflows/random-macosx-build.yml on further complications as you try to build older solc versions |
Bumps SVM making Solidity compiler fall back to Rosetta for versions before 0.8.5 ref: alloy-rs/svm-rs#29 ethereum/solidity#12784
This issue has been marked as stale due to inactivity for the last 90 days. |
Hi everyone! This issue has been automatically closed due to inactivity. |
Bumps SVM making Solidity compiler fall back to Rosetta for versions before 0.8.5 ref: alloy-rs/svm-rs#29 ethereum/solidity#12784
Context
Given there are no official Apple Silicon (#12291) builds, we have started building them and packaging on our own here https://github.com/roynalnaruto/svm-rs/ / https://github.com/roynalnaruto/solc-builds/tree/master/macosx/aarch64. Up to version 0.8.5 everything's good, but problems seem to arise for earlier versions, presumably some dependency versioning mismatch.
v0.8.1 and 0.8.2
Compiling <0.8.1 and >0.8.2 passes the above stage, but then produces a different error as shown below. Here's the diff between 0.8.2 and 0.8.3.
<v0.8.1, v0.8.3, v0.8.4
Interestingly enough, for the versions <0.8.1 and 0.8.3 and 0.8.4, it fails at a later stage, plausibly a
boost
version mismatchEnvironment
Steps to Reproduce
git checkout v0.8.1 && ./scripts/build.sh
The text was updated successfully, but these errors were encountered: