lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 10 Oct 2013 08:36:03 +0200
From:	Ingo Molnar <mingo@...nel.org>
To:	Namhyung Kim <namhyung@...nel.org>
Cc:	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	David Ahern <dsahern@...il.com>, Jiri Olsa <jolsa@...hat.com>
Subject: Re: [PATCH 48/52] tools/perf/build: Exclude MAKEFLAGS from nested
 invocation


* Namhyung Kim <namhyung@...nel.org> wrote:

> On Tue,  8 Oct 2013 12:11:18 +0200, Ingo Molnar wrote:
> > In case the user specifies MAKEFLAGS as an environment variable,
> > or uses 'make -jN' explicitly, the options can conflict and result in:
> >
> >     BUILD: Doing 'make -j8' parallel build
> >     make[1]: warning: -jN forced in submake: disabling jobserver mode.
> >     GEN common-cmds.h
> >     make[1]: *** write jobserver: Bad file descriptor.  Stop.
> >
> > Make sure we invoke the main makefile in a pristine state.
> >
> > Users who want to do something non-standard can use the:
> >
> >   make -f Makefile.perf
> >
> > method to invoke the makefile.
> 
> Hmm... it'd be great if there's a way to detect -jN option and convert 
> it to the JOBS.

I looked hard but couldn't find any solution for that, GNU Make hides it. 
It seems to be possible on other Make platforms - so I suspect that will 
have to be a feature request to the GNU Make folks ...

Thanks,

	Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ