From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=DMARC_MISSING, MAILING_LIST_MULTI,RDNS_NONE autolearn=no autolearn_force=no version=4.0.0 Received: from home2.telefragged.com (unknown [65.192.137.172]) by chiba.3jane.net (Postfix) with ESMTP id 4CF25AC3AD for ; Sun, 2 Jun 2002 10:12:26 -0500 (CDT) Received: from localhost.localdomain (gw2.ofw.fi [194.111.144.2]) by home2.telefragged.com (8.11.4/8.11.4) with SMTP id g52GIae21767 for ; Sun, 2 Jun 2002 11:18:37 -0500 Date: Sun, 2 Jun 2002 18:09:53 +0300 From: Dan Naumov To: gentoo-dev@gentoo.org Message-Id: <20020602180953.6e494551.jago@telefragged.com> X-Mailer: Sylpheed version 0.7.6claws (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: [gentoo-dev] Why is preempt-kernel *required* for building a kernel using gentoo-sources ? Sender: gentoo-dev-admin@gentoo.org Errors-To: gentoo-dev-admin@gentoo.org X-BeenThere: gentoo-dev@gentoo.org X-Mailman-Version: 2.0.6 Precedence: bulk Reply-To: gentoo-dev@gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux developer list List-Unsubscribe: , List-Archive: X-Archives-Salt: 32e194b1-443a-4f28-860f-4d02f8ab569f X-Archives-Hash: 6918840a590670c0bcf5148eb784b6f4 Hey. 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: fs/fs.o: In function `dput': fs/fs.o(.text+0x11ff5): undefined reference to `atomic_dec_and_lock' make: *** [vmlinux] Error 1 I go back to menuconfig, add preempt kernel back, save config, recompile again and it works...how come ? Changing the compile optimisations doesn not seem to have any effect on this... According to a thread on Gentoo Forums (http://forums.gentoo.org/viewtopic.php?t=3915), I am not the only have having the problem either. Sincerely, Dan Naumov