Subject: Re: next-20150813 build error arch/x86/include/asm/jump_label.h:21: error: impossible constraint in ‘asm’

From: Stephen Rothwell <[email-masked]>
Date: Fri, 14 Aug 2015 08:34:22 +1000

Hi Vinson,

On Thu, 13 Aug 2015 13:49:56 -0700 Vinson Lee <[email-masked]> wrote:
>
> I get this build error with next-20150813 compiling with GCC 4.4.7.
> 
>   CC      arch/x86/kvm/irq_comm.o
> In file included from include/linux/jump_label.h:108,
>                  from ./arch/x86/include/asm/spinlock.h:4,
>                  from include/linux/spinlock.h:87,
>                  from include/linux/seqlock.h:35,
>                  from include/linux/time.h:5,
>                  from include/linux/ktime.h:24,
>                  from include/linux/timer.h:5,
>                  from include/linux/workqueue.h:8,
>                  from include/linux/pm.h:25,
>                  from ./arch/x86/include/asm/apic.h:5,
>                  from ./arch/x86/include/asm/smp.h:12,
>                  from include/linux/smp.h:59,
>                  from include/linux/percpu.h:6,
>                  from include/linux/context_tracking_state.h:4,
>                  from include/linux/vtime.h:4,
>                  from include/linux/hardirq.h:7,
>                  from include/linux/kvm_host.h:10,
>                  from arch/x86/kvm/irq_comm.c:23:
> ./arch/x86/include/asm/jump_label.h: In function ‘kvm_irq_delivery_to_apic’:
> ./arch/x86/include/asm/jump_label.h:21: warning: asm operand 0
> probably doesn’t match constraints
> ./arch/x86/include/asm/jump_label.h:21: warning: asm operand 0
> probably doesn’t match constraints
> ./arch/x86/include/asm/jump_label.h:21: error: impossible constraint in ‘asm’
> ./arch/x86/include/asm/jump_label.h:21: error: impossible constraint in ‘asm’

This was known about and should be fixed in the tip tree today.

-- 
Cheers,
Stephen Rothwell                    [email-masked]