-
Notifications
You must be signed in to change notification settings - Fork 183
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
Linking step fails with undefined symbols. #299
Comments
All 632 (unique) symbols that are undefined start with |
All 649 error lines containing 'undefined reference to' are of the following form:
showing that all undefined references come from files with a name like 196 of the errors are generated from gpu_op_cast.cc (the second one is gpu_op_relu.cc with 17 errors). The only file with only a single error are From which it seems that The files that generate two errors are: From which it seems that an error is produced by To make a long story short, it seems that the problem comes from the use of macros that use the macro MLIR_FUNCTION defined in
and well in particular:
which produces code like (I did some formatting):
|
I found out it is an upstream problem. As of 2.14 they aren't linking with the (634 generated) |
If you use bazel 6.1.0 it works. Then something else breaks, but this is a monologue anyway. Goodbye. |
After two hours of compiling, the linking step fails! :(
and then
I just ran it again, so everything was already compiled and we go straight to linking again:
Can you please give me a hint, or ask me to test something?
Note that I made the following change:
This is the only thing I changed.
The text was updated successfully, but these errors were encountered: