[LLVMdev] Problem building llvm after r109996 (Add InitializeNativeTargetAsmPrinter())
Jean-Daniel Dupas
devlists at shadowlab.org
Mon Aug 2 00:43:35 PDT 2010
Hello,
After I try making a clean build and got the following error:
llvm[3]: Compiling EDDisassembler.cpp for Release build
In file included from /llvm/include/llvm/Target/TargetSelect.h:38,
from /llvm/lib/MC/MCDisassembler/EDDisassembler.cpp:37:
/llvm/stage1/include/llvm/Config/AsmPrinters.def: In function ‘void LLVMInitializeX86TargetAsmPrinter()’:
/llvm/stage1/include/llvm/Config/AsmPrinters.def:27: error: redefinition of ‘void LLVMInitializeX86TargetAsmPrinter()’
/llvm/stage1/include/llvm/Config/AsmPrinters.def:27: error: ‘void LLVMInitializeX86TargetAsmPrinter()’ previously defined here
make[3]: *** [/llvm/stage1/lib/MC/MCDisassembler/Release/EDDisassembler.o] Error 1
==== config
Darwin10 x86_64 (and llvm-gcc from Xcode 3.2.3).
../configure --prefix=/opt/llvm-selfhost --without-llvmgcc --without-llvmgxx --disable-bindings --disable-assertions --enable-optimized --enable-targets=x86,x86_64 CC=llvm-gcc CXX=llvm-g++
===
Is somebody else having trouble with this change ?
-- Jean-Daniel
More information about the llvm-dev
mailing list