-
Notifications
You must be signed in to change notification settings - Fork 592
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 run risingwave binary on Mac OS M1 (when linked by zld
)
#8608
Comments
Did you check the developer guide? Maybe you can try
|
Yes, I've followed the developer guide and As mentioned, all of the code compiles fine, but the error is at runtime. I am a bit surprised by this, and in fact |
Maybe we could add a dependency to the |
It seems a common protobuf issue. You might find a solution here: |
What's your protobuf version? According the the issue, you might try to upgrade it.. |
This indeed sounds weird. Do you have more diagnostic information like where is the symbol used? |
Note that this is not related to missing binaries or anything of that sort. Please see the explanation above. |
Let me check on the |
This is indeed related to the linker.
The outcome is that if I use However, if I use I can see an issue about the Apple linker mentioned in the developer guide
It will be good to mention in the developer guide about the presence of the It appears that using |
Wow, thanks a lot for finding the cause. This indeed looks interesting 👀 BTW one quick question: How is Oh I get it, the RUSTFLAGS will be merged |
That's correct. It took me a little while to discover the flags that were coming from the Cargo config in the repo. I'll try upgrading |
zld
)
Looks like zld's developer has decided to stop developing it further and the llvm linker lld has now caught up to where zld was: https://eisel.me/lld. Hence, we can close this issue. Thanks @xxchan for adding the additional notes to the docs. |
Wild 😮 Thanks a lot for your work 👍 |
Describe the bug
I can build the
risingwave
source on my Mac OS M1 laptop. However, therisingwave
binary cannot be run due to a missing symbol. Here's the concise output to demonstrate the error:Using
c++filt
I can see that symbol as:Not sure where to look to diagnose this further. Any help is appreciated.
To Reproduce
Build from source and try to run as documented on a Mac OS M1 laptop
Expected behavior
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: