2.6.2-rc1-mm3 compile error (kgdb)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
hi,
i was about to compile 2.6.2-rc1-mm3 with kgdb and stuff enabled (.config attached), but this error occured:
evil@sheep:/data/MP3/scratch/kernel/linux-2.6-mm$ make bzImage modules make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date. ~ CHK include/linux/compile.h ~ UPD include/linux/compile.h ~ CC init/version.o ~ LD init/built-in.o ~ GEN .version ~ CHK include/linux/compile.h ~ UPD include/linux/compile.h ~ CC init/version.o ~ LD init/built-in.o ~ LD .tmp_vmlinux1 arch/ppc/kernel/built-in.o(.text+0x947c): In function `getpacket': arch/ppc/kernel/ppc-stub.c:350: undefined reference to `getDebugChar' arch/ppc/kernel/built-in.o(.text+0x9494):arch/ppc/kernel/ppc-stub.c:359: undefined reference to `getDebugChar' arch/ppc/kernel/built-in.o(.text+0x9504):arch/ppc/kernel/ppc-stub.c:373: undefined reference to `getDebugChar' arch/ppc/kernel/built-in.o(.text+0x9514):arch/ppc/kernel/ppc-stub.c:374: undefined reference to `getDebugChar' arch/ppc/kernel/built-in.o(.text+0x9538):arch/ppc/kernel/ppc-stub.c:376: undefined reference to `putDebugChar' arch/ppc/kernel/built-in.o(.text+0x9544):arch/ppc/kernel/ppc-stub.c:378: undefined reference to `putDebugChar' arch/ppc/kernel/built-in.o(.text+0x9558):arch/ppc/kernel/ppc-stub.c:381: undefined reference to `putDebugChar' arch/ppc/kernel/built-in.o(.text+0x9560):arch/ppc/kernel/ppc-stub.c:382: undefined reference to `putDebugChar' arch/ppc/kernel/built-in.o(.text+0x95bc): In function `putpacket': arch/ppc/kernel/ppc-stub.c:402: undefined reference to `putDebugChar' arch/ppc/kernel/built-in.o(.text+0x95d4):arch/ppc/kernel/ppc-stub.c:412: more undefined references to `putDebugChar' follow arch/ppc/kernel/built-in.o(.text+0x95f0): In function `putpacket': arch/ppc/kernel/ppc-stub.c:415: undefined reference to `getDebugChar' arch/ppc/kernel/built-in.o(.text+0x961c):arch/ppc/kernel/ppc-stub.c:407: undefined reference to `putDebugChar' arch/ppc/kernel/built-in.o(.text+0x9810): In function `handle_exception': arch/ppc/kernel/ppc-stub.c:589: undefined reference to `kgdb_interruptible' arch/ppc/kernel/built-in.o(.text+0x9c78):arch/ppc/kernel/ppc-stub.c:781: undefined reference to `kgdb_interruptible' arch/ppc/kernel/built-in.o(.init.text+0x82c): In function `setup_arch': arch/ppc/kernel/setup.c:651: undefined reference to `kgdb_map_scc' arch/ppc/platforms/built-in.o(.init.text+0x9ac): In function `pmac_setup_arch': arch/ppc/platforms/pmac_setup.c:301: undefined reference to `zs_kgdb_hook' drivers/built-in.o(.text+0x2d200): In function `eth_getDebugChar': drivers/net/kgdb_eth.c:55: undefined reference to `netpoll_poll' drivers/built-in.o(.text+0x2d2a8): In function `eth_flushDebugChar': drivers/net/kgdb_eth.c:66: undefined reference to `netpoll_send_udp' drivers/built-in.o(.text+0x2d2fc): In function `rx_hook': drivers/net/kgdb_eth.c:85: undefined reference to `netpoll_trap' drivers/built-in.o(.text+0x2d3ac):drivers/net/kgdb_eth.c:90: undefined reference to `kgdb_schedule_breakpoint' drivers/built-in.o(.text+0x2d3d0):drivers/net/kgdb_eth.c:86: undefined reference to `kgdb_schedule_breakpoint' drivers/built-in.o(.text+0x2d3f0): In function `option_setup': drivers/net/kgdb_eth.c:106: undefined reference to `netpoll_parse_options' drivers/built-in.o(.text+0x2d440): In function `init_kgdboe': drivers/net/kgdb_eth.c:129: undefined reference to `netpoll_setup' make: *** [.tmp_vmlinux1] Error 1
this is on Debian/unstable (PPC32) (PReP), gcc-Version 3.3.3 20031229 (prerelease)
GNU ld version 2.14.90.0.7 20031029 Debian GNU/Linux ~ Supported emulations:
~ elf32ppclinux ~ elf32ppc ~ elf32ppcsim ~ elf64ppc
glibc Version: 2.3.2.ds1-10
this setup happily compiles other vanilla/slightly patched 2.[4|6].x kernels with no problems.
Thanks,
Christian.
- --
BOFH excuse #430:
Mouse has out-of-cheese-error
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAE8mS+A7rjkF8z0wRAg4tAJ4oZB4ehBcwvsKAVJynAtNUrJXrmwCeL5v4 2GhQAuSmL9WbNZTBiHgPRRU=
=N9Fs
-----END PGP SIGNATURE-----
cat .config | grep ^C > ~/config-mm3.txt
CONFIG_MMU=yCONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_HAVE_DEC_LOCK=yCONFIG_PPC=yCONFIG_PPC32=yCONFIG_GENERIC_NVRAM=yCONFIG_EXPERIMENTAL=yCONFIG_CLEAN_COMPILE=yCONFIG_BROKEN_ON_SMP=yCONFIG_SWAP=yCONFIG_SYSVIPC=yCONFIG_BSD_PROCESS_ACCT=yCONFIG_SYSCTL=yCONFIG_LOG_BUF_SHIFT=14CONFIG_KALLSYMS=yCONFIG_FUTEX=yCONFIG_EPOLL=yCONFIG_IOSCHED_NOOP=yCONFIG_IOSCHED_AS=yCONFIG_IOSCHED_DEADLINE=yCONFIG_IOSCHED_CFQ=yCONFIG_MODULES=yCONFIG_MODULE_UNLOAD=yCONFIG_OBSOLETE_MODPARM=yCONFIG_KMOD=y
CONFIG_6xx=yCONFIG_PPC_STD_MMU=yCONFIG_PPC_MULTIPLATFORM=yCONFIG_PPC_CHRP=yCONFIG_PPC_PMAC=yCONFIG_PPC_PREP=yCONFIG_PPC_OF=yCONFIG_PPCBUG_NVRAM=yCONFIG_KERNEL_ELF=yCONFIG_BINFMT_ELF=yCONFIG_CMDLINE_BOOL=y CONFIG_CMDLINE="console=ttyS0,9600 console=tty0 root=/dev/sda5" CONFIG_GENERIC_ISA_DMA=yCONFIG_PCI=yCONFIG_PCI_DOMAINS=yCONFIG_HIGHMEM_START=0xfe000000 CONFIG_LOWMEM_SIZE=0x30000000 CONFIG_KERNEL_START=0xc0000000 CONFIG_TASK_SIZE=0x80000000 CONFIG_BOOT_LOAD=0x00800000CONFIG_SCSI=yCONFIG_BLK_DEV_SD=yCONFIG_MAX_SD_DISKS=256CONFIG_SCSI_SYM53C8XX_2=y CONFIG_SCSI_SYM53C8XX_DMA_ADDRESSING_MODE=0 CONFIG_SCSI_SYM53C8XX_DEFAULT_TAGS=16 CONFIG_SCSI_SYM53C8XX_MAX_TAGS=64 CONFIG_SCSI_QLA2XXX_CONFIG=yCONFIG_NET=yCONFIG_PACKET=yCONFIG_PACKET_MMAP=yCONFIG_UNIX=yCONFIG_INET=yCONFIG_IPV6_SCTP__=yCONFIG_NETDEVICES=yCONFIG_NET_ETHERNET=yCONFIG_MII=yCONFIG_NET_VENDOR_3COM=yCONFIG_VORTEX=mCONFIG_NET_TULIP=yCONFIG_DE2104X=mCONFIG_TULIP=mCONFIG_INPUT=yCONFIG_INPUT_MOUSEDEV=yCONFIG_INPUT_MOUSEDEV_PSAUX=y CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 CONFIG_SOUND_GAMEPORT=yCONFIG_SERIO=yCONFIG_INPUT_KEYBOARD=yCONFIG_KEYBOARD_ATKBD=yCONFIG_VT=yCONFIG_VT_CONSOLE=yCONFIG_HW_CONSOLE=yCONFIG_UNIX98_PTYS=yCONFIG_UNIX98_PTY_COUNT=256CONFIG_VGA_CONSOLE=yCONFIG_DUMMY_CONSOLE=yCONFIG_EXT2_FS=yCONFIG_EXT3_FS=yCONFIG_JBD=yCONFIG_PROC_FS=yCONFIG_PROC_KCORE=yCONFIG_SYSFS=yCONFIG_DEVPTS_FS=yCONFIG_RAMFS=yCONFIG_MSDOS_PARTITION=yCONFIG_CRC32=mCONFIG_DEBUG_KERNEL=yCONFIG_MAGIC_SYSRQ=yCONFIG_KGDB=yCONFIG_KGDB_TTYS1=yCONFIG_DEBUG_INFO=yCONFIG_BOOTX_TEXT=y