http://llvm.org/bugs/show_bug.cgi?id=16902
Bug ID: 16902
Summary: llvm-config omitting curses libraries
Product: new-bugs
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
At least with revision 188466, llvm-config is failing to report a curses
dependency (-ltinfo in my case) established by LLVM's configure script:
$ llvm-config --ldflags
-L/usr/local/stow/llvm-latest/lib -lbfd -lz -lpthread -lffi -lrt -ldl -lm
-lopagent -L/usr/lib/oprofile -Wl,-rpath,/usr/lib/oprofile
One ramification is that DragonEgg, which uses llvm-config to determine what to
link to, fails to build:
$ make
Linking TargetInfo
/usr/local/stow/llvm-latest/lib/libLLVMSupport.a(Process.o): In function
`terminalHasColors':
/tmp/llvm/lib/Support/Unix/Process.inc:265: undefined reference to
`setupterm'
/tmp/llvm/lib/Support/Unix/Process.inc:283: undefined reference to
`tigetnum'
collect2: error: ld returned 1 exit status
make: *** [TargetInfo] Error 1
Is this problem perhaps a fallout of the change in curses detection implemented
in r188165? (I haven't checked.)
-- Scott
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs