Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7941

Summary: gentoo-sources-2.4.19-r9 cant be compiled w/o preempt
Product: Gentoo Linux Reporter: phoen][x <fisi.tilman.klar>
Component: [OLD] Core systemAssignee: Brandon Low (RETIRED) <lostlogic>
Status: RESOLVED INVALID    
Severity: normal CC: mholzer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description phoen][x 2002-09-15 03:01:58 UTC
Here we go:

gcc -E -C -P -I/usr/src/linux-2.4.19-gentoo-r9/include -imacros
/usr/src/linux-2.4.19-gentoo-r9/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-r9/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/ide/idedriver.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o
drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o
drivers/message/i2o/i2o.o drivers/i2c/i2c.o \
	net/network.o \
	grsecurity/grsec.o \
	/usr/src/linux-2.4.19-gentoo-r9/arch/i386/lib/lib.a
/usr/src/linux-2.4.19-gentoo-r9/lib/lib.a
/usr/src/linux-2.4.19-gentoo-r9/arch/i386/lib/lib.a \
	--end-group \
	-o vmlinux
fs/fs.o: In function `dput':
fs/fs.o(.text+0x1367d): undefined reference to `atomic_dec_and_lock'
make: *** [vmlinux] Error 1

IRC:
[ 9:50am] <lostlogic> can you BUG me so I remember to fix tomorrow
[...]
[ 9:54am] <lostlogic> it is during linking, rather than compile that is why it
takes so long to get the error

so long mate,

-phoen][x-
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-09-16 11:59:21 UTC
martin, can you confirm or deny this bug?  If you have this problem, try make
distclean and then rebuilding (don't forget to save your .config before doing
make distclean)
Comment 2 Brandon Low (RETIRED) gentoo-dev 2002-09-18 14:12:14 UTC
this is a problem with the nature of the kernel config system relating to the
preempt patch I THINK, anywho, I'm making a new lolo-sources ATM with an updated
preempt patch, I hope that fixes it.