All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 423] New: make -j X bzImage gives a warning
@ 2003-02-28 20:49 Martin J. Bligh
  2003-02-28 21:25 ` Sam Ravnborg
  0 siblings, 1 reply; 6+ messages in thread
From: Martin J. Bligh @ 2003-02-28 20:49 UTC (permalink / raw)
  To: linux-kernel

http://bugme.osdl.org/show_bug.cgi?id=423

           Summary: make -j X bzImage gives a warning
    Kernel Version: 2.5.63
            Status: NEW
          Severity: low	
             Owner: zippel@linux-m68k.org
         Submitter: mbligh@aracnet.com


make -j X bzImage gives a warning:

make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
rule.

Can we get rid of this one way or the other?


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

* Re: [Bug 423] New: make -j X bzImage gives a warning
  2003-02-28 20:49 [Bug 423] New: make -j X bzImage gives a warning Martin J. Bligh
@ 2003-02-28 21:25 ` Sam Ravnborg
  2003-02-28 21:38   ` Martin J. Bligh
  2003-02-28 22:29   ` Roman Zippel
  0 siblings, 2 replies; 6+ messages in thread
From: Sam Ravnborg @ 2003-02-28 21:25 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: linux-kernel

On Fri, Feb 28, 2003 at 12:49:45PM -0800, Martin J. Bligh wrote:
> http://bugme.osdl.org/show_bug.cgi?id=423
> 
>            Summary: make -j X bzImage gives a warning
>     Kernel Version: 2.5.63
>             Status: NEW
>           Severity: low	
>              Owner: zippel@linux-m68k.org

Feel free to bug me with kbuild related issues.
In this area Roman is 'only' taking care of kconfig & related issues AFAIK.

> make -j X bzImage gives a warning:
> 
> make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
> rule.
> 
> Can we get rid of this one way or the other?

I have tried before - no luck.
This one happens due to a $(Q)$(MAKE) used as part of a $(if
construct in the top-level Makefile.
See around line 335 - 345.
It requires more than trivial changes to get rid of this one.

	Sam

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

* Re: [Bug 423] New: make -j X bzImage gives a warning
  2003-02-28 21:25 ` Sam Ravnborg
@ 2003-02-28 21:38   ` Martin J. Bligh
  2003-03-02 18:38     ` Sam Ravnborg
  2003-02-28 22:29   ` Roman Zippel
  1 sibling, 1 reply; 6+ messages in thread
From: Martin J. Bligh @ 2003-02-28 21:38 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel

> On Fri, Feb 28, 2003 at 12:49:45PM -0800, Martin J. Bligh wrote:
>> http://bugme.osdl.org/show_bug.cgi?id=423
>> 
>>            Summary: make -j X bzImage gives a warning
>>     Kernel Version: 2.5.63
>>             Status: NEW
>>           Severity: low	
>>              Owner: zippel@linux-m68k.org
> 
> Feel free to bug me with kbuild related issues.
> In this area Roman is 'only' taking care of kconfig & related issues AFAIK.
> 
>> make -j X bzImage gives a warning:
>> 
>> make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
>> rule.
>> 
>> Can we get rid of this one way or the other?
> 
> I have tried before - no luck.
> This one happens due to a $(Q)$(MAKE) used as part of a $(if
> construct in the top-level Makefile.
> See around line 335 - 345.
> It requires more than trivial changes to get rid of this one.

This bit?

define rule_vmlinux__
        set -e
        $(if $(filter .tmp_kallsyms%,$^),,
          echo '  Generating build number'
          . $(src)/scripts/mkversion > .tmp_version
          mv -f .tmp_version .version
          $(Q)$(MAKE) $(build)=init
        )
        $(call cmd,vmlinux__)
        echo 'cmd_$@ := $(cmd_vmlinux__)' > $(@D)/.$(@F).cmd
endef

Is it possible to define $(SINGLE_MAKE) or something as well as $(MAKE),
where it strips the -j, and use that in the instances where it can't
take a -j? Would be nice to get rid of that one last warning ... ;-)

M.


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

* Re: [Bug 423] New: make -j X bzImage gives a warning
  2003-02-28 21:25 ` Sam Ravnborg
  2003-02-28 21:38   ` Martin J. Bligh
@ 2003-02-28 22:29   ` Roman Zippel
  1 sibling, 0 replies; 6+ messages in thread
From: Roman Zippel @ 2003-02-28 22:29 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Martin J. Bligh, linux-kernel

Hi,

On Fri, 28 Feb 2003, Sam Ravnborg wrote:

> >            Summary: make -j X bzImage gives a warning
> >     Kernel Version: 2.5.63
> >             Status: NEW
> >           Severity: low	
> >              Owner: zippel@linux-m68k.org
> 
> Feel free to bug me with kbuild related issues.

A 'kernel build' component wouldn't be a bad idea. :)

> > Can we get rid of this one way or the other?
> 
> I have tried before - no luck.
> This one happens due to a $(Q)$(MAKE) used as part of a $(if
> construct in the top-level Makefile.

If I add a '+' in front of the $(Q), the warning goes away?

bye, Roman


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

* Re: [Bug 423] New: make -j X bzImage gives a warning
  2003-02-28 21:38   ` Martin J. Bligh
@ 2003-03-02 18:38     ` Sam Ravnborg
  2003-03-02 18:54       ` Martin J. Bligh
  0 siblings, 1 reply; 6+ messages in thread
From: Sam Ravnborg @ 2003-03-02 18:38 UTC (permalink / raw)
  To: Martin J. Bligh; +Cc: Sam Ravnborg, linux-kernel, Kai Germaschewski

On Fri, Feb 28, 2003 at 01:38:51PM -0800, Martin J. Bligh wrote:
> > On Fri, Feb 28, 2003 at 12:49:45PM -0800, Martin J. Bligh wrote:
> >> http://bugme.osdl.org/show_bug.cgi?id=423
> >> 
> >>            Summary: make -j X bzImage gives a warning
> >>     Kernel Version: 2.5.63
> >>             Status: NEW
> >>           Severity: low	
> >>              Owner: zippel@linux-m68k.org
> >> make -j X bzImage gives a warning:
> >> 
> >> make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
> >> rule.
> >> 
> >> Can we get rid of this one way or the other?

Kai has fixed this one in bk-latest.

Sample run:

[sam@mars kbuild4]$ make -j2 bzImage
make[1]: `scripts/kconfig/conf' is up to date.
./scripts/kconfig/conf -s arch/i386/Kconfig
#
# using defaults found in .config
#
  SPLIT   include/linux/autoconf.h -> include/config/*
  Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
  GEN     include/linux/compile.h (unchanged)
Kernel: arch/i386/boot/bzImage is ready

	Sam

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

* Re: [Bug 423] New: make -j X bzImage gives a warning
  2003-03-02 18:38     ` Sam Ravnborg
@ 2003-03-02 18:54       ` Martin J. Bligh
  0 siblings, 0 replies; 6+ messages in thread
From: Martin J. Bligh @ 2003-03-02 18:54 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: linux-kernel, Kai Germaschewski

--On Sunday, March 02, 2003 19:38:57 +0100 Sam Ravnborg <sam@ravnborg.org> wrote:
> On Fri, Feb 28, 2003 at 01:38:51PM -0800, Martin J. Bligh wrote:
>> > On Fri, Feb 28, 2003 at 12:49:45PM -0800, Martin J. Bligh wrote:
>> >> http://bugme.osdl.org/show_bug.cgi?id=423
>> >> 
>> >>            Summary: make -j X bzImage gives a warning
>> >>     Kernel Version: 2.5.63
>> >>             Status: NEW
>> >>           Severity: low	
>> >>              Owner: zippel@linux-m68k.org
>> >> make -j X bzImage gives a warning:
>> >> 
>> >> make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make
>> >> rule.
>> >> 
>> >> Can we get rid of this one way or the other?
> 
> Kai has fixed this one in bk-latest.
> 
> Sample run:
> 
> [sam@mars kbuild4]$ make -j2 bzImage
> make[1]: `scripts/kconfig/conf' is up to date.
> ./scripts/kconfig/conf -s arch/i386/Kconfig
># 
># using defaults found in .config
># 
>   SPLIT   include/linux/autoconf.h -> include/config/*
>   Starting the build. KBUILD_BUILTIN=1 KBUILD_MODULES=
>   GEN     include/linux/compile.h (unchanged)
> Kernel: arch/i386/boot/bzImage is ready

Heh - very cool. Tested it out. Thanks Kai ...
I'll close that bug.

M.


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

end of thread, other threads:[~2003-03-02 18:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-28 20:49 [Bug 423] New: make -j X bzImage gives a warning Martin J. Bligh
2003-02-28 21:25 ` Sam Ravnborg
2003-02-28 21:38   ` Martin J. Bligh
2003-03-02 18:38     ` Sam Ravnborg
2003-03-02 18:54       ` Martin J. Bligh
2003-02-28 22:29   ` Roman Zippel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.