<!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>'collect2.exe' is an internal version of 'ld' 
called by GCC</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The GCC command line is :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Courier size=2>g++ -I/usr/build/llvm-2/tools/llc 
-I/usr/src/llvm/tools/llc -I/usr/build/llvm-2/<BR>include 
-I/usr/src/llvm/include -I/usr/build/llvm-2/include -I/usr/src/llvm/incl<BR>ude 
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS -Wall -W -Wwrite-strings -Wno-unused 
-g<BR>-D_DEBUG -v -o /usr/build/llvm-2/Debug/bin/llc.exe 
/usr/build/llvm-2/tools/llc/D<BR>ebug/llc.o 
/usr/build/llvm-2/Debug/lib/LLVMCBackend.o 
/usr/build/llvm-2/Debug/li<BR>b/LLVMSparcV9ModuloSched.o 
/usr/build/llvm-2/Debug/lib/LLVMSparcV8.o 
/usr/build/<BR>llvm-2/Debug/lib/LLVMSparcV9.o 
/usr/build/llvm-2/Debug/lib/LLVMSparcV9RegAlloc.o<BR> /usr/build/llvm-2/Debug/lib/LLVMSparcV9InstrSched.o 
/usr/build/llvm-2/Debug/lib<BR>/LLVMSparcV9LiveVar.o 
/usr/build/llvm-2/Debug/lib/LLVMX86.o 
/usr/build/llvm-2/De<BR>bug/lib/LLVMPowerPC.o 
/usr/build/llvm-2/Debug/lib/LLVMAlpha.o 
/usr/build/llvm-2/<BR>Debug/lib/LLVMIA64.o 
/usr/build/llvm-2/Debug/lib/LLVMSelectionDAG.o 
/usr/build/l<BR>lvm-2/Debug/lib/LLVMCodeGen.o 
/usr/build/llvm-2/Debug/lib/LLVMScalarOpts.o 
/usr/<BR>build/llvm-2/Debug/lib/LLVMBCReader.o 
/usr/build/llvm-2/Debug/lib/LLVMBCWriter.o<BR> /usr/build/llvm-2/Debug/lib/LLVMCore.o 
/usr/build/llvm-2/Debug/lib/LLVMbzip2.o<BR>-Wl,--export-dynamic  
-L/usr/build/llvm-2/Debug/lib -lLLVMTarget -lLLVMipa -lLLV<BR>MTransforms 
-lLLVMAnalysis -lLLVMTransformUtils -lLLVMSupport -lLLVMSystem 
-L/us<BR>r/build/llvm-2/Debug/bin</FONT></DIV>
<DIV><FONT face=Courier size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It looks like there is a reference to X86JITInfo 
but no object file for this is being linked into 'llc'.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does the X86 Linux version compile correctly 
?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am a bit dumb founded by LLVM's make system still 
otherwise I would probably have fixed this by now.</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>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <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> ; <A 
  title=reid@x10sys.com href="mailto:reid@x10sys.com">Reid Spencer</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, June 01, 2005 6:40 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [LLVMdev] [Cygwin] 'make 
  tools-only' configuration error</DIV>
  <DIV><BR></DIV>
  <DIV><FONT face=Arial size=2>Reid,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Getting the same error again :-(</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Courier 
  size=2> /usr/gcc/gcc-3.4.3/libexec/gcc/i686-pc-cygwin/3.4.3/collect2.exe 
  -Bdynamic --dl<BR>l-search-prefix=cyg -o /usr/build/llvm-2/Debug/bin/llc.exe 
  /lib/crt0.o -L/usr/bu<BR>ild/llvm-2/Debug/lib -L/usr/build/llvm-2/Debug/bin 
  -L/usr/gcc/gcc-3.4.3/lib/gcc/<BR>i686-pc-cygwin/3.4.3 
  -L/usr/gcc/gcc-3.4.3/lib/gcc/i686-pc-cygwin/3.4.3/../../..<BR>/usr/build/llvm-2/tools/llc/Debug/llc.o 
  /usr/build/llvm-2/Debug/lib/LLVMCBackend<BR>.o 
  /usr/build/llvm-2/Debug/lib/LLVMSparcV9ModuloSched.o 
  /usr/build/llvm-2/Debug/<BR>lib/LLVMSparcV8.o 
  /usr/build/llvm-2/Debug/lib/LLVMSparcV9.o 
  /usr/build/llvm-2/De<BR>bug/lib/LLVMSparcV9RegAlloc.o 
  /usr/build/llvm-2/Debug/lib/LLVMSparcV9InstrSched.<BR>o 
  /usr/build/llvm-2/Debug/lib/LLVMSparcV9LiveVar.o 
  /usr/build/llvm-2/Debug/lib/L<BR>LVMX86.o 
  /usr/build/llvm-2/Debug/lib/LLVMPowerPC.o 
  /usr/build/llvm-2/Debug/lib/L<BR>LVMAlpha.o 
  /usr/build/llvm-2/Debug/lib/LLVMIA64.o 
  /usr/build/llvm-2/Debug/lib/LL<BR>VMSelectionDAG.o 
  /usr/build/llvm-2/Debug/lib/LLVMCodeGen.o 
  /usr/build/llvm-2/Deb<BR>ug/lib/LLVMScalarOpts.o 
  /usr/build/llvm-2/Debug/lib/LLVMBCReader.o 
  /usr/build/ll<BR>vm-2/Debug/lib/LLVMBCWriter.o 
  /usr/build/llvm-2/Debug/lib/LLVMCore.o 
  /usr/build/<BR>llvm-2/Debug/lib/LLVMbzip2.o --export-dynamic -lLLVMTarget 
  -lLLVMipa -lLLVMTrans<BR>forms -lLLVMAnalysis -lLLVMTransformUtils 
  -lLLVMSupport -lLLVMSystem -lstdc++ -l<BR>gcc -lcygwin -luser32 -lkernel32 
  -ladvapi32 -lshell32 
  -lgcc<BR>/usr/build/llvm-2/Debug/lib/LLVMX86.o(.text+0x30406): In function 
  `_GLOBAL__D__Z<BR>N76_GLOBAL__N__usr_src_llvm_lib_Target_X86_X86ISelPattern.cpp_9D2164D3_A63131251<BR>7X86TargetLowering14LowerArgumentsERN4llvm8FunctionERNS1_12SelectionDAGE':<BR>/usr/src/llvm/lib/Target/X86/X86ISelPattern.cpp:73: 
  undefined reference to 
  `X86C<BR>ompilationCallback2'<BR>/usr/build/llvm-2/Debug/lib/LLVMX86.o(.text+0x304f2):/usr/src/llvm/lib/Target/X8<BR>6/X86ISelPattern.cpp:73: 
  undefined reference to 
  `_X86CompilationCallback'<BR>/usr/build/llvm-2/Debug/lib/LLVMX86.o(.text+0x30501):/usr/src/llvm/lib/Target/X8<BR>6/X86ISelPattern.cpp:73: 
  undefined reference to `_X86CompilationCallback'<BR>collect2: ld returned 1 
  exit status<BR>make[2]: *** [/usr/build/llvm-2/Debug/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>This error seems to be common to both the old 
  Cygwin configuration which we originally had working and the 
  newer configuration as well.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <DIV><FONT face=Arial size=2>Any clues ?</FONT></DIV>
  <DIV> </DIV>
  <DIV><FONT face=Arial size=2>Aaron</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT> </DIV>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>LLVM Developers 
  mailing 
  list<BR>LLVMdev@cs.uiuc.edu         
  http://llvm.cs.uiuc.edu<BR>http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev<BR></BLOCKQUOTE></BODY></HTML>