Bug 103067 - kernel-source-2.4.21-1.1931.2.411.ent doesn't compile if APIC/IOAPIC is enabled in config
Summary: kernel-source-2.4.21-1.1931.2.411.ent doesn't compile if APIC/IOAPIC is enabl...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: kernel
Version: 3.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-26 11:25 UTC by Felipe Alfaro Solana
Modified: 2007-11-30 22:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2003-08-26 11:31:36 UTC
Target Upstream Version:
Embargoed:


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

Description Felipe Alfaro Solana 2003-08-26 11:25:43 UTC
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.

Comment 1 Felipe Alfaro Solana 2003-08-26 11:26:21 UTC
Created attachment 93931 [details]
The ".config" file used to build the kernel

Comment 2 Arjan van de Ven 2003-08-26 11:31:36 UTC
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.