[LLVMbugs] [Bug 628] NEW: bison/flex output not correctly updated when srcdir != objdir

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 13 15:23:32 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=628

           Summary: bison/flex output not correctly updated when srcdir !=
                    objdir
           Product: Build scripts
           Version: cvs
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sabre at nondot.org
                CC: rspencer at x10sys.com


With the changes to check the generate bison/flex input into CVS, we are starting to see cases where 
updating from CVS (which brings in new versions of these files) doesn't result in updated tools.

To see this happen, with objdir != srcdir:

1. cvs up (in srcdir), bringing in a change to a .y/.cpp file.
2. Build in the objdir
3. Test to see if you get the change from #1

As a work around for this, apparently nuking the copy of the .cpp file in the objdir causes it to get 
updated and makes the tool work.

-Chris



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list