Skip to contentSkip to conversation

New: make -j X bzImage gives a warning

Bug 423 Martin J. Bligh 3 participants 6 messages Feb 28, 2003 – Mar 2, 2003

lore
Share & tools
lore
#1 lore raw
Quoted 7 lines · Martin J. Bligh

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: [email protected]

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

Quoted 6 lines

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

#2 lore raw
Quoted 17 lines · Martin J. Bligh
Quoted 7 lines

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: [email protected]

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

Quoted 5 lines

make -j X bzImage gives a warning:

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

Quoted 7 lines
Quoted 1 line

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.

#5 lore raw
In reply to Sam Ravnborg

Hi,

Quoted 7 lines · Sam Ravnborg
Quoted 5 lines

Summary: make -j X bzImage gives a warning
Kernel Version: 2.5.63
Status: NEW
Severity: low
Owner: [email protected]

Feel free to bug me with kbuild related issues.

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

Quoted 5 lines
Quoted 1 line

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

#3 lore raw
In reply to Martin J. Bligh
Quoted 10 lines · Martin J. Bligh
Quoted 10 lines · Martin J. Bligh
Quoted 9 lines

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: [email protected]
make -j X bzImage gives a warning:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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

#4 lore raw
Quoted 24 lines · --On Sunday, March 02, 2003 19:38:57 +0100 Sam Ravnborg <[email protected]>…
Quoted 10 lines · Martin J. Bligh
Quoted 10 lines · Martin J. Bligh
Quoted 9 lines

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: [email protected]
make -j X bzImage gives a warning:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

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
#

Quoted 6 lines
# 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.