[LLVMdev] Building llvm and cfrontend under cygwin

Oleg Smolsky Oleg.Smolsky at pacific-simulators.co.nz
Sun Dec 5 13:27:59 PST 2004


Hi there,

I'm trying to build llvm under cygwin running under windows xp, and have
struck the following problem:
-- llvm: tools-only built ok
-- cfrontend: built ok
-- llvm: full build failed at the following point:

make[3]: Entering directory
`/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend'
Compiling crtend.c to bytecode
Compiling listend.ll to bytecode
Linking comp_main.bc component...
/cygdrive/d/3rd-party/llvm/tools/Debug/gccld: Error linking in bytecode
file
'/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend/BytecodeObj/crte
nd.bc': Bytecode file
'/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend/BytecodeObj/crte
nd.bc' could not be loaded: Invalid Top Level Block Length! Type:1,
Size:880
(Vers=16, Pos=12)
make[3]: ***
[/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend/BytecodeObj/comp
_main.bc] Error 1
make[3]: Leaving directory
`/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries/crtend'
make[2]: *** [crtend/.makeall] Error 2
make[2]: Leaving directory
`/cygdrive/d/3rd-party/llvm/runtime/GCCLibraries'
make[1]: *** [GCCLibraries/.makeall] Error 2
make[1]: Leaving directory `/cygdrive/d/3rd-party/llvm/runtime'
make: *** [all] Error 1

Any clues? Here are a few bits of information that may be relevant:
-- I'm using gcc 3.3.3 (cygwin special)
-- I have changed gcc.c as per 
 
http://mail.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20040809/0171
43.html

Thanks in advance,
Oleg.




More information about the llvm-dev mailing list