[LLVMbugs] [Bug 4166] New: Assert while trying to compile using ldc with arm as target on x86 host

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed May 6 05:34:18 PDT 2009


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

           Summary: Assert while trying to compile using ldc with arm as
                    target on x86 host
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: fredridv at gmail.com
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2964)
 --> (http://llvm.org/bugs/attachment.cgi?id=2964)
Output from 'ldc -c tango/net/cluster/tina/CacheThread.d -oftest.bc'

A slightly modified ldc (to get it to cross compile for an arm target) running
on linux x86 gives the following error while compiling a file in the tango
library:

ldc: TwoAddressInstructionPass.cpp:800: virtual
bool<unnamed>::TwoAddressInstructionPass::runOnMachineFunction(llvm::MachineFunction&):
Assertion `TargetRegisterInfo::isVirtualRegister(regB) && "cannot update
physical register live information"' failed.
0   ldc 0x08add088
Stack dump:
0.      Running pass 'Two-Address instruction pass' on function
'@_D5tango3net7cluster4tina11CacheThread11CacheThread4loadMFE5tango3net7cluster4tina14ProtocolWriter14ProtocolWriter7CommandAaAaZv'
./build-tango.sh: line 110: 32166 Aborted                 (core dumped) $DC
$ARCH $WARN -c $INLINE $DEBUG $RELEASE $POSIXFLAG -version=Tango -of$OBJNAME
$FILENAME
Compilation of tango/net/cluster/tina/CacheThread.d failed

ldc is from hg, Mon May 04 13:32:16 2009 +0200, rev. 1299:847b767b2d0b,

tango is 0.99.8,

llvm is svn rev. 70630.

I couldn't get bugpoint to reduce the file size, so I attach the bitcode file
produced by ldc.

The error is reproducible by running 'llc -march=arm test.bc'.


-- 
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