[Lldb-commits] [clang] [compiler-rt] [lldb] [llvm] [Support] Remove terminfo dependency (PR #92865)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 31 17:06:15 PDT 2024


JDevlieghere wrote:

> Thanks @JDevlieghere! Could you add this special case?

I'm happy to help but I wouldn't feel comfortable making such a change without being able to reproduce and test it. 
 
> The authoritatively established and supported way to link with `ncurses` on most Linux platforms would be to use `pkg-config --libs ncurses` to the `LDFLAGS` for `ncurses` for the given compile target.

I'm confused, I thought the problem was that we are linking `ncurses` and that's not sufficient because it doesn't export all the symbols. Wouldn't the fix consist of linking `terminfo`, in addition to `ncurses` on the platform you're observing this on? I presume this isn't an issue on all Linux systems as we have bots running Ubuntu that do not have this issue. 

https://github.com/llvm/llvm-project/pull/92865


More information about the lldb-commits mailing list