Gentoo Archives: gentoo-dev

From: Dan Naumov <jago@×××××××××××.com>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ?
Date: Sun, 02 Jun 2002 10:12:26
1 Hey.
3 I just stubled across a very weird problem. I was told that using preempt slows down SETI so I decided to do some benchmarking to see whether it's true. I loaded my kernel config, disabled preempt and ran "make dep clean bzImage modules modules_install", the build failed with:
5 fs/fs.o: In function `dput':
6 fs/fs.o(.text+0x11ff5): undefined reference to `atomic_dec_and_lock'
7 make: *** [vmlinux] Error 1
9 I go back to menuconfig, add preempt kernel back, save config, recompile again and it come ? Changing the compile optimisations doesn not seem to have any effect on this... According to a thread on Gentoo Forums (, I am not the only have having the problem either.
11 Sincerely,
12 Dan Naumov