<!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.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I did not report this first error earlier as I
thought it trivial.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Basically it looks like something odd is happening
with the configuration and 'include/llvm/config/config.h'</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Getting this error on building the
tools on a fresh Cygwin install and update :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>$ make tools-only<BR>make[1]: Entering directory
`/usr/build/llvm/lib/System'<BR>llvm[1]: Compiling Path.cpp for Debug
build<BR>In file included from
/usr/src/llvm/lib/System/Path.cpp:104:<BR>/usr/src/llvm/lib/System/Unix/Path.inc:
In static member function `static llvm::<BR>sys::Path
llvm::sys::Path::GetTemporaryDirectory()':<BR>/usr/src/llvm/lib/System/Unix/Path.inc:93:
error: `mkdtemp' undeclared (first us<BR>e this
function)<BR>/usr/src/llvm/lib/System/Unix/Path.inc:93: error: (Each undeclared
identifier is<BR> reported only once for each function it appears
in.)<BR>make[1]: *** [/usr/build/llvm/lib/System/Debug/Path.o] Error
1<BR>make[1]: Leaving directory `/usr/build/llvm/lib/System'<BR>make: *** [all]
Error 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On commenting out the "#define HAVE_MKDTEMP 1" this
error is bypassed, but what is leading to this error ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This happens on a new fresh install of Cygwin, GCC
3.4.3, binutils 2.15, and fresh llvm from CVS !</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And it is repeatable. Either I am doing something
basic wrong or there is an issue here, what I do not understand is why I did not
run into it when we (Reid Spencer and myself) did the previous
Cygwin debugging session.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It looks like the configure script is failing
drastically, I am confused.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Still getting the previous error :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>llvm[2]: Linking Debug executable
llc<BR>/usr/build/llvm/Debug/lib/LLVMX86.o(.text+0x30506): In function
`_GLOBAL__D__ZN7<BR>6_GLOBAL__N__usr_src_llvm_lib_Target_X86_X86ISelPattern.cpp_9D2164D3_CFE6F8F217X<BR>86TargetLowering14LowerArgumentsERN4llvm8FunctionERNS1_12SelectionDAGE':<BR>/usr/src/llvm/lib/Target/X86/X86ISelPattern.cpp:73:
undefined reference to
`X86C<BR>ompilationCallback2'<BR>/usr/build/llvm/Debug/lib/LLVMX86.o(.text+0x305f2):/usr/src/llvm/lib/Target/X86/<BR>X86ISelPattern.cpp:73:
undefined reference to
`_X86CompilationCallback'<BR>/usr/build/llvm/Debug/lib/LLVMX86.o(.text+0x30601):/usr/src/llvm/lib/Target/X86/<BR>X86ISelPattern.cpp:73:
undefined reference to `_X86CompilationCallback'<BR>collect2: ld returned 1 exit
status<BR>make[2]: *** [/usr/build/llvm/Debug/bin/llc.exe] Error 1<BR>make[2]:
Leaving directory `/usr/build/llvm/tools/llc'<BR>make[1]: *** [llc/.makeall]
Error 2<BR>make[1]: Leaving directory `/usr/build/llvm/tools'<BR>make: *** [all]
Error 1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Doing 'make tools-only ENABLE_OPTIMIZED=1 gives a
simular but different error :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>llvm[2]: Linking Release executable llc (without
symbols)<BR>collect2: ld terminated with signal 11 [Segmentation fault], core
dumped<BR>/usr/build/llvm-2/Release/lib/LLVMX86.o(.text+0x51d76):X86InstrInfo.cpp:
undefined reference to
`X86CompilationCallback2'<BR>/usr/build/llvm-2/Release/lib/LLVMX86.o(.text+0x51e0a):X86JITInfo.cpp:
undefined reference to
`_X86CompilationCallback'<BR>/usr/build/llvm-2/Release/lib/LLVMX86.o(.text+0x51e1f):X86JITInfo.cpp:
undefined reference to
`_X86CompilationCallback'<BR>/usr/binutils-2.15/bin/ld: BFD 2.15 assertion fail
../../../src/binutils-2.15/bfd/cofflink.c:1930<BR>make[2]: ***
[/usr/build/llvm-2/Release/bin/llc.exe] Error 1<BR>make[2]: Leaving directory
`/usr/build/llvm-2/tools/llc'<BR>make[1]: *** [llc/.makeall] Error 2<BR>make[1]:
Leaving directory `/usr/build/llvm-2/tools'<BR>make: *** [all] Error
1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have gone back to the older Cygwin environment
that worked before but am now getting the same results as with the newer Cygwin
installation. Why it worked before but not now I do not know.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The first error in this mail does
not occur with the older Cygwin installation.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The only thing I can think is it is my instillation
proceedure but I cannot find anything wrong with it.</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></BODY></HTML>