<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - llvm-config omitting curses libraries"
href="http://llvm.org/bugs/show_bug.cgi?id=16902">16902</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-config omitting curses libraries
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>scott+llvm+bugzilla@pakin.org
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>