<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 --libs dumps core"
href="http://llvm.org/bugs/show_bug.cgi?id=16305">16305</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llvm-config --libs dumps core
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>llvm-config
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>devel@fresse.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>SD=/var/scratch/freundt/src/devel/llvm/tools/opt; \
DD=opt; \
if [ ! -f $SD/Makefile ]; then \
SD=opt; \
DD=opt; \
fi; \
if ([ ! -f $DD/Makefile ] || \
command test $DD/Makefile -ot \
$SD/Makefile ); then \
/var/scratch/freundt/src/devel/llvm/autoconf/mkinstalldirs $DD; \
/bin/cp $SD/Makefile $DD/Makefile; \
fi; \
make -C $DD all
llvm-config:
/var/scratch/freundt/src/devel/llvm/include/llvm/ADT/StringRef.h:78:
llvm::StringRef::StringRef(const char*): Assertion `Str && "StringRef cannot be
built from a NULL argument"' failed.
/bin/sh: line 1: 14669 Aborted (core dumped)
/var/scratch/freundt/src/devel/llvm/build/Debug+Asserts/bin/llvm-config --libs
bitreader bitwriter asmparser irreader instrumentation scalaropts objcarcopts
ipo vectorize all-targets
make[2]: Entering directory
`/var/scratch/freundt/src/devel/llvm/build/tools/opt'
/var/scratch/freundt/src/devel/llvm/Makefile.rules:1057: *** llvm-config --libs
failed. Stop.
$ gdb /var/scratch/freundt/src/devel/llvm/build/Debug+Asserts/bin/llvm-config
core
$ bt
warning: no loadable sections found in added symbol-file system-supplied DSO at
0x7fff36bfe000
Core was generated by
`/var/scratch/freundt/src/devel/llvm/build/Debug+Asserts/bin/llvm-config
--libs'.
Program terminated with signal 6, Aborted.
#0 0x00002b7f275b1ab5 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00002b7f275b1ab5 in raise () from /lib64/libc.so.6
#1 0x00002b7f275b2fb6 in abort () from /lib64/libc.so.6
#2 0x00002b7f275aa385 in __assert_fail () from /lib64/libc.so.6
#3 0x000000000040643f in llvm::StringRef::StringRef(char const*) () at
/var/scratch/freundt/src/devel/llvm/include/llvm/ADT/StringRef.h:78
#4 0x0000000000404a35 in ComputeLibsForComponents(std::vector<llvm::StringRef,
std::allocator<llvm::StringRef> > const&, std::vector<llvm::StringRef,
std::allocator<llvm::StringRef> >&, bool) ()
at
/var/scratch/freundt/src/devel/llvm/tools/llvm-config/llvm-config.cpp:103
#5 0x000000000040604a in main () at
/var/scratch/freundt/src/devel/llvm/tools/llvm-config/llvm-config.cpp:328</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>