Problem compiling kernel: Error: selected processor does not support `cpsie i'

Hello,

I never had a problem with that, but without knowing what changed I
cannot compile the kernel from
http://www.beagleboard.org/uploads/2.6_kernel_revb-v2.tar.gz
I tried the config from
http://code.google.com/p/beagleboard/downloads/detail?name=omap3_beagle_defconfig_forUSBPeripheral&can=2&q=
and I tried
make CROSS_COMPILE=arm-angstrom-linux-gnueabi- omap3_beagle_defconfig

but I get always:

$ make CROSS_COMPILE=arm-angstrom-linux-gnueabi- uImage
scripts/kconfig/conf -s arch/arm/Kconfig
kernel/power/Kconfig:347:warning: choice values currently only support
a single prompt
..
drivers/media/video/cx23885/Kconfig:11:warning: 'select' used by
config symbol 'VIDEO_CX23885' refers to undefined symbol
'DVB_TUNER_MT2131'
..
drivers/media/video/cx23885/Kconfig:18:warning: 'select' used by
config symbol 'VIDEO_CX23885' refers to undefined symbol
'DVB_TUNER_XC5000'
  CHK include/linux/version.h
...
  CALL scripts/checksyscalls.sh
<stdin>:91:1: warning: "__IGNORE_sync_file_range" redefined
In file included from <stdin>:2:
include/asm/unistd.h:444:1: warning: this is the location of the
previous definition
<stdin>:1097:2: warning: #warning syscall fadvise64 not implemented
<stdin>:1265:2: warning: #warning syscall migrate_pages not implemented
<stdin>:1321:2: warning: #warning syscall pselect6 not implemented
<stdin>:1325:2: warning: #warning syscall ppoll not implemented
<stdin>:1365:2: warning: #warning syscall epoll_pwait not implemented
  HOSTCC scripts/genksyms/genksyms.o
...
  HOSTCC scripts/conmakehash
  CC init/main.o
/tmp/ccAVzwe3.s: Assembler messages:
/tmp/ccAVzwe3.s:882: Error: selected processor does not support `cpsie i'
...
/tmp/ccAVzwe3.s:1585: Error: selected processor does not support `cpsie i'
make[1]: *** [init/main.o] Fehler 1
make: *** [init] Fehler 2

What could be the problem? I am using the toolchain from OE.
Robert

known issue the original ti release 2.6.22 will not build with a 4.3 based gcc

Okay, thanks. I thought I used this compiler but surely I had used
CodeSourcery Sourcery G++ Lite 2007q3-51.

R.

i believe 2007q3 will work. this was fixed in either 2.6.25 or 2.6.26

Robert Nelson wrote:

known issue the original ti release 2.6.22 will not build with a 4.3 based
gcc

Okay, thanks. I thought I used this compiler but surely I had used
CodeSourcery Sourcery G++ Lite 2007q3-51.

i believe 2007q3 will work. this was fixed in either 2.6.25 or 2.6.26

2007q3 is 4.2.1.

known issue the original ti release 2.6.22 will not build with a 4.3 based
gcc

Okay, thanks. I thought I used this compiler but surely I had used
CodeSourcery Sourcery G++ Lite 2007q3-51.

i believe 2007q3 will work. this was fixed in either 2.6.25 or 2.6.26

2007q3 is 4.2.1.

...and it works. I'm getting old.

R.

Another way to get past this problem with new toolchains (GCC 4.3.2
aka CSL 2008q3) is to edit arch/arm/Makefile like so:

diff --git a/src/linux/kernel_org/2.6_kernel/arch/arm/Makefile b/src/linux/kerne
index 40f68ca..2fc067d 100755
--- a/src/linux/kernel_org/2.6_kernel/arch/arm/Makefile
+++ b/src/linux/kernel_org/2.6_kernel/arch/arm/Makefile
@@ -47,7 +47,7 @@ comma = ,
# Note that GCC does not numerically define an architecture version
# macro, but instead defines a whole series of macros which makes
# testing for a specific architecture or later rather impossible.
-arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-optio
+arch-$(CONFIG_CPU_32v7) :=-D__LINUX_ARM_ARCH__=7 $(call cc-optio
arch-$(CONFIG_CPU_32v6) :=-D__LINUX_ARM_ARCH__=6 $(call cc-optio
# Only override the compiler option if ARMv6. The ARMv6K extensions are
# always available in ARMv7

I'm not a toolchain expert, so I'd like others to weigh in on the
issue if this is a Bad Idea. Otherwise it cures the "selected
processor does not support `cpsie i'" error for me, since "armv7a" is
a Code Sourcery-specific declaration, and later kernels use "armv7-a".

Mike