From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Duardo Subject: KVM-16 compiled against GCC 4 Date: Mon, 19 Mar 2007 11:18:06 -0400 Message-ID: <45FEA9AE.5090206@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org There seems to be a bug in the generated file qemu/i386-softmmu/op.h when compiling kvm-16 against GCC 4. If you apply the two GCC 4 patches to the kvm-16 source: 1) http://www.busybox.net/downloads/qemu/qemu-gcc-4-all.patch 2) http://www.kju-app.org/proj/browser/trunk/patches/qemu-0.9.0-gcc4.patch and try to compile against GCC 4 you'll get a symbol redefinition error. The solution is to remove all "extern char mempy;" lines in qemu/i386-softmmu/op.h So far kvm has been running very stable with the only problem being the known reboot bug. My question is where exactly is qemu/i386-softmmu/op.h being generated? I want to patch the problem before it gets generated. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV