All of lore.kernel.org
 help / color / mirror / Atom feed
* linux-next: omap2plus_defconfig does not build
@ 2010-10-13 13:23 ` Anand Gadiyar
  0 siblings, 0 replies; 6+ messages in thread
From: Anand Gadiyar @ 2010-10-13 13:23 UTC (permalink / raw)
  To: linux-arm-kernel, linux-omap

Building omap2plus_defconfig (which enables support for
OMAP2420/2430/OMAP3
and OMAP4 in one image), I get the following build error.

  CC      arch/arm/kernel/swp_emulate.o
/tmp/ccg979qz.s: Assembler messages:
/tmp/ccg979qz.s:343: Error: selected processor does not support ARM mode
`ldrexb r6,[r5]'
/tmp/ccg979qz.s:344: Error: selected processor does not support ARM mode
`strexb r1,r3,[r5]'
make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
make: *** [arch/arm/kernel] Error 2

I'm using CodeSourcery's 2010q1-202 toolchain based on gcc 4.4.1.

I haven't been following the lists closely the last few days, so I'm not
sure if this is a known issue. Just reporting it for now.

- Anand

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

* linux-next: omap2plus_defconfig does not build
@ 2010-10-13 13:23 ` Anand Gadiyar
  0 siblings, 0 replies; 6+ messages in thread
From: Anand Gadiyar @ 2010-10-13 13:23 UTC (permalink / raw)
  To: linux-arm-kernel

Building omap2plus_defconfig (which enables support for
OMAP2420/2430/OMAP3
and OMAP4 in one image), I get the following build error.

  CC      arch/arm/kernel/swp_emulate.o
/tmp/ccg979qz.s: Assembler messages:
/tmp/ccg979qz.s:343: Error: selected processor does not support ARM mode
`ldrexb r6,[r5]'
/tmp/ccg979qz.s:344: Error: selected processor does not support ARM mode
`strexb r1,r3,[r5]'
make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
make: *** [arch/arm/kernel] Error 2

I'm using CodeSourcery's 2010q1-202 toolchain based on gcc 4.4.1.

I haven't been following the lists closely the last few days, so I'm not
sure if this is a known issue. Just reporting it for now.

- Anand

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

* Re: linux-next: omap2plus_defconfig does not build
  2010-10-13 13:23 ` Anand Gadiyar
@ 2010-10-19 17:15   ` Tony Lindgren
  -1 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2010-10-19 17:15 UTC (permalink / raw)
  To: Anand Gadiyar
  Cc: linux-arm-kernel, linux-omap, Leif Lindholm, Catalin Marinas

* Anand Gadiyar <gadiyar@ti.com> [101013 06:14]:
> Building omap2plus_defconfig (which enables support for
> OMAP2420/2430/OMAP3
> and OMAP4 in one image), I get the following build error.
> 
>   CC      arch/arm/kernel/swp_emulate.o
> /tmp/ccg979qz.s: Assembler messages:
> /tmp/ccg979qz.s:343: Error: selected processor does not support ARM mode
> `ldrexb r6,[r5]'
> /tmp/ccg979qz.s:344: Error: selected processor does not support ARM mode
> `strexb r1,r3,[r5]'
> make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
> make: *** [arch/arm/kernel] Error 2
> 
> I'm using CodeSourcery's 2010q1-202 toolchain based on gcc 4.4.1.
> 
> I haven't been following the lists closely the last few days, so I'm not
> sure if this is a known issue. Just reporting it for now.

This seems to be related to "ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)"
where SWP_EMULATE is selected by default. For the omap2plus_defconfig in for-next
we now have CPU_V6 and CPU_V7 set with SMP and SMP_ON_UP.

Regards,

Tony

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

* linux-next: omap2plus_defconfig does not build
@ 2010-10-19 17:15   ` Tony Lindgren
  0 siblings, 0 replies; 6+ messages in thread
From: Tony Lindgren @ 2010-10-19 17:15 UTC (permalink / raw)
  To: linux-arm-kernel

* Anand Gadiyar <gadiyar@ti.com> [101013 06:14]:
> Building omap2plus_defconfig (which enables support for
> OMAP2420/2430/OMAP3
> and OMAP4 in one image), I get the following build error.
> 
>   CC      arch/arm/kernel/swp_emulate.o
> /tmp/ccg979qz.s: Assembler messages:
> /tmp/ccg979qz.s:343: Error: selected processor does not support ARM mode
> `ldrexb r6,[r5]'
> /tmp/ccg979qz.s:344: Error: selected processor does not support ARM mode
> `strexb r1,r3,[r5]'
> make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
> make: *** [arch/arm/kernel] Error 2
> 
> I'm using CodeSourcery's 2010q1-202 toolchain based on gcc 4.4.1.
> 
> I haven't been following the lists closely the last few days, so I'm not
> sure if this is a known issue. Just reporting it for now.

This seems to be related to "ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)"
where SWP_EMULATE is selected by default. For the omap2plus_defconfig in for-next
we now have CPU_V6 and CPU_V7 set with SMP and SMP_ON_UP.

Regards,

Tony

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

* Re: linux-next: omap2plus_defconfig does not build
  2010-10-19 17:15   ` Tony Lindgren
@ 2010-10-19 18:33     ` Gadiyar, Anand
  -1 siblings, 0 replies; 6+ messages in thread
From: Gadiyar, Anand @ 2010-10-19 18:33 UTC (permalink / raw)
  To: Tony Lindgren
  Cc: linux-arm-kernel, linux-omap, Leif Lindholm, Catalin Marinas

On Tue, Oct 19, 2010 at 10:45 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Anand Gadiyar <gadiyar@ti.com> [101013 06:14]:
>> Building omap2plus_defconfig (which enables support for
>> OMAP2420/2430/OMAP3
>> and OMAP4 in one image), I get the following build error.
>>
>>   CC      arch/arm/kernel/swp_emulate.o
>> /tmp/ccg979qz.s: Assembler messages:
>> /tmp/ccg979qz.s:343: Error: selected processor does not support ARM mode
>> `ldrexb r6,[r5]'
>> /tmp/ccg979qz.s:344: Error: selected processor does not support ARM mode
>> `strexb r1,r3,[r5]'
>> make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
>> make: *** [arch/arm/kernel] Error 2
>>
>> I'm using CodeSourcery's 2010q1-202 toolchain based on gcc 4.4.1.
>>
>> I haven't been following the lists closely the last few days, so I'm not
>> sure if this is a known issue. Just reporting it for now.
>
> This seems to be related to "ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)"
> where SWP_EMULATE is selected by default. For the omap2plus_defconfig in for-next
> we now have CPU_V6 and CPU_V7 set with SMP and SMP_ON_UP.
>

I had forgotten I'd reported this earlier. I reported the build break
again today, and Catalin provided this patch [1] which solves the
build issue.

- Anand

[1] http://marc.info/?t=128748412500003&r=1&w=2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* linux-next: omap2plus_defconfig does not build
@ 2010-10-19 18:33     ` Gadiyar, Anand
  0 siblings, 0 replies; 6+ messages in thread
From: Gadiyar, Anand @ 2010-10-19 18:33 UTC (permalink / raw)
  To: linux-arm-kernel

On Tue, Oct 19, 2010 at 10:45 PM, Tony Lindgren <tony@atomide.com> wrote:
> * Anand Gadiyar <gadiyar@ti.com> [101013 06:14]:
>> Building omap2plus_defconfig (which enables support for
>> OMAP2420/2430/OMAP3
>> and OMAP4 in one image), I get the following build error.
>>
>> ? CC ? ? ?arch/arm/kernel/swp_emulate.o
>> /tmp/ccg979qz.s: Assembler messages:
>> /tmp/ccg979qz.s:343: Error: selected processor does not support ARM mode
>> `ldrexb r6,[r5]'
>> /tmp/ccg979qz.s:344: Error: selected processor does not support ARM mode
>> `strexb r1,r3,[r5]'
>> make[1]: *** [arch/arm/kernel/swp_emulate.o] Error 1
>> make: *** [arch/arm/kernel] Error 2
>>
>> I'm using CodeSourcery's 2010q1-202 toolchain based on gcc 4.4.1.
>>
>> I haven't been following the lists closely the last few days, so I'm not
>> sure if this is a known issue. Just reporting it for now.
>
> This seems to be related to "ARM: Add SWP/SWPB emulation for ARMv7 processors (v5)"
> where SWP_EMULATE is selected by default. For the omap2plus_defconfig in for-next
> we now have CPU_V6 and CPU_V7 set with SMP and SMP_ON_UP.
>

I had forgotten I'd reported this earlier. I reported the build break
again today, and Catalin provided this patch [1] which solves the
build issue.

- Anand

[1] http://marc.info/?t=128748412500003&r=1&w=2

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

end of thread, other threads:[~2010-10-19 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 13:23 linux-next: omap2plus_defconfig does not build Anand Gadiyar
2010-10-13 13:23 ` Anand Gadiyar
2010-10-19 17:15 ` Tony Lindgren
2010-10-19 17:15   ` Tony Lindgren
2010-10-19 18:33   ` Gadiyar, Anand
2010-10-19 18:33     ` Gadiyar, Anand

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.