When setting ParallelMFlags during build, this gets stored in the 
config files in /usr/X11R6/lib/X11/config/*

These files get packaged up afterward with fixed ParallelMFlags 
set.  The problem, is that when these packages are installed on 
another system, that system now inherits this option.

So, if XFree86 was built on an 8 way system, in which -j8 was 
used, then other software which uses Imake for portability, will 
end up inheriting this -j8 flag even though the machine may be a 
uniprocessor machine, dual, or quad, or something else.

As such the flags are correct for X during build, but not for 
software being built on the system the X build gets installed on.

The way I ran into this, was that a particular piece of software 
(xpilot) would randomly fail when building.  It built fine on 
other single and dual processor systems however.  When built on a 
4way or 8way box, the parallelism seems to create a race 
condition.

The xpilot and other software obviously shouldn't have such race
conditions, so that can be considered a bug in that particular
software and certainly not an XFree86 bug.

However, unless I misunderstand the Imake configuration, and 
ParallelMFlags, it probably should not propagate into the 
installed systems.

Is this a bug in the way I am using ParallelMFlags perhaps, or is 
it a problem in the Imakefiles that should be addressed?




-- 
Mike A. Harris                  Shipping/mailing address:
OS Systems Engineer             190 Pittsburgh Ave., Sault Ste. Marie,
XFree86 maintainer              Ontario, Canada, P6C 5B3
Red Hat Inc.
http://www.redhat.com           ftp://people.redhat.com/mharris


_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to