delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/05/14:06:21

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-5.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
Message-ID: <4FF5D785.8060406@gmail.com>
Date: Thu, 05 Jul 2012 20:05:57 +0200
From: marco atzeri <marco DOT atzeri AT gmail DOT com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20120614 Thunderbird/13.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin make failing with Error 126 after upgrading to Windows 7
References: <CAMYSub1zRtsu1fTUpJiY4JinMiOmuPd_O8X0_iMpzKbDnqTqeg AT mail DOT gmail DOT com>
In-Reply-To: <CAMYSub1zRtsu1fTUpJiY4JinMiOmuPd_O8X0_iMpzKbDnqTqeg@mail.gmail.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 7/5/2012 7:10 PM, Andy Ruff wrote:
> We've just upgraded from XP to Windows 7 and now our build system is
> failing when running make 2.81 from cygwin to compile and link our C++
> libraries.
>
> We parallel build across 6 of the 8 cores available on our development
> machines (using -j 6) and have had no issues with XP.
>
> Now, as soon as we upgraded to Windows 7, we are randomly getting
> errors like this:
>
>    make[3]: *** [tmodel/CMakeFiles/tmodel.dir/test.cpp.obj] Error 126
>    make[3]: *** Waiting for unfinished jobs....
>    make[2]: *** [tmodel/CMakeFiles/tmodel.dir/all] Error 2
>    make[1]: *** [all] Error 2
>    make: *** [release] Error 2
>
> Just restarting the make command again will successfully continue
> where it stopped, until it randomly fails with this error again.
>
> It looks to me like make is getting into some kind of contention issue
> with the target .obj files during the parallel build.
>
> Has anyone else experienced this issue and more importantly has anyone
> figured out how to fix this?
>
> Thanks!
>
> Andy
>

is "make -j 1" able to finish the job ?

I suspect your new antivirus have more issues with W7 than XP


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019