Support aarm64 #2

Open
opened 2022-08-25 04:00:35 +00:00 by dboreham · 10 comments
Owner

Currently we know that some containers don't build, and some dependent images aren't published for aarm64.

Success building these containers:

cerc/ipld-eth-server                                             local              08c7638f3c88   21 minutes ago   76MB
cerc/ipld-eth-beacon-db                                          local              6701e94412ca   29 minutes ago   203MB
cerc/ipld-eth-db                                                 local              415783b75747   30 minutes ago   16.5MB
cerc/lighthouse                                                  local              15db110ce350   31 minutes ago   310MB
cerc/test-contract                                               local              59b1283ea984   47 minutes ago   1.26GB

go-ethereum-foundry does not build

Currently we know that some containers don't build, and some dependent images aren't published for aarm64. Success building these containers: ``` cerc/ipld-eth-server local 08c7638f3c88 21 minutes ago 76MB cerc/ipld-eth-beacon-db local 6701e94412ca 29 minutes ago 203MB cerc/ipld-eth-db local 415783b75747 30 minutes ago 16.5MB cerc/lighthouse local 15db110ce350 31 minutes ago 310MB cerc/test-contract local 59b1283ea984 47 minutes ago 1.26GB ``` `go-ethereum-foundry` does not build
Author
Owner

These containers build on macos ARM / Docker:

% docker image ls
REPOSITORY                     TAG       IMAGE ID       CREATED              SIZE
cerc/ipld-eth-server           local     df9047a903d8   About a minute ago   76MB
cerc/ipld-eth-beacon-indexer   local     acd75eea49a6   3 minutes ago        38.6MB
cerc/ipld-eth-beacon-db        local     7410503b1db1   3 minutes ago        203MB
cerc/ipld-eth-db               local     e004b0793349   4 minutes ago        16.5MB
cerc/lighthouse                local     6a73af64a0e6   4 minutes ago        310MB
cerc/go-ethereum-foundry       local     1e70edd07e6c   4 minutes ago        184MB
cerc/go-ethereum               local     9d3d8d85c99f   4 minutes ago        54MB
cerc/test-contract             local     9227b94c604c   6 minutes ago        1.26GB

The missing one is : cerc/eth-statediff-fill-service

I'm not sure how many of these built due to magic x64 emulation in the M1 mac docker VM.

These containers build on macos ARM / Docker: ``` % docker image ls REPOSITORY TAG IMAGE ID CREATED SIZE cerc/ipld-eth-server local df9047a903d8 About a minute ago 76MB cerc/ipld-eth-beacon-indexer local acd75eea49a6 3 minutes ago 38.6MB cerc/ipld-eth-beacon-db local 7410503b1db1 3 minutes ago 203MB cerc/ipld-eth-db local e004b0793349 4 minutes ago 16.5MB cerc/lighthouse local 6a73af64a0e6 4 minutes ago 310MB cerc/go-ethereum-foundry local 1e70edd07e6c 4 minutes ago 184MB cerc/go-ethereum local 9d3d8d85c99f 4 minutes ago 54MB cerc/test-contract local 9227b94c604c 6 minutes ago 1.26GB ``` The missing one is : `cerc/eth-statediff-fill-service` I'm not sure how many of these built due to magic x64 emulation in the M1 mac docker VM.
Author
Owner

On M1 macos, I can deploy a subset of components successfully:

laconic-so --verbose deploy-system --include db-sharding,contract,ipld-eth-server,go-ethereum-foundry up

It fails with the problem reported here https://github.com/cerc-io/stack-orchestrator/issues/4, but that's unrelated to ARM.

On M1 macos, I can deploy a subset of components successfully: ``` laconic-so --verbose deploy-system --include db-sharding,contract,ipld-eth-server,go-ethereum-foundry up ``` It fails with the problem reported here https://github.com/cerc-io/stack-orchestrator/issues/4, but that's unrelated to ARM.
Author
Owner

The base image for cerc/go-ethererum-foundary isn't published for ARM: https://github.com/cerc-io/stack-orchestrator/issues/85

The base image for cerc/go-ethererum-foundary isn't published for ARM: https://github.com/cerc-io/stack-orchestrator/issues/85
Author
Owner

cerc/fixturenet-eth-lighthouse also doesn't build for similar reasons.

`cerc/fixturenet-eth-lighthouse` also doesn't build for similar reasons.
Author
Owner
Depends on: https://github.com/cerc-io/stack-orchestrator/issues/148 and https://github.com/cerc-io/stack-orchestrator/issues/149
Author
Owner

It turns out the deeper you go into this the more stuff you find that nobody bothered to ship for ARM.
This includes the solidity compiler(!) and foundry and lighthouse.
Building all these projects from source is likely to require some effort so I don't expect us to have full ARM compatibility any time soon.

It turns out the deeper you go into this the more stuff you find that nobody bothered to ship for ARM. This includes the solidity compiler(!) and foundry and lighthouse. Building all these projects from source is likely to require some effort so I don't expect us to have full ARM compatibility any time soon.
Author
Owner

Container status:

  • foundry-rs/foundry (no)
  • cerc/foundry
  • cerc/test-contract
  • cerc/eth-statediff-fill-service
  • cerc/eth-statediff-service
  • cerc/go-ethereum
  • cerc/go-ethereum-foundry (no)
  • cerc/lighthouse
  • cerc/ipld-eth-db
  • cerc/ipld-eth-beacon-db
  • cerc/ipld-eth-beacon-indexer (no : alpine-bash)
  • cerc/ipld-eth-server
  • cerc/laconicd
  • cerc/laconic-registry-cli
  • cerc/fixturenet-eth-geth
  • cerc/fixturenet-eth-lighthouse (no: lcli)
  • cerc/watcher-mobymask
  • cerc/watcher-erc20
  • cerc/watcher-erc721
  • cerc/watcher-uniswap-v3
  • cerc/uniswap-v3-info
  • cerc/test-container
  • cerc/eth-probe
  • cerc/builder-js
  • cerc/keycloak
  • cerc/tx-spammer
  • cerc/builder-gerbil (no: solc)
Container status: - [ ] foundry-rs/foundry (no) - [x] cerc/foundry - [x] cerc/test-contract - [x] cerc/eth-statediff-fill-service - [x] cerc/eth-statediff-service - [x] cerc/go-ethereum - [ ] cerc/go-ethereum-foundry (no) - [x] cerc/lighthouse - [x] cerc/ipld-eth-db - [ ] cerc/ipld-eth-beacon-db - [ ] cerc/ipld-eth-beacon-indexer (no : alpine-bash) - [x] cerc/ipld-eth-server - [x] cerc/laconicd - [ ] cerc/laconic-registry-cli - [x] cerc/fixturenet-eth-geth - [ ] cerc/fixturenet-eth-lighthouse (no: lcli) - [ ] cerc/watcher-mobymask - [ ] cerc/watcher-erc20 - [ ] cerc/watcher-erc721 - [ ] cerc/watcher-uniswap-v3 - [ ] cerc/uniswap-v3-info - [x] cerc/test-container - [ ] cerc/eth-probe - [x] cerc/builder-js - [x] cerc/keycloak - [x] cerc/tx-spammer - [ ] cerc/builder-gerbil (no: solc)
Author
Owner

I forked foundry and added a Debian (not Apline) container to the project. Stack orchestrator is now using that via https://github.com/cerc-io/stack-orchestrator/pull/232

I forked foundry and added a Debian (not Apline) container to the project. Stack orchestrator is now using that via https://github.com/cerc-io/stack-orchestrator/pull/232
Author
Owner

Solidity compiler on arm issue : https://github.com/ethereum/solidity/issues/11351

Solidity compiler on arm issue : https://github.com/ethereum/solidity/issues/11351
Author
Owner

cerc/fixturenet-eth-lighthouse also doesn't build for similar reasons.

Specific issue for that: https://github.com/cerc-io/stack-orchestrator/issues/298

> `cerc/fixturenet-eth-lighthouse` also doesn't build for similar reasons. Specific issue for that: https://github.com/cerc-io/stack-orchestrator/issues/298
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#2
No description provided.