<html>
<head>
<base href="https://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 --- - Problem during "llvm-c-test" build"
href="https://llvm.org/bugs/show_bug.cgi?id=23144">23144</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Problem during "llvm-c-test" build
</td>
</tr>
<tr>
<th>Product</th>
<td>Build scripts
</td>
</tr>
<tr>
<th>Version</th>
<td>3.6
</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>cmake
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>petr_aleksandrov@mail.ru
</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>Created <span class=""><a href="attachment.cgi?id=14163" name="attach_14163" title="CMake cache used during build">attachment 14163</a> <a href="attachment.cgi?id=14163&action=edit" title="CMake cache used during build">[details]</a></span>
CMake cache used during build
During build the following errors occurs:
[5/785] Linking C executable bin/llvm-c-test
FAILED: : && /opt/develop/bin/cc -fPIC -Wall -W -Wno-unused-parameter
-Wwrite-strings -Wno-missing-field-initializers -pedantic -Wno-long-long
-Wno-comment -ffunction-sections -fdata-sections -std=gnu99 -Wstrict-prototypes
-O3 -DNDEBUG -Wl,-allow-shlib-undefined -Wl,-O3 -Wl,--gc-sections
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/disassemble.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/helpers.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/include-all.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/main.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/module.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/metadata.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/object.c.o
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/targets.c.o -o bin/llvm-c-test
-rdynamic lib/libLLVM.so -Wl,-rpath,"\$ORIGIN/../lib" && :
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
build_from_tokens: error: undefined reference to 'LLVMInt64Type'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
build_from_tokens: error: undefined reference to 'LLVMConstInt'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
build_from_tokens: error: undefined reference to 'LLVMBuildGEP'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
build_from_tokens: error: undefined reference to 'LLVMBuildLoad'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
build_from_tokens: error: undefined reference to 'LLVMBuildRet'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
build_from_tokens: error: undefined reference to 'LLVMBuildBinOp'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
handle_line: error: undefined reference to 'LLVMModuleCreateWithName'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
handle_line: error: undefined reference to 'LLVMInt64Type'
tools/llvm-c-test/CMakeFiles/llvm-c-test.dir/calc.c.o:calc.c:function
handle_line: error: undefined reference to 'LLVMPointerType'
...
I have switched "BUILD_SHARED_LIBS" on. Ubuntu 14.10.</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>