From: Ingo Molnar Subject: [kvm tools] bug: rbtree.o build rule? Date: Wed, 18 May 2011 14:35:04 +0200 Message-ID: <20110518123504.GA26734@elte.hu> References: <1305553006-20637-1-git-send-email-levinsasha928@gmail.com> <1305553006-20637-2-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: penberg@kernel.org, asias.hejun@gmail.com, prasadjoshi124@gmail.com, gorcunov@gmail.com, KVM devel mailing list To: Sasha Levin Return-path: Received: from mx2.mail.elte.hu ([157.181.151.9]:42517 "EHLO mx2.mail.elte.hu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932936Ab1ERMfK (ORCPT ); Wed, 18 May 2011 08:35:10 -0400 Content-Disposition: inline In-Reply-To: <1305553006-20637-2-git-send-email-levinsasha928@gmail.com> Sender: kvm-owner@vger.kernel.org List-ID: something i just noticed, rbtree.o is built in the kernel directory: CC ../../lib/rbtree.o that's Not Nice (tm) (we should never modify the kernel's objects) and it can also cause problems like this when having a 32-bit tree built already: /usr/bin/ld: i386 architecture of input file `../../lib/rbtree.o' is incompatible with i386:x86-64 output collect2: ld returned 1 exit status Is there a reason why kvm does not do what perf does and build its own rbtree.o? Thanks, Ingo