<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 --- - Clang 3.2 (As shipped by Ubuntu 13.04 fails to compile poppler)"
href="http://llvm.org/bugs/show_bug.cgi?id=15321">15321</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Clang 3.2 (As shipped by Ubuntu 13.04 fails to compile poppler)
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>3.2
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>albert.astals@canonical.com
</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>If i try to build poppler 0.22 git branch with clang 3.2-1~exp5ubuntu2 i get
Building CXX object CMakeFiles/poppler.dir/fofi/FoFiTrueType.cc.o
/usr/bin/clang++ -DHAVE_CONFIG_H=1 -Dpoppler_EXPORTS -O2 -g -DNDEBUG
-DQT_NO_DEBUG -fPIC -I/home/test/poppler -I/home/test/poppler/fofi
-I/home/test/poppler/goo -I/home/test/poppler/poppler
-I/home/test/poppler/build -I/home/test/poppler/build/poppler
-I/usr/include/freetype2 -o CMakeFiles/poppler.dir/fofi/FoFiTrueType.cc.o -c
/home/test/poppler/fofi/FoFiTrueType.cc
fatal error: error in backend: Cannot select: 0x3acb180: i64 = fcos 0x3aca780
[ORD=1560] [ID=25]
dbg:/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algobase.h:991
0x3aca780: i64 = sra 0x3b33fe0, 0x3aec860 [ORD=1558] [ID=23]
dbg:/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algo.h:5515
0x3b33fe0: i64 = sub 0x3acab80, 0x3afb010 [ORD=1557] [ID=20]
dbg:/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algo.h:5515
0x3acab80: i64,ch = CopyFromReg 0x39554b0, 0x3b557e0 [ORD=1555] [ID=18]
dbg:/usr/bin/../lib/gcc/x86_64-linux-gnu/4.7/../../../../include/c++/4.7/bits/stl_algo.h:5515
0x3b557e0: i64 = Register %vreg39 [ORD=1555] [ID=2]
0x3afb010: i64,ch = CopyFromReg 0x39554b0, 0x3aea930 [ORD=1554] [ID=17]
0x3aea930: i64 = Register %vreg7 [ORD=1554] [ID=1]
0x3aec860: i8 = Constant<4> [ORD=1558] [ID=3]
In function: _ZN12FoFiTrueType8cvtSfntsEPFvPvPKciES0_P9GooStringbPi
This is caused by a std::sort call, if i comment it, it compiles fine.</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>