Hi,
I am back into working on LLVM now and am having problems with Cygwin builds.
Problems with both the 1.9 Release and the CVS on Cygwin…
LLVM CVS Release build :-
/usr/src/llvm/configure --prefix=/usr/llvm
make tools-only ENABLE_OPTIMIZED=1
make[3]: Entering directory /usr/src/lib/Bytecode/Writer' llvm[3]: Compiling SlotCalculator.cpp for Release build llvm[3]: Compiling Writer.cpp for Release build /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp: In member function
void llvm::BytecodeWriter::outputConstant(const llvm::Constant*)‘:
/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:329: error: call of overloaded output_vbr(uint32_t)' is ambiguous /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:82: note: candidates are: void llvm::BytecodeWriter::output_vbr(uint64_t) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:96: note: void llvm::BytecodeWriter::output_vbr(unsigned int) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:119: note: void llvm::BytecodeWriter::output_vbr(int64_t) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:127: note: void llvm::BytecodeWriter::output_vbr(int) make[3]: *** [/usr/src/lib/Bytecode/Writer/Release/Writer.o] Error 1 make[3]: Leaving directory
/usr/src/lib/Bytecode/Writer’
make[2]: *** [Writer/.makeall] Error 2
make[2]: Leaving directory /usr/src/lib/Bytecode' make[1]: *** [Bytecode/.makeall] Error 2 make[1]: Leaving directory
/usr/src/lib’
make: *** [all] Error 1
LLVM CVS Debug build :-
/usr/src/llvm/configure --prefix=/usr/llvm
make tools-only
make[3]: Entering directory /usr/src/build/lib/Bytecode/Writer' llvm[3]: Compiling SlotCalculator.cpp for Debug build llvm[3]: Compiling Writer.cpp for Debug build /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:73: error: prototype for
void llvm::BytecodeWriter::output(int32_t)’ does not match any in class llvm::BytecodeWriter' /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:93: error: candidates are: void llvm::BytecodeWriter::output(const std::string&) /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:79: error: void llvm::BytecodeWriter::output(int) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:59: error: void llvm::BytecodeWriter::output(unsigned int, int) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp: In member function
void llvm::BytecodeWriter::output(int32_t)‘:
/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:74: error: call of overloaded output(uint32_t)' is ambiguous /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:59: note: candidates are: void llvm::BytecodeWriter::output(unsigned int, int) /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:79: note: void llvm::BytecodeWriter::output(int) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:73: note: void llvm::BytecodeWriter::output(int32_t) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp: At global scope: /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:96: error: prototype for
void llvm
::BytecodeWriter::output_vbr(uint32_t)’ does not match any in class llvm::BytecodeWriter' /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:91: error: candidates are: void llvm::BytecodeWriter::output_vbr(int) /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:88: error: void llvm::BytecodeWriter::output_vbr(int64_t) /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:85: error: void llvm::BytecodeWriter::output_vbr(unsigned int) /usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:82: error: void llvm::BytecodeWriter::output_vbr(uint64_t) /usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:85: warning: inline function
void llvm::BytecodeWriter::output_vbr(unsigned int)’ used but never defined
make[3]: *** [/usr/src/build/lib/Bytecode/Writer/Debug/Writer.o] Error 1
make[3]: Leaving directory /usr/src/build/lib/Bytecode/Writer' make[2]: *** [Writer/.makeall] Error 2 make[2]: Leaving directory
/usr/src/build/lib/Bytecode’
make[1]: *** [Bytecode/.makeall] Error 2
make[1]: Leaving directory `/usr/src/build/lib’
make: *** [all] Error 1
1.9 Release
/usr/src/llvm-1.9/configure --prefix=/usr/llvm
make tools-only