Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4148 - gentoo-sources 2.4.19-r7 won't compile without preemptive kernel
Summary: gentoo-sources 2.4.19-r7 won't compile without preemptive kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-25 12:42 UTC by Gregory P. Smith
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the .config file used to attempt this kernel build (.config,26.42 KB, text/plain)
2002-06-26 00:35 UTC, Gregory P. Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gregory P. Smith 2002-06-25 12:42:03 UTC
make[1]: Leaving directory `/usr/src/linux-2.4.19-gentoo-r7/arch/i386/lib'
gcc -E -C -P -I/usr/src/linux-2.4.19-gentoo-r7/include -imacros
/usr/src/linux-2.4.19-gentoo-r7/include/asm-i386/page_offset.h -Ui386
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
ld -m elf_i386 -T /usr/src/linux-2.4.19-gentoo-r7/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/media/media.o drivers/char/agp/agp.o
drivers/ide/idedriver.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o
drivers/pci/driver.o drivers/net/wireless/wireless_net.o drivers/video/video.o
drivers/usb/usbdrv.o \
        net/network.o \
        /usr/src/linux-2.4.19-gentoo-r7/arch/i386/lib/lib.a
/usr/src/linux-2.4.19-gentoo-r7/lib/lib.a
/usr/src/linux-2.4.19-gentoo-r7/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
fs/fs.o: In function `dput':
fs/fs.o(.text+0x11545): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1

The above is what I got after using make config to uncheck the kernel preemption
option, followed by a "make clean", "make dep", "make bzImage modules
modules_install".

something in the gentoo sources kernel causes my laptop to emit a high pitched
whine any time the CPU is busy so i was recompiling with preemption off to see
if that caused it.  standard kernels don't have this problem.  i'll try an
xfs-sources kernel next.

(BTW, unrelated, the install docs say that the gentoo-sources kernel does not
contain XFS support.  that does not appear to be true.)
Comment 1 Gregory P. Smith 2002-06-26 00:35:01 UTC
Created attachment 1807 [details]
the .config file used to attempt this kernel build
Comment 2 Michael Cohen (RETIRED) gentoo-dev 2002-07-16 22:14:31 UTC
try mjc-sources
Comment 3 Brandon Low (RETIRED) gentoo-dev 2002-09-06 17:54:32 UTC
2.4.19-r9 should be fine, if not re-open.