[LLVMdev] trying to bootstrap gcc 4.0.1 and the cvs llvm

Chris Lattner sabre at nondot.org
Thu Apr 20 12:10:29 PDT 2006

On Thu, 20 Apr 2006, [UTF-8] Rafael Esp?ndola wrote:

> I am trying to bootstrap the just released gcc 4.0.1 and the cvs head llvm.
> I was able to build the llvm tools without a problem.
> gcc has a small problem (from the apple branch IIRC): libojc is built
> unconditionally, so objc must be in the --enable-languages option for
> the build to be successful.
> Building the rest of llvm fails with
> llvm[3]: Compiling crtend.ll to crtend.bc for Debug build (bytecode)
> /home/rafael/dev/obj/Debug/bin/gccas:
> /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1:
> syntax error, unexpected $undefined
> /home/rafael/dev/obj/runtime/GCCLibraries/crtend/Debug/crtend.ll:1:
> while reading token: '.'
> I believe that this is because the -emit-llvm-bc option is not working
> as before (true x86 assembly is generated).

Try rerunning configure with the newly built llvm-gcc in your path.  The 
configure script should detect that you have llvm-gcc4 and disable 
building these libraries (which are only needed by llvm-gcc3).

> Is 1.7 being developed in a branch? I would like to use a CVS instead
> of the snapshot to make it easier to track the development.

CVS head is where you want to be then.



More information about the llvm-dev mailing list