public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cygwin make failing with Error 126 after upgrading to Windows 7
@ 2012-07-05 17:10 Andy Ruff
  2012-07-05 18:06 ` marco atzeri
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Ruff @ 2012-07-05 17:10 UTC (permalink / raw)
  To: cygwin

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

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cygwin make failing with Error 126 after upgrading to Windows 7
  2012-07-05 17:10 cygwin make failing with Error 126 after upgrading to Windows 7 Andy Ruff
@ 2012-07-05 18:06 ` marco atzeri
  0 siblings, 0 replies; 2+ messages in thread
From: marco atzeri @ 2012-07-05 18:06 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-05 18:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-05 17:10 cygwin make failing with Error 126 after upgrading to Windows 7 Andy Ruff
2012-07-05 18:06 ` marco atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).