Bug 367 - linux kernel compile error for arm926t
Summary: linux kernel compile error for arm926t
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-01 08:04 UTC by Alex Dobrynin
Modified: 2009-06-01 08:48 UTC (History)
1 user (show)

See Also:
Host: Debian 5.01
Target: arm-linux-uclibcgnueabi
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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