[LLVMbugs] [Bug 18060] New: Current TOT cannot cross build itself for the i386.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Nov 25 12:51:50 PST 2013


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

            Bug ID: 18060
           Summary: Current TOT cannot cross build itself for the i386.
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: rich at pennware.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11610
  --> http://llvm.org/bugs/attachment.cgi?id=11610&action=edit
Test compile line.

I build clang/LLVM on my x86_64 Linux box and then build it using itself and
lie libc++, libc++ABI, libunwind, musl, and compiler-rt libraries.

For testing purposes, I then use that compiler to replicate itself by building
executables that run on arm, armeb, i386, microblaze, mips, mipsel, ppc, and
x86_64.

The i386 build fails with
PHI node has multiple entries for the same basic block with different incoming
values!
  %Value.addr.1.off0 = phi i32 [ %7, %entry ], [ %8, %entry ], [ %9, %entry ],
[ %extract.t521, %sw.bb9 ]
label %entry
  %9 = extractelement <2 x i32> %3, i32 0
  %8 = extractelement <2 x i32> %3, i32 0
PHI node has multiple entries for the same basic block with different incoming
values!
  %retval.0 = phi i32 [ %conv366, %if.then357 ], [ %conv368, %if.end367 ], [
%conv333, %if.end323 ], [ %conv309, %sw.bb305 ], [ %conv304, %sw.bb300 ], [
%or299, %sw.bb290 ], [ %conv289, %sw.bb285 ], [ %or284, %sw.bb239 ], [ %or238,
%sw.bb203 ], [ %conv202, %sw.bb176 ], [ %or174517, %sw.bb120 ], [ %conv119,
%sw.bb115 ], [ %or113518, %sw.bb84 ], [ %or83,
%_ZN4llvm6ARM_AML11getSOImmValEj.exit ], [ %conv64, %sw.bb60 ], [ %conv57,
%if.then50 ], [ %conv59, %if.end58 ], [ %or35, %sw.bb11 ], [ %or, %sw.bb2 ], [
%4, %entry ], [ %5, %entry ], [ %6, %entry ]
label %entry
  %6 = extractelement <2 x i32> %3, i32 0
  %5 = extractelement <2 x i32> %3, i32 0
Broken module found, compilation aborted!

I have attached the failing file which failed with TOT r195680.

-- 
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/20131125/8d6e52a2/attachment.html>


More information about the llvm-bugs mailing list