[llvm-bugs] [Bug 42063] New: LTO: GEP is not of right type for indices!

via llvm-bugs llvm-bugs at lists.llvm.org
Wed May 29 12:25:53 PDT 2019


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

            Bug ID: 42063
           Summary: LTO: GEP is not of right type for indices!
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: lto
          Assignee: unassignedbugs at nondot.org
          Reporter: phosek at chromium.org
                CC: llvm-bugs at lists.llvm.org

We're getting the following error when trying to build BoringSSL with LTO using
lld:

GEP is not of right type for indices!
  %1410 = getelementptr inbounds %"class.bssl::internal::StackAllocated.1896",
%"class.bssl::internal::StackAllocated.1896"* %116, i64 0, i32 0, i32 0, !dbg
!342099
 %"type 0x86cc630"*in function _ZN25EVPExtraTest_Ed25519_Test8TestBodyEv
LLVM ERROR: Broken function found, compilation aborted!

Reproducer is at
https://storage.googleapis.com/fuchsia-build/reproducer/lld-lto-failure.tar.bz2

-- 
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/20190529/0dbeea38/attachment.html>


More information about the llvm-bugs mailing list