* Impossible constraint in 'asm' in 2.6.35 build
@ 2010-08-06 17:32 Fabio Estevam
2010-08-06 18:14 ` Rob Herring
0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2010-08-06 17:32 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
I am trying to build a 2.6.35 kernel for i.MX31 and I am getting the following error:
CC arch/arm/plat-mxc/audmux-v2.o
CC arch/arm/plat-mxc/3ds_debugboard.o
CC arch/arm/plat-mxc/devices/platform-imx-i2c.o
CC arch/arm/plat-mxc/devices/platform-imx-uart.o
CC arch/arm/plat-mxc/devices/platform-mxc_nand.o
CC arch/arm/plat-mxc/devices/platform-spi_imx.o
LD arch/arm/plat-mxc/devices/built-in.o
LD arch/arm/plat-mxc/built-in.o
CC arch/arm/vfp/vfpmodule.o
AS arch/arm/vfp/entry.o
AS arch/arm/vfp/vfphw.o
LD arch/arm/vfp/vfp.o
LD arch/arm/vfp/built-in.o
CC kernel/sched.o
kernel/sched_idletask.c: In function 'pick_next_task_idle':
/home/fabio/pengutronix/linux-2.6/arch/arm/include/asm/atomic.h:42: error: impossible constraint in 'asm'
make[1]: *** [kernel/sched.o] Error 1
make: *** [kernel] Error 2
I tried GCC4.3 and 4.4 and the result is the same. I haven't faced this issue when building 2.6.34.
Does anyone have any suggestion?
Thanks,
Fabio Estevam
^ permalink raw reply [flat|nested] 4+ messages in thread* Impossible constraint in 'asm' in 2.6.35 build
2010-08-06 17:32 Impossible constraint in 'asm' in 2.6.35 build Fabio Estevam
@ 2010-08-06 18:14 ` Rob Herring
2010-08-06 18:34 ` Fabio Estevam
0 siblings, 1 reply; 4+ messages in thread
From: Rob Herring @ 2010-08-06 18:14 UTC (permalink / raw)
To: linux-arm-kernel
Fabio,
It is due to this commit and using gcc 4.1.2:
commit 398aa66827155ef52bab58bebd24597d90968929
Author: Will Deacon <will.deacon@arm.com>
Date: Thu Jul 8 10:59:16 2010 +0100
ARM: 6212/1: atomic ops: add memory constraints to inline asm
It works fine for me with CS 4.3.3 toolchain.
Rob
On Fri, Aug 6, 2010 at 12:32 PM, Fabio Estevam <fabioestevam@yahoo.com> wrote:
> Hi,
>
> I am trying to build a 2.6.35 kernel for i.MX31 and I am getting the following error:
>
> ?CC ? ? ?arch/arm/plat-mxc/audmux-v2.o
> ?CC ? ? ?arch/arm/plat-mxc/3ds_debugboard.o
> ?CC ? ? ?arch/arm/plat-mxc/devices/platform-imx-i2c.o
> ?CC ? ? ?arch/arm/plat-mxc/devices/platform-imx-uart.o
> ?CC ? ? ?arch/arm/plat-mxc/devices/platform-mxc_nand.o
> ?CC ? ? ?arch/arm/plat-mxc/devices/platform-spi_imx.o
> ?LD ? ? ?arch/arm/plat-mxc/devices/built-in.o
> ?LD ? ? ?arch/arm/plat-mxc/built-in.o
> ?CC ? ? ?arch/arm/vfp/vfpmodule.o
> ?AS ? ? ?arch/arm/vfp/entry.o
> ?AS ? ? ?arch/arm/vfp/vfphw.o
> ?LD ? ? ?arch/arm/vfp/vfp.o
> ?LD ? ? ?arch/arm/vfp/built-in.o
> ?CC ? ? ?kernel/sched.o
> kernel/sched_idletask.c: In function 'pick_next_task_idle':
> /home/fabio/pengutronix/linux-2.6/arch/arm/include/asm/atomic.h:42: error: impossible constraint in 'asm'
> make[1]: *** [kernel/sched.o] Error 1
> make: *** [kernel] Error 2
>
> I tried GCC4.3 and 4.4 and the result is the same. I haven't faced this issue when building 2.6.34.
>
> Does anyone have any suggestion?
>
> Thanks,
>
> Fabio Estevam
>
>
>
>
>
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Impossible constraint in 'asm' in 2.6.35 build
2010-08-06 18:14 ` Rob Herring
@ 2010-08-06 18:34 ` Fabio Estevam
2010-08-06 19:23 ` Fabio Estevam
0 siblings, 1 reply; 4+ messages in thread
From: Fabio Estevam @ 2010-08-06 18:34 UTC (permalink / raw)
To: linux-arm-kernel
Rob,
--- On Fri, 8/6/10, Rob Herring <robherring2@gmail.com> wrote:
> From: Rob Herring <robherring2@gmail.com>
> Subject: Re: Impossible constraint in 'asm' in 2.6.35 build
> To: "Fabio Estevam" <fabioestevam@yahoo.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Date: Friday, August 6, 2010, 3:14 PM
> Fabio,
>
> It is due to this commit and using gcc 4.1.2:
>
> commit 398aa66827155ef52bab58bebd24597d90968929
> Author: Will Deacon <will.deacon@arm.com>
> Date:???Thu Jul 8 10:59:16 2010 +0100
>
> ? ? ARM: 6212/1: atomic ops: add memory
> constraints to inline asm
>
> It works fine for me with CS 4.3.3 toolchain.
I could get it to build in origin/master branch, but it fails for me in Sascha's origin/imx-for-2.6.36 branch.
Will use origin/master for now.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 4+ messages in thread* Impossible constraint in 'asm' in 2.6.35 build
2010-08-06 18:34 ` Fabio Estevam
@ 2010-08-06 19:23 ` Fabio Estevam
0 siblings, 0 replies; 4+ messages in thread
From: Fabio Estevam @ 2010-08-06 19:23 UTC (permalink / raw)
To: linux-arm-kernel
--- On Fri, 8/6/10, Fabio Estevam <fabioestevam@yahoo.com> wrote:
> From: Fabio Estevam <fabioestevam@yahoo.com>
> Subject: Re: Impossible constraint in 'asm' in 2.6.35 build
> To: "Rob Herring" <robherring2@gmail.com>
> Cc: linux-arm-kernel at lists.infradead.org
> Date: Friday, August 6, 2010, 3:34 PM
> Rob,
>
> --- On Fri, 8/6/10, Rob Herring <robherring2@gmail.com>
> wrote:
>
> > From: Rob Herring <robherring2@gmail.com>
> > Subject: Re: Impossible constraint in 'asm' in 2.6.35
> build
> > To: "Fabio Estevam" <fabioestevam@yahoo.com>
> > Cc: linux-arm-kernel at lists.infradead.org
> > Date: Friday, August 6, 2010, 3:14 PM
> > Fabio,
> >
> > It is due to this commit and using gcc 4.1.2:
> >
> > commit 398aa66827155ef52bab58bebd24597d90968929
> > Author: Will Deacon <will.deacon@arm.com>
> > Date:???Thu Jul 8 10:59:16 2010 +0100
> >
> > ? ? ARM: 6212/1: atomic ops: add memory
> > constraints to inline asm
> >
> > It works fine for me with CS 4.3.3 toolchain.
>
> I could get it to build in origin/master branch, but it
> fails for me in Sascha's origin/imx-for-2.6.36 branch.
>
> Will use origin/master for now.
I made a mistake when upgrading the toolchain. origin/imx-for-2.6.36 branch builds fine now with arm-2010q1 toolchain.
Regards,
Fabio Estevam
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-08-06 19:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06 17:32 Impossible constraint in 'asm' in 2.6.35 build Fabio Estevam
2010-08-06 18:14 ` Rob Herring
2010-08-06 18:34 ` Fabio Estevam
2010-08-06 19:23 ` Fabio Estevam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox