[LLVMdev] Problems with both the 1.9 Release and the CVS on Cygwin

Aaron Gray angray at beeb.net
Fri Feb 9 18:24:00 PST 2007


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

~~~~~~~~~
make[2]: Leaving directory `/usr/src/build-1.9/tools/llvm-config'
make[2]: Entering directory `/usr/src/build-1.9/tools/opt'
/usr/src/llvm-1.9/Makefile.rules:957: *** multiple target patterns.  Stop. 
make[2]: Leaving directory `/usr/src/build-1.9/tools/opt'
make[1]: *** [opt/.makeall] Error 2
make[1]: Leaving directory `/usr/src/build-1.9/tools'
make: *** [all] Error 1


I was also experiencing the following warning sploradically :-

Warning: File `/dev/null' has modification time 0.0066 s in the future
warning:  Clock skew detected.  Your build may be incomplete.

Latest Cygwin.

$ gcc --version
gcc (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)


My x86 Fedora system is still compiling nicely doing linking now. Hopefully I shall have the llvm-gcc4 frontend building tommorow

It would be good if we could clearup these Cygwin bugs sometine within the next week or so.

Aaron
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070210/f3044d49/attachment.html>


More information about the llvm-dev mailing list