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 l...@altlinux.org 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-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 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? In

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

2012-12-15 Thread Eli Zaretskii
From: Paul Smith psm...@gnu.org 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

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 l...@altlinux.org 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.

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

2012-12-14 Thread Wang, Warner
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 psm...@gnu.org Date: Fri, 14 Dec 2012 09:59:31 -0500 Cc: Bug-make@gnu.org Bug-make

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

2012-12-14 Thread Eli Zaretskii
From: Wang, Warner warner.w...@hp.com CC: Bug-make@gnu.org 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

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 warner.w...@hp.com CC: Bug-make@gnu.org 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

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,

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