mooroon2 at mail.ru
Thu Apr 12 09:15:07 CDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
12.04.2012 12:23, Daniel Jeliński wrote:
> ... This time make clean && make depend && make did not help.
I had hit the problems like you describe several times while doing bisecting.
After a lot of trial and error testing I had finally come up with a conclusion
that to get clean and determined bisect results I have to use out-of-tree
build as it is required to delete all the contents of the target build
directory between each and every build. Same stands for WINEPREFIX for the
most part, unless it is known that the problem is not related to the
WINEPREFIX contents (registry, e.t.c.). In case if in doubt it is better to
use fresh prefix each run during bisect process.
So, to summarize, here is the approx. process I use to do bisecting:
1. Determine upper and lower commits bounds to start bisect with.
2. Check out each of them and compare the output of ./configure --help. Check
if the are any differences between them. If there are differences - check the
commit log for changes to ./configure done between commits in question and
create a separate "invoke configure with a set of options" script. These
scripts would be used later. If there are no significant differences in
configure invocation options - create a single script.
3. Proceed with bisecting, using the following sequence
# WINEBLDDIR=<full path to out-of-tree build directory to use>
# MYWINEPRFX=<full path to the temporarily "testing" wineprefix>
# [ -d $WINEBLDDIR ] && rm -rf $WINEBLDDIR
# [ -d $MYWINEPRFX ] && rm -rf $MYWINEPRFX
# mkdir -p $WINEBLDDIR && cd $WINEBLDDIR
# <execute configure-invocation-script relevant to current configure>
# make -j8
# WINEPREFIX=$MYWINEPRFX ./wine <blablabla>
> I am comparing what I did to , and the only difference I see is that I
> did not run configure before make. I'll try doing that later, but I think
> this shouldn't affect the outcome. Any other ideas?
> Also I noticed that running parallel make (make -j) is never mentioned on
> . Is there any reason I shouldn't use it?
I've been using parallel build with WINE for several years up till now and
newer had had any troubles with that. Using CCACHE also seems to be harmful,
so I use it to speed up the bisecting process significantly.
Alexey Loukianov mailto:mooroon2 at mail.ru
System Engineer, Mob.:+7(926)218-1320
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the wine-devel