public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* latest KVM tree build fail on 32bit system
@ 2010-08-26  5:42 Hao, Xudong
  2010-08-26 10:30 ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: Hao, Xudong @ 2010-08-26  5:42 UTC (permalink / raw)
  To: kvm@vger.kernel.org

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


Best Regards,
Xudong Hao

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: latest KVM tree build fail on 32bit system
  2010-08-26  5:42 latest KVM tree build fail on 32bit system Hao, Xudong
@ 2010-08-26 10:30 ` Avi Kivity
  2010-08-27  1:59   ` Hao, Xudong
  0 siblings, 1 reply; 3+ messages in thread
From: Avi Kivity @ 2010-08-26 10:30 UTC (permalink / raw)
  To: Hao, Xudong; +Cc: kvm@vger.kernel.org

  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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: latest KVM tree build fail on 32bit system
  2010-08-26 10:30 ` Avi Kivity
@ 2010-08-27  1:59   ` Hao, Xudong
  0 siblings, 0 replies; 3+ messages in thread
From: Hao, Xudong @ 2010-08-27  1:59 UTC (permalink / raw)
  To: Avi Kivity; +Cc: kvm@vger.kernel.org

Avi Kivity wrote:
>   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.

Great, thanks.

-Xudong

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-27  2:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-26  5:42 latest KVM tree build fail on 32bit system Hao, Xudong
2010-08-26 10:30 ` Avi Kivity
2010-08-27  1:59   ` Hao, Xudong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox