<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 --- - trunk r264314 fails with polly: __multi3 is not available in the i386 compiler-rt"
href="https://llvm.org/bugs/show_bug.cgi?id=27077">27077</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>trunk r264314 fails with polly: __multi3 is not available in the i386 compiler-rt
</td>
</tr>
<tr>
<th>Product</th>
<td>Polly
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</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>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>polly-dev@googlegroups.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jeremyhu@apple.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>i386 builds of ffmpeg trunk are failing to link when built with polly. They
are linking just fine without polly. x86_64 is fine.
LD ffmpeg_g
Undefined symbols for architecture i386:
"___multi3", referenced from:
_color_correlation_bgr in libavfilter.a(vf_dctdnoiz.o)
_color_correlation_rgb in libavfilter.a(vf_dctdnoiz.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [ffmpeg_g] Error 1
__multi3 is only available in the compiler runtime on x86_64 and on Snow
Leopard+. It is not on i386:
Looking at El Cap:
/usr/lib/system $ nm -arch i386 libcompiler_rt.dylib | grep multi3
0000588f S $ld$hide$os10.4$___multi3
00005890 S $ld$hide$os10.5$___multi3
/usr/lib/system $ nm -arch x86_64 libcompiler_rt.dylib | grep multi3
0000000000005c9f S $ld$hide$os10.4$___multi3
0000000000005ca0 S $ld$hide$os10.5$___multi3
0000000000004696 T ___multi3</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>