Re: make build -j does not appear to be thread safe

"Remi Chateauneu \(Imap\)" <[email protected]> Tue, 6 Oct 2015 05:29:27 +0100
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------060305000605050009000703
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 8bit

Le 06/10/2015 02:13, Johnny Hwang a écrit :
>
> I get intermittent build errors when I run build -j on 2.14.1, and it 
> appears to be a regression from 2.13.0. Anyone else noticing this issue?
>

I noticed this problem with many other makefiles, and therefore I never 
use the -j option except in very specific cases:

"In practice, GNU Make parallel execution is severely limited by a 
number of problems stemming from the fact that almost all Makefiles are 
written with the implicit notion that they will run in series." 
http://www.cmcrossroads.com/article/pitfalls-and-benefits-gnu-make-parallelization



--------------060305000605050009000703
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Le 06/10/2015 02:13, Johnny Hwang a
      écrit :<br>
    </div>
    <blockquote
cite="mid:SN1PR07MB2224EC889C3024861C738D07B4370@SN1PR07MB2224.namprd07.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal">I get intermittent build errors when I run
          build -j on 2.14.1, and it appears to be a regression from
          2.13.0. Anyone else noticing this issue?<o:p></o:p></p>
      </div>
    </blockquote>
    <br>
    I noticed this problem with many other makefiles, and therefore I
    never use the -j option except in very specific cases:<br>
    <br>
    "In practice, GNU Make parallel execution is severely limited by a
    number of problems stemming from the fact that almost all Makefiles
    are written with the implicit notion that they will run in series."
<a class="moz-txt-link-freetext" href="http://www.cmcrossroads.com/article/pitfalls-and-benefits-gnu-make-parallelization">http://www.cmcrossroads.com/article/pitfalls-and-benefits-gnu-make-parallelization</a><br>
    <br>
    <br>
  </body>
</html>

--------------060305000605050009000703--