From: Salvatore Domenick Desiano (sal_at_[hidden])
Date: 2007-03-09 00:57:19
Are there additional steps I should take to have this patch (or
something like it) moved into the build tree?
Salvatore Domenick Desiano
Carnegie Mellon University
On Sun, 4 Mar 2007, Salvatore Domenick Desiano wrote:
o I found the problem, and I've fixed it for my install. I am using the
o old Perforce rules, but the bug turns out to be in fileunix.c.
o ofileunix.c doesn't check to see if the library is in the BSD extended
o format. The attached patch works on OSX 10.4, and checks defines to
o ensure that it only triggers on BSD systems, but hasn't been tested
o anywhere else.
o If I can be of any assistance in fixing or testing this problem, just
o let me know.
o -- Sal
o Salvatore Domenick Desiano
o Doctoral Candidate
o Robotics Institute
o Carnegie Mellon University
o On Sun, 4 Mar 2007, Vladimir Prus wrote:
o o On Thursday 01 March 2007 05:02, Salvatore Domenick Desiano wrote:
o o > I seem to have run into a bug in timestamp checking on OSX. It's pretty
o o > simple to reproduce:
o o >
o o > Jamfile
o o > --------
o o > Library libtest : object.c ;
o o The 'Library' above makes me thing you're using
o o classic jam rules, not Boost.Build. Unfortunately,
o o those are completely unsupported.
o o > Every time you run jam, the object gets rebuilt and so does the archive.
o o > I've stepped through the jam code with gdb, and the problem appears to
o o > be in the time stamp check. That is, object.o gets a timestamp of 0
o o > (since it gets deleted after being archived) and object.c is always
o o > newer. This doesn't happen on SUSE, but I'm not sure what the difference
o o > is.
o o object.o should have TEMPORARY flag on it to prevent that. I have
o o no idea why behaviour on SUSE and OSX is different. But anyway,
o o unless you're using Boost.Build rules ("lib"), there's nothing we can do.
o o - Volodya
o o _______________________________________________
o o Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk