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: unassignedb...@nondot.org
          Reporter: pho...@chromium.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to