[LLVMbugs] [Bug 5258] New: LLVM self-build LTO crash

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 20 08:17:29 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=5258

           Summary: LLVM self-build LTO crash
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: edwintorok at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Now that PR4313 is fixed it goes further (tblgen works), and dies here:

llvm[2]: Linking Release executable llvm-link (without symbols)
collect2: ld terminated with signal 6 [Aborted]
PHI node has multiple entries for the same basic block with different incoming
values!
  %DGV.5.i = phi %"struct.llvm::GlobalValue"* [ %2362,
%_ZL21RecursiveResolveTypesPKN4llvm4TypeES2_.exit.i ], [ %DGV.3.i, %bb51.i280
], [ %DGV.3.i739, %bb52.i ], [ %DGV.3.i740, %bb52.i ], [ %DGV.3.i741, %bb52.i
], [ %2362, %_ZNK4llvm5Value7getNameEv.exit508 ], [ %2362,
%_ZNK4llvm11GlobalValue7getTypeEv.exit380.i ] ; <%"struct.llvm::GlobalValue"*>
[#uses=19]
label %bb52.i
  %DGV.3.i739 = phi %"struct.llvm::GlobalValue"* [ %DGV.3.i, %bb51.i280 ], [
null,
%_ZNK4llvm9StringMapIPNS_5ValueENS_15MallocAllocatorEE4findERKNS_9StringRefE.exit.i.i.i.i486
], [ null, %_ZNK4llvm16ValueSymbolTable6lookupERKNS_9StringRefE.exit.i.i487 ],
[ null, %bb1.i.i.i488 ], [ null, %bb1.i.i.i488 ], [ null,
%_ZN4llvm16dyn_cast_or_nullINS_14GlobalVariableEPNS_11GlobalValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit.i490
], [ null,
%_ZN4llvm16dyn_cast_or_nullINS_14GlobalVariableEPNS_11GlobalValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit.i490
] ; <%"struct.llvm::GlobalValue"*> [#uses=1]
  %DGV.3.i741 = phi %"struct.llvm::GlobalValue"* [ %DGV.3.i, %bb51.i280 ], [
null,
%_ZNK4llvm9StringMapIPNS_5ValueENS_15MallocAllocatorEE4findERKNS_9StringRefE.exit.i.i.i.i486
], [ null, %_ZNK4llvm16ValueSymbolTable6lookupERKNS_9StringRefE.exit.i.i487 ],
[ null, %bb1.i.i.i488 ], [ null, %bb1.i.i.i488 ], [ null,
%_ZN4llvm16dyn_cast_or_nullINS_14GlobalVariableEPNS_11GlobalValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit.i490
], [ null,
%_ZN4llvm16dyn_cast_or_nullINS_14GlobalVariableEPNS_11GlobalValueEEENS_10cast_rettyIT_T0_E8ret_typeERKS6_.exit.i490
] ; <%"struct.llvm::GlobalValue"*> [#uses=1]
Broken module found, compilation aborted!
Stack dump:
0.      Running pass 'Function Pass Manager' on module 'ld-temp.o'.
1.      Running pass 'Module Verifier' on function
'@llvm::Linker::LinkModules(llvm::Module*, llvm::Module*,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)'
make[2]: *** [/home/edwin/llvm-git/objlto/Release/bin/llvm-link] Error 1


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list