[LLVMdev] Re: [llvm-announce] LLVM 1.3 Release!]

Robert Feldt Robert.Feldt at htu.se
Mon Aug 16 12:31:07 PDT 2004


Misha Brukman wrote:

>On Mon, Aug 16, 2004 at 01:07:39PM +0200, Robert Feldt wrote:
>  
>
>>However, when I go back to rebuild llvm, reconfigure, setting the
>>CFEINSTALL dir, then make it can build the tools ok but not the
>>runtime:
>>    
>>
>[snip] 
>  
>
>>Compiling crtend.c to bytecode
>>Files/ATI: not found
>>    
>>
>[snip] 
>  
>
>>I don't understand the error message since I see no reference to 
>>Files/ATI. Any clues?
>>    
>>
>
>Can you please give us the output log with you run "gmake VERBOSE=1"?
>That should give us the exact compilation line used.
>
>  
>
Good idea since it indicates that the problem is that the PATH contains 
dirs with spaces in it even though the dir I build in has no spaces:

robert_feldt at it002473 /usr/pd/llvm/llvm/runtime/GCCLibraries/crtend
$ pwd
/usr/pd/llvm/llvm/runtime/GCCLibraries/crtend

robert_feldt at it002473 /usr/pd/llvm/llvm/runtime/GCCLibraries/crtend
$ gmake VERBOSE=1
Compiling crtend.c to bytecode
PATH=/usr/pd/llvm/llvm/tools/Debug:/usr/pd/llvm/llvm/tools/Debug:/usr/X11R6/bin:
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Prg/texmf/miktex/bin:/cy
gdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:
/cygdrive/c/Program Files/ATI Technologies/ATI Control 
Panel:/cygdrive/c/WINDOWS
/system32/nls:/cygdrive/c/WINDOWS/system32/nls/ENGLISH:/cygdrive/c/Program 
Files
/Common Files/GTK/2.0/bin:/cygdrive/c/Program Files/Common 
Files/GTK/2.0/lib:/cy
gdrive/c/Program Files/Mono-0.28/bin:/cygdrive/c/Program 
Files/Mono-0.28/lib:/cy
gdrive/c/Program Files/Objective 
Caml/bin:/cygdrive/c/ruby/bin:/cygdrive/c/PROGR
A~1/ATT/Graphviz/bin:/cygdrive/c/PROGRA~1/ATT/Graphviz/bin/tools:/cygdrive/c/Prg
/Subversion/bin /usr/pd/llvm/cfrontend/install/bin/gcc -Wall -W 
-Wwrite-strings
-Wno-unused -I/usr/pd/llvm/llvm/runtime/GCCLibraries/crtend 
-I/usr/pd/llvm/llvm/
runtime/GCCLibraries/crtend -I/usr/pd/llvm/llvm/include 
-I/usr/pd/llvm/llvm/incl
ude -I../../../include -I/usr/pd/llvm/llvm/include -D_GNU_SOURCE 
-D__STDC_LIMIT_
MACROS -DATTR_DEPRECATED='__attribute__ ((deprecated))' -c crtend.c -o 
/usr/pd/l
lvm/llvm/runtime/GCCLibraries/crtend/BytecodeObj/crtend.bc
Files/ATI: not found
gmake: *** 
[/usr/pd/llvm/llvm/runtime/GCCLibraries/crtend/BytecodeObj/crtend.bc]
 Error 127

So I excluded all the windows-specific dirs in PATH and rebuilt and it 
went ok. So it does not seem to be enough to build in dirs with no 
spaces. To build llvm on cygwin you currently need to have only dirs 
without spaces in your PATH.

Thanks,

Robert




More information about the llvm-dev mailing list