Description of problem: ----------------------- I can't compile kernel-source-2.4.21-1.1931.2.411.ent when the following is set in the .config file: CONFIG_X86_UP_APIC=y CONFIG_X86_UP_IOAPIC=y CONFIG_X86_LOCAL_APIC=y CONFIG_X86_IO_APIC=y During compile, I get the following errors when performing a "make rpm": gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=memcpy -c -o memcpy.o memcpy.c gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -Wno-unused -fomit-frame-pointer -pipe -freorder-blocks -mpreferred-stack-boundary=2 -march=pentium4 -nostdinc -iwithprefix include -DKBUILD_BASENAME=strstr -c -o strstr.o strstr.c rm -f lib.a ar rcs lib.a checksum.o old-checksum.o delay.o usercopy.o getuser.o memcpy.o strstr.o make[3]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/arch/i386/lib' make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/arch/i386/lib' gcc -E -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/include -xc -P arch/i386/vmlinux.lds.in -o arch/i386/vmlinux.lds make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411' ld -m elf_i386 -T /usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o init/do_mounts.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/char/drm/drm.o drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/media/media.o drivers/md/mddev.o crypto/crypto.o net/network.o /usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/arch/i386/lib/lib.a /usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/lib/lib.a /usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411/arch/i386/lib/lib.a --end-group -o vmlinux arch/i386/kernel/kernel.o(.text+0x3ce3): In function `enable_irq': : undefined reference to `send_IPI_self' make[2]: *** [kallsyms] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411' make[1]: *** [vmlinux] Error 2 make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.211.1931.2.411' error: Bad exit status from /var/tmp/rpm-tmp.79650 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.79650 (%build) make: *** [rpm] Error 1 Version-Release number of selected component (if applicable): kernel-source-2.4.21-1.1931.2.411.ent How reproducible: Always Steps to Reproduce: 1. Install kernel-source-2.4.21-1.1931.2.411.ent 2. Enable APIC and IOAPIC support for UP 3. Try compiling Actual results: The kernel won't compile Expected results: The kernel should compile Additional info: I have attached the ".config" file used to build the kernel.
Created attachment 93931 [details] The ".config" file used to build the kernel
Don't set this option; it's a bad idea for just about any system and there are just about no benefits.