From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: latest KVM tree build fail on 32bit system Date: Thu, 26 Aug 2010 13:30:56 +0300 Message-ID: <4C764260.7010807@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "kvm@vger.kernel.org" To: "Hao, Xudong" Return-path: Received: from mx1.redhat.com ([209.132.183.28]:2884 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752829Ab0HZKbA (ORCPT ); Thu, 26 Aug 2010 06:31:00 -0400 In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On 08/26/2010 08:42 AM, Hao, Xudong wrote: > Hi, did anyone see latest kvm build fail on 32bit system? > kvm commit: 152d921348ee2ac7bb73d599c5796a027f0a660c > gcc version 4.1.2 > > ... > LD arch/x86/boot/setup.elf > OBJCOPY arch/x86/boot/setup.bin > OBJCOPY arch/x86/boot/vmlinux.bin > BUILD arch/x86/boot/bzImage > Root device is (8, 2) > Setup is 14008 bytes (padded to 14336 bytes). > System is 2565 kB > CRC 72558b30 > Kernel: arch/x86/boot/bzImage is ready (#3) > Building modules, stage 2. > MODPOST 958 modules > WARNING: drivers/block/cpqarray.o(.devinit.text+0x20d): Section mismatch in reference from the function cpqarray_register_ctlr() to the function .init.text:ida_procinit() > The function __devinit cpqarray_register_ctlr() references > a function __init ida_procinit(). > If ida_procinit is only used by cpqarray_register_ctlr then > annotate ida_procinit with a matching annotation. > > WARNING: net/bluetooth/rfcomm/rfcomm.o(.init.text+0xac): Section mismatch in reference from the function init_module() to the function .exit.text:rfcomm_cleanup_ttys() > The function __init init_module() references > a function __exit rfcomm_cleanup_ttys(). > This is often seen when error handling in the init function > uses functionality in the exit path. > The fix is often to remove the __exit annotation of > rfcomm_cleanup_ttys() so it may be used outside an exit section. > > ERROR: "__udivdi3" [arch/x86/kvm/kvm.ko] undefined! > make[1]: *** [__modpost] Error 1 > make: *** [modules] Error 2 > > It's a bug in the new TSC stuff. I'll post a patch. -- error compiling committee.c: too many arguments to function