[LLVMbugs] [Bug 2290] New: llvm-gcc doesn't bootstrap on arm-qemu	(linux)
    bugzilla-daemon at cs.uiuc.edu 
    bugzilla-daemon at cs.uiuc.edu
       
    Mon May  5 18:55:32 PDT 2008
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=2290
           Summary: llvm-gcc doesn't bootstrap on arm-qemu (linux)
           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: nlewycky at google.com
                CC: llvmbugs at cs.uiuc.edu
llvm-gcc build dails with the error "Did not get a target machine!" which is
emitted by this block of code in gcc/llvm-backend.cpp:
  // Create the TargetMachine we will be generating code with.
  // FIXME: Figure out how to select the target and pass down subtarget info.
  std::string Err;
  const TargetMachineRegistry::entry *TME = 
    TargetMachineRegistry::getClosestStaticTargetForModule(*TheModule, Err);
  if (!TME) {
    cerr << "Did not get a target machine!\n";
    exit(1);
  }
I wasn't quite able to figure out how getClosestStaticTargetForModule matches
the target type. The GCC target triple is "armv5tejl-unknown-linux-gnu". uname
-a says:
Linux debian-arm 2.6.18-6-versatile #1 Thu Feb 14 01:25:13 CET 2008 armv5tejl
GNU/Linux
I'd appreciate a hint on how to diagnose the problem.
-- 
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