Bug 103067 - kernel-source-2.4.21-1.1931.2.411.ent doesn't compile if APIC/IOAPIC is enabled in config
kernel-source-2.4.21-1.1931.2.411.ent doesn't compile if APIC/IOAPIC is enabl...
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel (Show other bugs)
i386 Linux
medium Severity high
: ---
: ---
Assigned To: Arjan van de Ven
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2003-08-26 07:25 EDT by Felipe Alfaro Solana
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-08-26 07:31:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
The ".config" file used to build the kernel (26.19 KB, text/plain)
2003-08-26 07:26 EDT, Felipe Alfaro Solana
no flags Details

  None (edit)
Description Felipe Alfaro Solana 2003-08-26 07:25:43 EDT
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:


During compile, I get the following errors when performing a "make rpm":

gcc -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel- -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- -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
make[3]: Leaving directory
make[2]: Leaving directory
gcc -E -D__KERNEL__ -I/usr/src/redhat/BUILD/kernel-
-xc -P arch/i386/vmlinux.lds.in -o arch/i386/vmlinux.lds
make[2]: Entering directory `/usr/src/redhat/BUILD/kernel-'
ld -m elf_i386 -T
/usr/src/redhat/BUILD/kernel- -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- --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-'
make[1]: *** [vmlinux] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-'
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):

How reproducible:

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.
Comment 1 Felipe Alfaro Solana 2003-08-26 07:26:21 EDT
Created attachment 93931 [details]
The ".config" file used to build the kernel
Comment 2 Arjan van de Ven 2003-08-26 07:31:36 EDT
Don't set this option; it's a bad idea for just about any system and there are
just about no benefits.

Note You need to log in before you can comment on or make changes to this bug.