[LLVMbugs] [Bug 3368] New: can't build with just the C backend

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 21 04:50:21 PST 2009


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

           Summary: can't build with just the C backend
           Product: tools
           Version: 2.4
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: jay.foad at antixlabs.com
                CC: llvmbugs at cs.uiuc.edu


On Linux/x86 I did:

$ ../llvm-2.4/configure --enable-targets=cbe ; make

It fails with:

llvm[2]: Linking Release executable llc (without symbols)
/home/foad/llvm/objdir-poo/tools/llc/Release/llc.o: In function `global
constructors keyed to FileType':
llc.cpp:(.text+0x93d): undefined reference to
`llvm::createBURRListDAGScheduler(llvm::SelectionDAGISel*, llvm::SelectionDAG*,
llvm::MachineBasicBlock*, bool)'
llc.cpp:(.text+0x961): undefined reference to
`llvm::createTDRRListDAGScheduler(llvm::SelectionDAGISel*, llvm::SelectionDAG*,
llvm::MachineBasicBlock*, bool)'
llc.cpp:(.text+0x985): undefined reference to
`llvm::createTDListDAGScheduler(llvm::SelectionDAGISel*, llvm::SelectionDAG*,
llvm::MachineBasicBlock*, bool)'
llc.cpp:(.text+0x9a9): undefined reference to
`llvm::createFastDAGScheduler(llvm::SelectionDAGISel*, llvm::SelectionDAG*,
llvm::MachineBasicBlock*, bool)'
llc.cpp:(.text+0x9cd): undefined reference to
`llvm::createDefaultScheduler(llvm::SelectionDAGISel*, llvm::SelectionDAG*,
llvm::MachineBasicBlock*, bool)'
llc.cpp:(.text+0x9d7): undefined reference to `llvm::linkOcamlGCPrinter()'
collect2: ld returned 1 exit status
make[2]: *** [/home/foad/llvm/objdir-poo/Release//bin/llc] Error 1

I would find it useful to be able to build llc without any of the native
codegen backends.


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