[LLVMdev] 2.1 Pre-Release Available (testers needed)

Emil Mikulic emil at cs.rmit.edu.au
Mon Sep 17 02:26:51 PDT 2007


On Fri, Sep 14, 2007 at 11:42:18PM -0700, Tanya Lattner wrote:
> LLVMers,
> 
> The 2.1 pre-release (version 1) is available for testing:
> http://llvm.org/prereleases/2.1/version1/

I suspect the utils/TableGen/FileParser.h.cvs in the tarball may be
stale.  I tried building LLVM without bison installed and got:

gmake[2]: Entering directory `/home/emil/ll/objdir-llvm/utils/TableGen'
llvm[2]: Compiling AsmWriterEmitter.cpp for Release build
llvm[2]: Compiling CallingConvEmitter.cpp for Release build
llvm[2]: Compiling CodeEmitterGen.cpp for Release build
llvm[2]: Compiling CodeGenTarget.cpp for Release build
llvm[2]: Compiling DAGISelEmitter.cpp for Release build
llvm[2]: Flexing FileLexer.l
llvm[2]: Bison of FileParser.y SKIPPED, bison not found -- copying .h.cvs
llvm[2]: Compiling FileLexer.cpp for Release build
/home/emil/ll/llvm-2.1/utils/TableGen/FileLexer.l: In function 'int Filelex()':
/home/emil/ll/llvm-2.1/utils/TableGen/FileLexer.l:209: error: 'CONCATTOK' was not declared in this scope
gmake[2]: *** [/home/emil/ll/objdir-llvm/utils/TableGen/Release/FileLexer.o] Error 1
gmake[2]: Leaving directory `/home/emil/ll/objdir-llvm/utils/TableGen'

$ grep CONCATTOK utils/TableGen/FileParser.h.cvs
     STRCONCATTOK = 275,
#define STRCONCATTOK 275

-=-

Now, if I install bison (and also rm -r objdir and the unpacked
llvm-2.1), and try again, the build does not break at this point.

Also grep finds more lines in the newly generated file:
$ grep CONCATTOK utils/TableGen/FileParser.h
     CONCATTOK = 272,
     STRCONCATTOK = 276,
#define CONCATTOK 272
#define STRCONCATTOK 276

--Emil



More information about the llvm-dev mailing list