-
Notifications
You must be signed in to change notification settings - Fork 5
Error: linking with cc
failed
#322
Comments
Ah, I don't think anyone has been using Apple Silicon to work on Merino yet. I think in theory this should work, so it might worth figuring out what's going on here. That being said, I don't have access to Apple SIlicon, so it would be difficult for me to debug directly. This is certainly a strange issue! Could you paste the entire compilation log onto something like https://paste.mozilla.org and send it to me? |
Sent. I can also try running in a terminal in Rosetta mode, but I'd likely need to learn more about clearing out build cache, and potentially keep a separate install of rust for Rosetta. |
Clearing the build cache is simple: |
This sounds like this issue rust-lang/rust#90342 It offers a workaround: Feel free to reopen this if that doesn't solve it. |
When trying to compile this project for the first time and run tests, I ran into some linking error.
I ran the documented instructions:
The docker-compose configuration launched successfully, but
cargo test
failed with:I'm running on a new M1 Macbook Pro which could well be related. Do we know of anybody who has been doing development on merino using an Apple Silicon machine?
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: