Valery A.Khamenya
2004-Aug-17 20:16 UTC
[LLVMdev] compilation error after updated from cvs:
Building PowerPC.td register information header with tblgen Included from PowerPC.td:22: Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'! make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1 make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC' maybe I just have to "make clean" and/or ./configure BTW, would it be nice to put Depend, Release and Debug into .cvsignore for other llvm fans too? --- Valery A.Khamenya
On Wed, 18 Aug 2004, Valery A.Khamenya wrote:> Building PowerPC.td register information header with tblgen > Included from PowerPC.td:22: > Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'! > make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1 > make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC' > > maybe I just have to "make clean" and/or ./configure > > BTW, would it be nice to put Depend, Release and Debug > into .cvsignore for other llvm fans too?Yup, unfortunately the dependencies are confused in that directory due to a file or two that moved. Please just do 'make clean' in lib/Target/PowerPC and it should be ok. -Chris -- http://llvm.org/ http://nondot.org/sabre/
On Wed, Aug 18, 2004 at 12:16:04AM +0400, Valery A.Khamenya wrote:> Building PowerPC.td register information header with tblgen > Included from PowerPC.td:22: > Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'! > make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1 > make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC' > > maybe I just have to "make clean" and/or ./configureYeah, you need to make clean most likely.> BTW, would it be nice to put Depend, Release and Debug > into .cvsignore for other llvm fans too?I personally have a build directory outside of the source tree, and don't encounter this problem. :) -- Misha Brukman :: http://misha.brukman.net :: http://llvm.cs.uiuc.edu
Misha Brukman wrote:> On Wed, Aug 18, 2004 at 12:16:04AM +0400, Valery A.Khamenya wrote: > >>Building PowerPC.td register information header with tblgen >>Included from PowerPC.td:22: >>Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'! >>make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1 >>make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC' >> >>maybe I just have to "make clean" and/or ./configure > > > Yeah, you need to make clean most likely.If, for some reason, that doesn't work, you can remove the Depend directories manually, and that should fix it as well.> > >>BTW, would it be nice to put Depend, Release and Debug >>into .cvsignore for other llvm fans too? > > > I personally have a build directory outside of the source tree, and > don't encounter this problem. :)I think I've actually seen this problem in my build tree as well, and srcdir!=objdir for me too. So changing from srcdir==objdir to srcdir!=objdir may not magically solve the problem. -- John T. -- ********************************************************************* * John T. Criswell Email: criswell at uiuc.edu * * Research Programmer * * University of Illinois at Urbana-Champaign * * * * "It's today!" said Piglet. "My favorite day," said Pooh. * *********************************************************************
Valery, As if you need yet another suggestion .. You might also want to try "cvs upd -APdR" in order to recursively remove sticky tags, prune empty directories, and build new directories. Since you're getting a compilation error, this doesn't seem to me to be a dependency problem but rather pulling in the wrong version of on of the *.td files. Reid. Valery A.Khamenya wrote:> Building PowerPC.td register information header with tblgen > Included from PowerPC.td:22: > Parsing PowerPCInstrInfo.td:53: Variable not defined: 'GPRC'! > make[3]: *** [PowerPCGenRegisterInfo.h.inc] Error 1 > make[3]: Leaving directory `/pool/tmp/ssrc/llvm/lib/Target/PowerPC' > > maybe I just have to "make clean" and/or ./configure > > BTW, would it be nice to put Depend, Release and Debug > into .cvsignore for other llvm fans too? > > --- > Valery A.Khamenya > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://mail.cs.uiuc.edu/mailman/listinfo/llvmdev >
Maybe Matching Threads
- [LLVMdev] compilation error after updated from cvs:
- [LLVMdev] compilation error after updated from cvs:
- [LLVMdev] compilation error after updated from cvs:
- [LLVMdev] compilation error after updated from cvs:
- [LLVMdev] compilation error after updated from cvs: