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
failed to link bin/lldb-server with: ../x86_64-pc-linux-gnu/bin/ld: lib/liblldbCore.a(IOHandlerCursesGUI.cpp.o): undefined reference to symbol 'halfdelay' #277
Comments
Hmm, weird. What distribution are you building it on? In practice, if you'd add Here, I presume the root cause of the issue is
which then causes the undefined reference to a symbol which probably was expected to be provided by that library. Unfortunately, it doesn't ring any bells for me about what might be wrong about that library... |
thanks for the fast answer, there is more fun down the road as it tries to link
|
I'm using gentoo with gcc-12.1.0 as the systems compiler, a full llvm/clang/lld toolchain is available too. here is my emerge --info
|
Can you maybe post a little patch for the build-llvm.sh file, which does the lib in question is of course present on the system |
|
thanks, I will patch it locally and give feedback. Are you okay with me using gcc to compile? |
Yeah, starting the build with GCC should be totally fine. (I regularly test it mostly with GCC 9 on Ubuntu 20.04 and GCC 7 on 18.04.) |
the patch makes it compile :) |
Thanks, that's good news. In any case, the underlying build failure of lldb on your distribution is primarily an upstream lldb bug then - which you can file at http://github.com/llvm/llvm-project/issues if you have time. To reproduce, clone llvm-project (or reuse the clone you already have under llvm-mingw) (you can try the
(The |
indeed, its possible to reproduce the issue exactly that way. propably a missing funny thing is, there is no breakage in the standalone build of gentoo's |
hey there, I just discovered this project and tried to compile it on x86_64 linux, following the instructions to simply execute
./build-all.sh /tmp/llvm-mingw-14.0
it all compiled nicely, but the linking of lldb fails with:
full build log is attached: build.log.gz
The text was updated successfully, but these errors were encountered: