<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Okay GCC 4.1.1 works on Cygwin; but not MinGW
:(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Download and compile it under Cygwin, stick it on
your path, and LD library path.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>
LD_LIBRARY_PATH=/usr/gcc-4.1.1/lib:$LD_LIBRARY_PATH</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Note that I have not tried building LLVM 1.9
or CVS or LLVM-GCC4.0.1 frontend yet though, as I have a slow
machine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I will report back when I have more
progress.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Aaron</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=angray@beeb.net href="mailto:angray@beeb.net">Aaron Gray</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=llvmdev@cs.uiuc.edu
href="mailto:llvmdev@cs.uiuc.edu">LLVM Developers Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, February 10, 2007 2:24
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [LLVMdev] Problems with both the
1.9 Release and the CVS on Cygwin</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>
<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>I am back into working on LLVM now and am having problems with Cygwin
builds.</DIV>
<DIV> </DIV>
<DIV>Problems with both the 1.9 Release and the CVS on Cygwin...</DIV>
<P>LLVM CVS Release build :-</P>
<P><FONT face="courier new,monospace">
/usr/src/llvm/configure --prefix=/usr/llvm<BR> make
tools-only ENABLE_OPTIMIZED=1</FONT></P>
<P><FONT face="courier new,monospace">make[3]: Entering directory
`/usr/src/lib/Bytecode/Writer'<BR>llvm[3]: Compiling SlotCalculator.cpp for
Release build<BR>llvm[3]: Compiling Writer.cpp for Release
build<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp: In member function
`void llvm::BytecodeWriter::outputConstant(const
llvm::Constant*)':<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:329: error:
call of overloaded `output_vbr(uint32_t)' is
ambiguous<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:82: note: candidates
are: void
llvm::BytecodeWriter::output_vbr(uint64_t)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:96:
note: void llvm::BytecodeWriter::output_vbr(unsigned
int)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:119: note: void
llvm::BytecodeWriter::output_vbr(int64_t)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:127:
note: void llvm::BytecodeWriter::output_vbr(int)<BR>make[3]: ***
[/usr/src/lib/Bytecode/Writer/Release/Writer.o] Error 1<BR>make[3]: Leaving
directory `/usr/src/lib/Bytecode/Writer' <BR>make[2]: *** [Writer/.makeall]
Error 2<BR>make[2]: Leaving directory `/usr/src/lib/Bytecode'<BR>make[1]: ***
[Bytecode/.makeall] Error 2<BR>make[1]: Leaving directory
`/usr/src/lib'<BR>make: *** [all] Error 1</FONT> </P>
<P>LLVM CVS Debug build :-</P>
<P><FONT face="courier new,monospace">
/usr/src/llvm/configure --prefix=/usr/llvm<BR> make
tools-only</FONT></P>
<P><BR><FONT face="courier new,monospace">make[3]: Entering directory
`/usr/src/build/lib/Bytecode/Writer'<BR>llvm[3]: Compiling SlotCalculator.cpp
for Debug build<BR>llvm[3]: Compiling Writer.cpp for Debug
build<BR>/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'<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:93:
error: candidates are: void llvm::BytecodeWriter::output(const
std::string&)<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:79:
error:
void
llvm::BytecodeWriter::output(int)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:59:
error:
void llvm::BytecodeWriter::output(unsigned int,
int)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp: In member function `void
llvm::BytecodeWriter::output(int32_t)':<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:74:
error: call of overloaded `output(uint32_t)' is
ambiguous<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:59: note: candidates
are: void llvm::BytecodeWriter::output(unsigned int,
int)<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:79: note:
void
llvm::BytecodeWriter::output(int)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:73:
note: void
llvm::BytecodeWriter::output(int32_t)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:
At global scope:<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:96: error:
prototype for `void llvm <BR>::BytecodeWriter::output_vbr(uint32_t)' does not
match any in class
`llvm::BytecodeWriter'<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:91:
error: candidates are: void llvm::BytecodeWriter::output_vbr(int)
<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:88:
error:
void
llvm::BytecodeWriter::output_vbr(int64_t)<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:85:
error:
void llvm::BytecodeWriter::output_vbr(unsigned
int)<BR>/usr/src/llvm/lib/Bytecode/Writer/Writer.cpp:82:
error:
void
llvm::BytecodeWriter::output_vbr(uint64_t)<BR>/usr/src/llvm/lib/Bytecode/Writer/WriterInternals.h:85:
warning: inline function <BR> `void
llvm::BytecodeWriter::output_vbr(unsigned int)' used but never
defined<BR>make[3]: *** [/usr/src/build/lib/Bytecode/Writer/Debug/Writer.o]
Error 1<BR>make[3]: Leaving directory `/usr/src/build/lib/Bytecode/Writer'
<BR>make[2]: *** [Writer/.makeall] Error 2<BR>make[2]: Leaving directory
`/usr/src/build/lib/Bytecode'<BR>make[1]: *** [Bytecode/.makeall] Error
2<BR>make[1]: Leaving directory `/usr/src/build/lib'<BR>make: *** [all] Error
1 </FONT></P>
<P><BR>1.9 Release</P>
<P><FONT face="courier new,monospace">
/usr/src/llvm-1.9/configure --prefix=/usr/llvm<BR> make
tools-only</FONT></P>
<P>~~~~~~~~~<BR><FONT face="courier new,monospace">make[2]: Leaving directory
`/usr/src/build-1.9/tools/llvm-config'<BR>make[2]: Entering directory
`/usr/src/build-1.9/tools/opt'<BR>/usr/src/llvm-1.9/Makefile.rules:957: ***
multiple target patterns. Stop. <BR>make[2]: Leaving directory
`/usr/src/build-1.9/tools/opt'<BR>make[1]: *** [opt/.makeall] Error
2<BR>make[1]: Leaving directory `/usr/src/build-1.9/tools'<BR>make: *** [all]
Error 1</FONT></P>
<P><BR>I was also experiencing the following warning sploradically :-</P>
<DIV>Warning: File `/dev/null' has modification time 0.0066 s in the
future<BR>warning: Clock skew detected. Your build may be
incomplete.</DIV>
<DIV> </DIV>
<DIV>Latest Cygwin.</DIV>
<DIV><FONT face="courier new,monospace"></FONT> </DIV>
<DIV><FONT face="courier new,monospace">$ gcc --version<BR>gcc (GCC) 3.4.4
(cygming special, gdc 0.12, using dmd 0.125)</FONT></DIV>
<DIV align=left><BR><BR>My x86 Fedora system is still compiling nicely doing
linking now. Hopefully I shall have the llvm-gcc4 frontend building
tommorow</DIV>
<DIV align=left><BR>It would be good if we could clearup these Cygwin bugs
sometine within the next week or so.<BR><BR>Aaron<BR></DIV></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>LLVM Developers
mailing
list<BR>LLVMdev@cs.uiuc.edu
http://llvm.cs.uiuc.edu<BR>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<BR>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.1.411 / Virus Database: 268.17.33/678 - Release Date:
09/02/2007<BR></BLOCKQUOTE></BODY></HTML>