-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Description
| Bugzilla Link | 3368 |
| Version | 2.4 |
| OS | Windows XP |
| Attachments | suggested fix for linker errors |
| Reporter | LLVM Bugzilla Contributor |
| CC | @isanbard,@jayfoad |
Extended Description
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.