Skip to content
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 errors when moving to LLVM 14.0.6 #51

Open
kathlenehurt-sifive opened this issue Jul 13, 2023 · 3 comments
Open

Linking errors when moving to LLVM 14.0.6 #51

kathlenehurt-sifive opened this issue Jul 13, 2023 · 3 comments
Assignees

Comments

@kathlenehurt-sifive
Copy link

I'm attempting to update this library to use LLVM 14.0.6. I can compile the plugin and runtime library, but I encounter a linking error when attempting to build the easyjit-example test:

Undefined symbols for architecture arm64:
  "char* easy::layout::serialize_arg<char const*>(char const*)", referenced from:
      void* easy::layout::get_layout<char const*>() in camfilter.cpp.o
  "char* easy::layout::serialize_arg<unsigned char const*>(unsigned char const*)", referenced from:
      void* easy::layout::get_layout<unsigned char const*>() in camfilter.cpp.o
  "char* easy::layout::serialize_arg<unsigned char*>(unsigned char*)", referenced from:
      void* easy::layout::get_layout<unsigned char*>() in camfilter.cpp.o
  "char* easy::layout::serialize_arg<unsigned int>(unsigned int)", referenced from:
      void* easy::layout::get_layout<unsigned int>() in camfilter.cpp.o
ld: symbol(s) not found for architecture arm64

My fork:
https://github.com/kathlenehurt-sifive/easy-just-in-time/tree/llvm-14.0.6

Is this repo still being maintained?

@jmmartinez
Copy link
Owner

Hi!
Thank you so much for your effort. Unfortunately the library is not being maintained anymore since I didn't got much time to evolve it.

I'll book some time this week to finish moving it to LLVM 14 if that's ok.

Just out of curiosity, are you planning to use easy::jit for anything in particular?

@jmmartinez jmmartinez self-assigned this Jul 17, 2023
@kathlenehurt-sifive
Copy link
Author

@jmmartinez that would be GREATLY appreciated!

Yes, I'm developing a RISC-V functional model and am planning to use JIT to improve the simulator's performance.

@jmmartinez
Copy link
Owner

@kathlenehurt-sifive I've advanced a bit but there is a ton of work to do (updating usage of llvm api's and cmake scripts). I'm going on vacations next week so I won't be able to advance soon.

Yes, I'm developing a RISC-V functional model and am planning to use JIT to improve the simulator's performance

Just in case, keep in mind that this project is a PoC and never reached "industrial" quality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants