The compile dies during linking. I've been searching around the web, and have found plenty of other reports of this bug (mostly on debian lists), but haven't yet seen a clear solution (as far as I can tell it was supposed to be fixed in 2.4.17). Here is the relevent output: make[1]: Leaving directory `/usr/src/linux-2.4.18-pre3/arch/i386/lib' make[1]: Entering directory `/usr/src/linux-2.4.18-pre3' ld -m elf_i386 -T /usr/src/linux-2.4.18-pre3/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o --start-group arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/video/video.o net/network.o /usr/src/linux-2.4.18-pre3/arch/i386/lib/lib.a /usr/src/linux-2.4.18-pre3/lib/lib.a /usr/src/linux-2.4.18-pre3/arch/i386/lib/lib.a --end-group -o vmlinux drivers/sound/sounddrivers.o(.data+0xb4): undefined reference to `local symbols in discarded section .text.exit' make[1]: *** [kallsyms] Error 1 make[1]: Leaving directory `/usr/src/linux-2.4.18-pre3' make: *** [vmlinux] Error 2 ld --version GNU ld version 2.11.92.0.12.3 20011121 Copyright 2001 Free Software Foundation, Inc. This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.
OK, fixed in 2.4.18_pre3-r1. For a quick fix, do this: cd /usr/src/linux patch -p1 < /usr/portage/sys-kernel/linux-sources/files/linux-2.4.16-binutils.patch I'll also try to track down mjc's email so I can get this bug fix to him too.