Bug 367

Summary: linux kernel compile error for arm926t
Product: buildroot Reporter: Alex Dobrynin <alex_dobrynin>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Debian 5.01 Target: arm-linux-uclibcgnueabi
Build:

Description Alex Dobrynin 2009-06-01 08:04:56 UTC
In buildroot-2009.05-rc3 and internal toolchain
I get an error while compiling linux kernel (2.6.28):
  CC      arch/arm/kernel/traps.o
{standard input}: Assembler messages:
{standard input}:1094: Error: selected processor does not support `pld [r6,#0]'

It turns out that buildroot sets --with-arch=armv4t in gcc config
for target arm and variant arm926t.
Changing target/Config.in.arch to:
        default armv4t          if BR2_arm920t
        default armv4t          if BR2_arm922t
-       default armv4t          if BR2_arm926t
+       default armv5te         if BR2_arm926t
        default armv5t          if BR2_arm10t
        default armv6j          if BR2_arm1136jf_s
fixes the problem.
Comment 1 Peter Korsgaard 2009-06-01 08:48:42 UTC
Thanks, fixed in git