[Scons-users] problem while compiling in parallel

Jameel Shorosh jameel.shorosh at gmail.com
Thu Feb 21 14:49:20 EST 2013


HI,
I am using scons version v2.1.0.r5357[MODIFIED], and working on a project
with many sources producing a shared library on Linux Redhat 5.8.

I faced the following problems while compiling many sources in paralell
that produces a shared library:

*Problem 1:* When compiling many sources in paralell (-j 15) it
happened only one time that the linkage command was executed before all the
souces finished building. Therfore the linker didnt find the os file on
disk and generated an error. it looks like there is some race condition
between the threads because in general it works well.

*Problem2:* Also the return code from scons command was 0 and as a result
my outer script printed that the build passes successfully where it is not.

Are you familiar with these issue ?

Thanks,
Jameel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20130221/96e929c7/attachment.htm>


More information about the Scons-users mailing list