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

Aaron Gray angray at beeb.net
Sun Feb 18 12:29:15 PST 2007


Still having problems with Writer.cpp and WriterInternals.h :-

/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:74: 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:89: error: candidates are: void llvm::BytecodeWriter::output(const std::string&)
/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:74: error:                 void llvm::BytecodeWriter::output(int)
/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:60: 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:75: error: call of overloaded 'output(uint32_t)' is ambiguous
/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:60: note: candidates are: void llvm::BytecodeWriter::output(unsigned int, int)
/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:74: note:  void llvm::BytecodeWriter::output(int)
/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:74: 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:97: 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:86: error: candidates are: void llvm::BytecodeWriter::output_vbr(int) 
/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:83: error:                 void llvm::BytecodeWriter::output_vbr(int64_t)
/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:80: error:                 void llvm::BytecodeWriter::output_vbr(unsigned int)
/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:83: error:                 void llvm::BytecodeWriter::output_vbr(uint64_t)
/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:80: warning: inline function  'void llvm::BytecodeWriter::output_vbr(unsigned int)' used but never defined
make[3]: *** [/usr/build/llvm/lib/Bytecode/Writer/Debug/Writer.o] Error 1
make[3]: Leaving directory `/usr/build/llvm/lib/Bytecode/Writer' 
make[2]: *** [Writer/.makeall] Error 2
make[2]: Leaving directory `/usr/build/llvm/lib/Bytecode'
make[1]: *** [Bytecode/.makeall] Error 2
make[1]: Leaving directory `/usr/build/llvm/lib'
make: *** [all] Error 1

Aaron
  ----- Original Message ----- 
  From: Aaron Gray 
  To: LLVM Developers Mailing List 
  Sent: Saturday, February 10, 2007 2:24 AM
  Subject: [LLVMdev] Problems with both the 1.9 Release and the CVS on Cygwin


  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



------------------------------------------------------------------------------


  _______________________________________________
  LLVM Developers mailing list
  LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
  http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev



------------------------------------------------------------------------------


  No virus found in this incoming message.
  Checked by AVG Free Edition.
  Version: 7.1.411 / Virus Database: 268.17.33/678 - Release Date: 09/02/2007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20070218/0d0605c7/attachment.html>


More information about the llvm-dev mailing list