public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* modpost error message with -j builds
@ 2008-06-10 10:25 Adrian Bunk
  2008-06-10 10:38 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2008-06-10 10:25 UTC (permalink / raw)
  To: sam; +Cc: linux-kbuild, linux-kernel

I just say the following with a -j 2 build:

<--  snip  -->

...
  CHECK   include/linux/version.h
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  Building modules, stage 2.
  MODPOST 222 modules
  CC      arch/x86/boot/a20.o
  CC      arch/x86/boot/cmdline.o
  AS      arch/x86/boot/copy.o
  HOSTCC  arch/x86/boot/mkcpustr
  CC      arch/x86/boot/cpucheck.o
  CC      arch/x86/boot/edd.o
  AS      arch/x86/boot/compressed/head_64.o
  CC      arch/x86/boot/compressed/misc.o
ERROR: "____ilog2_NaN" [drivers/usb/core/usbcore.ko] undefined!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
make: *** Waiting for unfinished jobs....
  CC      arch/x86/boot/main.o
  CC      arch/x86/boot/mca.o
  CC      arch/x86/boot/memory.o
  CC      arch/x86/boot/pm.o
  AS      arch/x86/boot/pmjump.o
  CC      arch/x86/boot/printf.o
  CC      arch/x86/boot/string.o
  OBJCOPY arch/x86/boot/compressed/vmlinux.bin
  CC      arch/x86/boot/tty.o
  GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
  CC      arch/x86/boot/video.o
  CC      arch/x86/boot/video-mode.o
  CC      arch/x86/boot/version.o
  CC      arch/x86/boot/video-vga.o
  CC      arch/x86/boot/video-vesa.o
  CC      arch/x86/boot/video-bios.o
  HOSTCC  arch/x86/boot/tools/build
  CPUSTR  arch/x86/boot/cpustr.h
  CC      arch/x86/boot/cpu.o
  LD      arch/x86/boot/compressed/piggy.o
  LD      arch/x86/boot/compressed/vmlinux
  OFFSETS arch/x86/boot/offsets.h
  OBJCOPY arch/x86/boot/vmlinux.bin
  AS      arch/x86/boot/header.o
  LD      arch/x86/boot/setup.elf
  OBJCOPY arch/x86/boot/setup.bin
  BUILD   arch/x86/boot/bzImage
Root device is (8, 1)
Setup is 12252 bytes (padded to 12288 bytes).
System is 2498 kB
CRC ee7ee55
Kernel: arch/x86/boot/bzImage is ready  (#1)

<--  snip  -->

It would be good if there was a last line "ERROR: ..." when the build 
finished with a non-zero return value.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: modpost error message with -j builds
  2008-06-10 10:25 modpost error message with -j builds Adrian Bunk
@ 2008-06-10 10:38 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2008-06-10 10:38 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: linux-kbuild, linux-kernel

On Tue, Jun 10, 2008 at 01:25:23PM +0300, Adrian Bunk wrote:
> I just say the following with a -j 2 build:
> 
> <--  snip  -->
> 
> ...
>   CHECK   include/linux/version.h
>   LD      vmlinux
>   SYSMAP  System.map
>   SYSMAP  .tmp_System.map
>   Building modules, stage 2.
>   MODPOST 222 modules
>   CC      arch/x86/boot/a20.o
>   CC      arch/x86/boot/cmdline.o
>   AS      arch/x86/boot/copy.o
>   HOSTCC  arch/x86/boot/mkcpustr
>   CC      arch/x86/boot/cpucheck.o
>   CC      arch/x86/boot/edd.o
>   AS      arch/x86/boot/compressed/head_64.o
>   CC      arch/x86/boot/compressed/misc.o
> ERROR: "____ilog2_NaN" [drivers/usb/core/usbcore.ko] undefined!
> make[1]: *** [__modpost] Error 1
> make: *** [modules] Error 2
> make: *** Waiting for unfinished jobs....
>   CC      arch/x86/boot/main.o
>   CC      arch/x86/boot/mca.o
>   CC      arch/x86/boot/memory.o
>   CC      arch/x86/boot/pm.o
>   AS      arch/x86/boot/pmjump.o
>   CC      arch/x86/boot/printf.o
>   CC      arch/x86/boot/string.o
>   OBJCOPY arch/x86/boot/compressed/vmlinux.bin
>   CC      arch/x86/boot/tty.o
>   GZIP    arch/x86/boot/compressed/vmlinux.bin.gz
>   CC      arch/x86/boot/video.o
>   CC      arch/x86/boot/video-mode.o
>   CC      arch/x86/boot/version.o
>   CC      arch/x86/boot/video-vga.o
>   CC      arch/x86/boot/video-vesa.o
>   CC      arch/x86/boot/video-bios.o
>   HOSTCC  arch/x86/boot/tools/build
>   CPUSTR  arch/x86/boot/cpustr.h
>   CC      arch/x86/boot/cpu.o
>   LD      arch/x86/boot/compressed/piggy.o
>   LD      arch/x86/boot/compressed/vmlinux
>   OFFSETS arch/x86/boot/offsets.h
>   OBJCOPY arch/x86/boot/vmlinux.bin
>   AS      arch/x86/boot/header.o
>   LD      arch/x86/boot/setup.elf
>   OBJCOPY arch/x86/boot/setup.bin
>   BUILD   arch/x86/boot/bzImage
> Root device is (8, 1)
> Setup is 12252 bytes (padded to 12288 bytes).
> System is 2498 kB
> CRC ee7ee55
> Kernel: arch/x86/boot/bzImage is ready  (#1)
> 
> <--  snip  -->
> 
> It would be good if there was a last line "ERROR: ..." when the build 
> finished with a non-zero return value.

Agree. But I do not know how to teach make to do so.
If anyone have some hints I'm interested.

	Sam

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

end of thread, other threads:[~2008-06-10 10:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-10 10:25 modpost error message with -j builds Adrian Bunk
2008-06-10 10:38 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox