[LLVMbugs] [Bug 9435] New: disabling ocaml bindings in configure causes build errors
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Mar 9 00:15:41 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9435
Summary: disabling ocaml bindings in configure causes build
errors
Product: new-bugs
Version: 2.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
AssignedTo: unassignedbugs at nondot.org
ReportedBy: jwatte at gmail.com
CC: llvmbugs at cs.uiuc.edu
using --enable-bindings=none causes llc to fail to build, because it looks for
Ocaml symbols even when it's disabled.
You should probably conditionally compile that part out in llc (preferred) or
just remove the configure option to disable it.
/usr/local/src/llvm-2.8/tools/llc/Release+Debug/llc.o: In function
`ForceAsmWriterLinking':
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllAsmWriterComponents.h:31:
undefined reference to `llvm::linkOcamlGCPrinter()'
/usr/local/src/llvm-2.8/tools/llc/Release+Debug/llc.o: In function
`ForceCodegenLinking':
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:45:
undefined reference to
`llvm::createBURRListDAGScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:46:
undefined reference to
`llvm::createTDRRListDAGScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:47:
undefined reference to
`llvm::createSourceListDAGScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:48:
undefined reference to
`llvm::createHybridListDAGScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:49:
undefined reference to `llvm::createTDListDAGScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:50:
undefined reference to `llvm::createFastDAGScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
/usr/local/src/llvm-2.8/include/llvm/CodeGen/LinkAllCodegenComponents.h:51:
undefined reference to `llvm::createDefaultScheduler(llvm::SelectionDAGISel*,
llvm::CodeGenOpt::Level)'
collect2: ld returned 1 exit status
make[2]: *** [/usr/local/src/llvm-2.8/Release+Debug/bin/llc] Error 1
--
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