2.5.64 build doesn't abort on link failure

Geert Uytterhoeven (geert@linux-m68k.org)
Wed, 5 Mar 2003 14:02:22 +0100 (MET)

In 2.5.64, the kernel build process doesn't abort if the linking stage fails:

| m68k-linux-ld -m m68kelf -T arch/m68k/vmlinux.lds.s arch/m68k/kernel/head.o init/built-in.o --start-group usr/built-in.o arch/m68k/kernel/built-in.o arch/m68k/mm/built-in.o arch/m68k/q40/built-in.o arch/m68k/amiga/built-in.o arch/m68k/atari/built-in.o arch/m68k/mac/built-in.o arch/m68k/hp300/built-in.o arch/m68k/apollo/built-in.o arch/m68k/mvme147/built-in.o arch/m68k/mvme16x/built-in.o arch/m68k/bvme6000/built-in.o arch/m68k/sun3x/built-in.o arch/m68k/sun3/built-in.o arch/m68k/fpsp040/built-in.o arch/m68k/ifpsp060/built-in.o arch/m68k/math-emu/built-in.o kernel/built-in.o mm/built-in.o fs/built-in.o ipc/built-in.o security/built-in.o crypto/built-in.o lib/lib.a arch/m68k/lib/lib.a drivers/built-in.o sound/built-in.o net/built-in.o --end-group -o vmlinux
| drivers/built-in.o: In function `atari_scsi_queue_command':
| drivers/built-in.o(.text+0x5974c): undefined reference to `update_timeout'

In 2.5.63, the build process was aborted here, but in 2.5.64 it continues with:

| m68k-linux-nm vmlinux | grep -v '\(compiled\)\|\(\.o$\)\|\( [aUw] \)\|\(\.\.ng$\)\|\(LASH[RL]DI\)' | sort > System.map
| m68k-linux-nm: vmlinux: No such file or directory
| cp vmlinux vmlinux.tmp
| cp: cannot stat `vmlinux': No such file or directory
| make: *** [vmlinux.gz] Error 1
| tux$

which obviously fails.



Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds

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