Bug 37852 - Kernel build from sources fails with undefined symbol
Summary: Kernel build from sources fails with undefined symbol
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: kernel
Version: 7.1
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Arjan van de Ven
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-04-26 15:26 UTC by Fred Pishotta
Modified: 2007-04-18 16:32 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-04-26 15:26:55 UTC
Embargoed:


Attachments (Terms of Use)

Description Fred Pishotta 2001-04-26 15:26:51 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)


Building a custom kernel from Redhat source, the build will SOMETIMES
fail, complaining of undefined symbol "noautodma" 
in function "pci_fixup_vc8363" (which is in 
file /usr/src/linux/arch/i386/kernel/pc_pci.c
Doesn't fail with simple no-module compilations, seems
to be worse if one compiles modules and involves the
ATA/IDE/etc. modules.

Reproducible: Sometimes
Steps to Reproduce:
1.make clean
2.make xconfig (and configure modular things)
3.make dep
4.make bzimage
	

Actual Results:  ...
...
make[1]: Leaving directory `/usr/src/dclinux-2.4.2/arch/i386/lib'
gcc -E -C -P -I/usr/src/dclinux/include -imacros /usr/src/dclinux/ \
include/asm-i386/page_offset.h -Ui386 arch/i386/vmlinux.lds.S 
>arch/i386/vmlinux.lds \
ld -m elf_i386 -T /usr/src/dclinux/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/block/block.o drivers/char/char.o \
drivers/misc/misc.o drivers/net/net.o drivers/media/media.o  
drivers/scsi/scsidrv.o \
drivers/scsi/aic7xxx_new/aic7xxx_drv.o drivers/cdrom/driver.o 
drivers/pci/driver.o \
drivers/pnp/pnp.o drivers/video/video.o \
        net/network.o \
        /usr/src/dclinux/arch/i386/lib/lib.a /usr/src/dclinux/lib/lib.a \
/usr/src/dclinux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
arch/i386/kernel/kernel.o: In function `pci_fixup_vt8363':
arch/i386/kernel/kernel.o(.text.init+0x3867): undefined reference to 
`noautodma'
make: *** [vmlinux] Error 1


Expected Results:  Normal compilization and linking.

Problem can be eliminiated by starting over and building
without modules.

Comment 1 Arjan van de Ven 2001-04-26 15:45:29 UTC
It's a known issue (well, it is now) that the 2.4.2-2 kernel sources won't 
compile without IDE inside the kernel. If you don't IDE, it is safe
to remove the entire content of the pci_fixup_vt8363 function that uses the
noautodma variable.

We've fixed this for the next kernel we will release.



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