<font size=2 face="sans-serif">Hi Lang,</font><br><br><font size=2 face="sans-serif">Yes, I'm using </font><font size=3>lazy
kaleidoscope JIT</font><font size=2 face="sans-serif">.</font><br><font size=2 face="sans-serif">Sure, I will file a bug.</font><br><br><font size=2 face="sans-serif">Thanks again!</font><br><font size=2 face="sans-serif">Revital</font><br><br><br><br><br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Lang Hames <lhames@gmail.com></font><br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">Revital1 Eres/Haifa/IBM@IBMIL</font><br><font size=1 color=#5f5f5f face="sans-serif">Cc:
</font><font size=1 face="sans-serif">llvmdev@cs.uiuc.edu</font><br><font size=1 color=#5f5f5f face="sans-serif">Date:
</font><font size=1 face="sans-serif">24/12/2015 04:30 PM</font><br><font size=1 color=#5f5f5f face="sans-serif">Subject:
</font><font size=1 face="sans-serif">Re: Help with
"Undefined temporary symbol" error</font><br><hr noshade><br><br><br><font size=3>Hi Revital,</font><br><br><font size=3>You're using the lazy kaleidoscope JIT, right? In that
case I think the JIT may be failing to promote the visibility of that string
when it breaks the module up. Can you file a bug on </font><a href=http://llvm.org/bugs><font size=3 color=blue><u>llvm.org/bugs</u></font></a><font size=3>and assign it it me?</font><br><br><font size=3>- Lang.</font><br><font size=3><br>Sent from my iPad</font><br><font size=3><br>On Dec 24, 2015, at 6:08 AM, Revital1 Eres <</font><a href=mailto:ERES@il.ibm.com><font size=3 color=blue><u>ERES@il.ibm.com</u></font></a><font size=3>>
wrote:<br></font><br><font size=2 face="Arial">Hello,</font><font size=3><br></font><font size=2 face="Arial"><br>I am trying to run toy program within the JIT as it is done in <br>Kaleidoscope examples.</font><font size=3><br></font><font size=2 face="Arial"><br>I am compiling two files: main.c and foo.c where foo.c which is dynamically
compiled contains<br>a call to printf.</font><font size=3><br></font><font size=2 face="Arial"><br>When I ran the program I get "LLVM ERROR: Undefined temporary symbol"
for symbol .L.str<br>and it seems to be related to the printf call within foo (when I remove
the call the run completes fine)</font><font size=3><br></font><font size=2 face="Arial"><br>Here's a snippet of the call from the IR:</font><font size=3><br></font><font size=2 face="Arial"><br>%call = call i32 (i8*, ...) @printf(i8* getelementptr inbounds ([7 x i8],
[7 x i8]* @.str, i32 0, i32 0))</font><font size=3><br></font><font size=2 face="Arial"><br>I appreciate any help with that.</font><font size=3><br></font><font size=2 face="Arial"><br>Thanks,<br>Revital</font><br><br><BR>