Created attachment 411916 [details] sys-devel:llvm-3.7.0-r1:20150914-115506.log.xz Looks to miss -lterminfo when ncurses[tinfo] is built.
And this seems to be introduced by lldb since core llvm supports libtinfo properly.
Backported from upstream: http://llvm.org/viewvc/llvm-project?view=revision&revision=247842 In 3.7.0-r2 ebuild