-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[Bug]: Compiler error in link stage #9838
Comments
Thanks xlxie for the issue, can you make a pull request to fix the issue? |
No problem. Please allow me to spend sometime to learn about how to contribute to this project. |
See contributing.md, that would help you a lot about DCO and git flow |
/unassign |
maybe caused by :
refs: Hopefully helpful |
Signed-off-by: xlxie <[email protected]>
I just found the root cause. In my build, I use blas + lapack, we need to add -lblas and -llapack whenever we use blas. In the milvus official build, milvus uses openblas. Openblas includes the functions of both blas and lapack. As such, -lopenblas = -lblas + -llapack. It is no longer a issue if I use openblas in this build. As such, it is closed. |
Is there an existing issue for this?
Current Behavior
Error log:
Expected Behavior
Compile succeeded
Steps To Reproduce
Environment
Anything else?
I found that when building libmilvus_segcore.so and libmilvus_indexbuilder.so, compiler flag -llapack is missed. I added it manually and the compiling succeeded.
The text was updated successfully, but these errors were encountered: