[llvm-bugs] [Bug 25902] New: Cross-DSO control flow integrity doesn't work for 32 target on 64-bit host

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 20 05:54:12 PST 2015


https://llvm.org/bugs/show_bug.cgi?id=25902

            Bug ID: 25902
           Summary: Cross-DSO control flow integrity doesn't work for 32
                    target on 64-bit host
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: hjl.tools at gmail.com
                CC: eugeni.stepanov at gmail.com, llvm-bugs at lists.llvm.org
    Classification: Unclassified

[hjl at 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 at gnu-mic-2 llvm-clang]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20151220/df797bed/attachment.html>


More information about the llvm-bugs mailing list