Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-15 Thread Eli Zaretskii
> Date: Sat, 15 Dec 2012 19:08:06 +0400 > From: "Dmitry V. Levin" > > gnulib has a nproc module that can "detect the number of processors": > http://git.savannah.gnu.org/cgit/gnulib.git/tree/modules/nproc > Judging from the number of #if's in its implementation it must be quite > portable. :) Bu

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-15 Thread Eli Zaretskii
> From: Paul Smith > Cc: warner.w...@hp.com, Bug-make@gnu.org > Date: Sat, 15 Dec 2012 09:35:18 -0500 > > On Fri, 2012-12-14 at 17:07 +0200, Eli Zaretskii wrote: > > Does it even make sense to use -j with no arguments? Should we > > perhaps remove that possibility, or have some internal sane lim

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-15 Thread Dmitry V. Levin
On Sat, Dec 15, 2012 at 09:35:18AM -0500, Paul Smith wrote: > On Fri, 2012-12-14 at 17:07 +0200, Eli Zaretskii wrote: > > Does it even make sense to use -j with no arguments? Should we > > perhaps remove that possibility, or have some internal sane limit, > > like twice the number of cores, say? >

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-15 Thread Paul Smith
On Fri, 2012-12-14 at 17:07 +0200, Eli Zaretskii wrote: > Does it even make sense to use -j with no arguments? Should we > perhaps remove that possibility, or have some internal sane limit, > like twice the number of cores, say? In general I'd say no, the current behavior is not ideal. However I

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-15 Thread Eli Zaretskii
> Date: Fri, 14 Dec 2012 20:37:54 +0400 > From: "Dmitry V. Levin" > > > > make: More parallel jobs (-jN) than this platform can handle > > > requested. > > > make: Resetting to single job (-j1) mode. > > > > I see no message like this in the current Make sources. Maybe I'm > > missing

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-14 Thread Dmitry V. Levin
On Fri, Dec 14, 2012 at 05:50:17PM +0200, Eli Zaretskii wrote: > > From: "Wang, Warner" > > CC: "Bug-make@gnu.org" > > Date: Fri, 14 Dec 2012 15:42:04 + > > > > btw there is an internal limit, which is 4096 jobs, either on my mainframe > > or PC. If I use "-j 4097" it will complain: > >

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-14 Thread Eli Zaretskii
> From: "Wang, Warner" > CC: "Bug-make@gnu.org" > Date: Fri, 14 Dec 2012 15:42:04 + > > btw there is an internal limit, which is 4096 jobs, either on my mainframe or > PC. If I use "-j 4097" it will complain: > [root@lion linux-3.3.0-0.20.el7]# make -j 4097 > make: More parallel jo

RE: need help on "make -j" parameter, it will let the system hung easily.

2012-12-14 Thread Wang, Warner
ssage- From: Eli Zaretskii [mailto:e...@gnu.org] Sent: 2012年12月14日 PM 11:07 To: psm...@gnu.org Cc: Wang, Warner; Bug-make@gnu.org Subject: Re: need help on "make -j" parameter, it will let the system hung easily. > From: Paul Smith > Date: Fri, 14 Dec 2012 09:59:31 -0500

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-14 Thread Eli Zaretskii
> From: Paul Smith > Date: Fri, 14 Dec 2012 09:59:31 -0500 > Cc: "Bug-make@gnu.org" > > This basically says that if you use "-j" with no arguments, make will > run as many jobs as the _makefile_ allows (defined by your prerequisite > rules). It pays no attention to the limits of your system. >

Re: need help on "make -j" parameter, it will let the system hung easily.

2012-12-14 Thread Paul Smith
On Fri, 2012-12-14 at 12:45 +, Wang, Warner wrote: > Hello everyone, make experts, > > when I use "make -j" (without specifying a number after it) to compile > Linux kernel, it will always make my machine hung, get no response at > all and the kernel's watchdog (khungtaskd) will complain beca

RE: Need Help

2007-02-05 Thread Martin Dorey
help-make might be an appropriate mailing list to send this request to. Googling for a make tutorial might turn up something useful. There's always the make manual, which contains a fairly simple example: http://www.gnu.org/software/make/manual/make.html#Simple-Makefile You might, however, be

Re: Need Help

2005-12-24 Thread Paul D. Smith
This is a problem with your code or invocation of your compiler. This mailing list is for help with GNU make; this problem is not related to make itself or how to write makefiles, so we can't help you. You should find a list that deals with your compiler, or else examine the documentation or ask

Re: Need help with Windows port for GNU make (+ DOS pretesters)

2000-05-09 Thread Eli Zaretskii
> Date: Tue, 9 May 2000 10:18:19 -0400 (EDT) > From: "Paul D. Smith" <[EMAIL PROTECTED]> > > BTW, while Eli Zaretskii is still providing excellent support for the > DOS port of GNU make, it would be great if we had a few more pretesters > for this port, as well. I second this. (By "the DOS port

Re: Need help with Windows port for GNU make (+ DOS pretesters)

2000-05-09 Thread Rob Tulloh
Paul, Thanks for your comments. I believe that someone could devote more time than I have and do a lot of good things to improve the WIN32 story for GNU make. I have certainly enjoyed working on the tool. I hope someone else will seize the challenge. I am glad to facilitate the transition as wel