<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 --- - "Undefined temporary symbol" error in Kaleidoscope example"
href="https://llvm.org/bugs/show_bug.cgi?id=25940">25940</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>"Undefined temporary symbol" error in Kaleidoscope example
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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>eres@il.ibm.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>I am trying to run toy program within the JIT as it is done in
Kaleidoscope examples.
I am compiling two files: main.c and foo.c where foo.c which is dynamically
compiled contains
a call to printf.
When I ran the program I get "LLVM ERROR: Undefined temporary symbol" for
symbol .L.str
and it seems to be related to the printf call within foo (when I remove the
call the run completes fine)
Here's a snippet of the call from the IR:
%call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8], [7 x
i8]* @.str, i32 0, i32 0))</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>