<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 --- - Cross-DSO control flow integrity doesn't work for 32 target on 64-bit host"
href="https://llvm.org/bugs/show_bug.cgi?id=25902">25902</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cross-DSO control flow integrity doesn't work for 32 target on 64-bit host
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</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>hjl.tools@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>eugeni.stepanov@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>[hjl@gnu-mic-2 llvm-clang]$
/export/build/gnu/llvm-clang/build-x86_64-linux/./bin/clang -m32
--driver-mode=g++ -fuse-ld=gold -flto -fsanitize=cfi -fsanitize-cfi-cross-dso
-DSHARED_LIB
/export/gnu/import/git/llvm/projects/compiler-rt/test/cfi/cross-dso/icall/icall-from-dso.cpp
-fPIC -shared -o
/export/build/gnu/llvm-clang/build-x86_64-linux/projects/compiler-rt/test/cfi/cross-dso/icall/Output/icall-from-dso.cpp.tmp-so.so
ld.gold: /export/gnu/import/git/llvm/lib/IR/Constants.cpp:1643: static
llvm::Constant* llvm::ConstantExpr::getTrunc(llvm::Constant*, llvm::Type*,
bool): Assertion `C->getType()->getScalarSizeInBits() >
Ty->getScalarSizeInBits()&& "SrcTy must be larger than DestTy for Trunc!"'
failed.
clang-3.8: error: unable to execute command: Aborted (core dumped)
clang-3.8: error: linker command failed due to signal (use -v to see
invocation)
[hjl@gnu-mic-2 llvm-clang]$</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>