[LLVMdev] CVS Broken?

Reid Spencer reid at x10sys.com
Fri Apr 7 10:51:47 PDT 2006


Its not a bug, its just the way things are.  By design, the source
directory's include files take precedence over the object directory's
include files. That is, on the command line we use:

-I$(LLVM_SRC_ROOT)/include -I$(LLVM_OBJ_ROOT)/include

Since you had something in the srcdir, that took precendence, even
thought it was building the new version into the objdir. 

Not fun, but there aren't any other good alternatives.

Reid.

On Fri, 2006-04-07 at 12:28 -0500, Robert L. Bocchino Jr. wrote:
> I'm guessing the problem occurred because I hadn't updated in a while
> (maybe a couple of weeks?) and I had an old Intrinsics.gen file
> hanging around in my source directory that was getting picked up by
> the makefile for some reason.  This is a bug, but maybe it's harmless
> because there's a onetime workaround (delete the file by hand) and it
> won't be a problem for anyone checking out a fresh tree.
> 
> 
> Rob
> 
> On Apr 7, 2006, at 12:21 PM, Reid Spencer wrote:
> 
> > I've done several CVS head builds today .. no problems on Linux.
> > 
> > 
> > Reid.
> > 
> > 
> > On Fri, 2006-04-07 at 11:53 -0500, Chris Lattner wrote:
> > > On Fri, 7 Apr 2006, Robert L. Bocchino Jr. wrote:
> > > 
> > > 
> > > > I did a utils/cvsupdate, and there are no conflicts.  srcdir !=
> > > > objdir.  This 
> > > > is on persephone.
> > > > 
> > > > 
> > > > Are you not getting this error?  Perhaps I should check out a
> > > > fresh tree and 
> > > > try to compile it?
> > > 
> > > 
> > > Nope, I don't think anyone else is getting this error.  If you
> > > could try a 
> > > fresh build that would be great, I'll fire off an objdir != srcdir
> > > build 
> > > to see if that is it.
> > > 
> > > 
> > > Thanks Rob,
> > > 
> > > 
> > > -Chris
> > > 
> > > 
> > > > On Apr 7, 2006, at 11:40 AM, Chris Lattner wrote:
> > > > 
> > > > 
> > > > > On Fri, 7 Apr 2006, Robert L. Bocchino Jr. wrote:
> > > > > > I just updated from CVS, and after doing a clean rebuild I
> > > > > > get this error:
> > > > > 
> > > > > 
> > > > > Are you sure that no conflicts prevented updating from going
> > > > > smoothly? How 
> > > > > are you building (srcdir ==/!= objdir)?
> > > > > 
> > > > > 
> > > > > -Chris
> > > > > 
> > > > > 
> > > > > > /Users/bocchino/llvm-
> > > > > > checkin/src/include/llvm/IntrinsicInst.h: In static 
> > > > > > member function 'static bool llvm::DbgInfoIntrinsic::classof
> > > > > > (const 
> > > > > > llvm::IntrinsicInst*)':
> > > > > > /Users/bocchino/llvm-
> > > > > > checkin/src/include/llvm/IntrinsicInst.h:77: error: 
> > > > > > 'dbg_declare' is not a member of 'llvm::Intrinsic'
> > > > > > /Users/bocchino/llvm-
> > > > > > checkin/src/include/llvm/IntrinsicInst.h: In static 
> > > > > > member function 'static bool llvm::DbgDeclareInst::classof
> > > > > > (const 
> > > > > > llvm::IntrinsicInst*)':
> > > > > > /Users/bocchino/llvm-
> > > > > > checkin/src/include/llvm/IntrinsicInst.h:172: error: 
> > > > > > 'dbg_declare' is not a member of 'llvm::Intrinsic'
> > > > > > make[1]: *** [/Users/bocchino/llvm-
> > > > > > checkin/obj/lib/VMCore/Debug/ 
> > > > > > Function.o] Error 1
> > > > > > 
> > > > > > 
> > > > > > Rob
> > > > > > 
> > > > > > 
> > > > > > Robert L. Bocchino Jr.
> > > > > > Ph.D. Student, Computer Science
> > > > > > University of Illinois, Urbana-Champaign
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > 
> > > > > 
> > > > > -Chris
> > > > > 
> > > > > 
> > > > > -- 
> > > > > http://nondot.org/sabre/
> > > > > http://llvm.org/
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > LLVM Developers mailing list
> > > > > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > > > > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> > > > 
> > > > 
> > > > Robert L. Bocchino Jr.
> > > > Ph.D. Student, Computer Science
> > > > University of Illinois, Urbana-Champaign
> > > > 
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > -Chris
> > > 
> > > 
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 
> 
> 
> Robert L. Bocchino Jr.
> 
> Ph.D. Student, Computer Science
> 
> University of Illinois, Urbana-Champaign
> 
> 
> 
> 
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060407/0cb8dcef/attachment.sig>


More information about the llvm-dev mailing list