From: Michael M. <mma...@bb...> - 2008-06-16 14:05:36
|
All-- I'm attempting to port an application to the Gumstix for use on a verdex Gumstix with the buildroot environment. I've followed the steps to create a working toolchain, and have used this toolchain to cross-compile some working test applications (nothing fancy, but basic programs to get a handle on the i686-Linux->XScale Linux compiling, code that is a little more technical than the standard "hello world"). When using the same toolchain to port my application, however, the assembler is throwing an error, as it is attempting to use commands that, having researched the XScale assembly language (http://www.intel.com/design/iio/swsup/11139.htm) do not exist. The text of the errors is as follows: {standard input}: Assembler messages: {standard input}:26: Error: bad instruction `xadd r3,(r0)' {standard input}:54: Error: bad instruction `xadd r3,(r0)' {standard input}:80: Error: bad instruction `xchg r1,(r0)' {standard input}:106: Error: bad instruction `xadd r1,(r0)' {standard input}:133: Error: bad instruction `lock' {standard input}:133: Error: bad instruction `xadd r3,(r0)' {standard input}:160: Error: bad instruction `lock' {standard input}:160: Error: bad instruction `xadd r3,(r0)' {standard input}:186: Error: bad instruction `xchg r1,(r0)' {standard input}:212: Error: bad instruction `lock' {standard input}:212: Error: bad instruction `xadd r1,(r0)' Any assistance in determining the next action to take would be greatly appreciated. Environment information: uname -a returns: Linux host.domain 2.6.18-53.el5 #1 SMP Mon Nov 12 02:22:48 EST 2007 i686 i386 GNU/Linux g++ -v returns: Using built-in specs. Target: arm-linux-uclibcgnueabi Configured with: /home/mmazzell/gumstix/gumstix-buildroot/toolchain_build_arm_nofpu/gcc-4.1.1/configure --prefix=/home/mmazzell/gumstix/gumstix-buildroot/build_arm_nofpu/staging_dir --build=i386-pc-linux-gnu --host=i386-pc-linux-gnu --target=arm-linux-uclibcgnueabi --enable-languages=c,c++ --enable-shared --disable-__cxa_atexit --enable-target-optspace --with-gnu-ld --disable-nls --enable-threads --disable-multilib --with-float=soft --with-cpu=xscale --with-arch=armv5te --with-tune=xscale --without-fp Thread model: posix gcc version 4.1.1 as -v returns: GNU assembler version 2.17.50.0.6 (arm-linux-uclibcgnueabi) using BFD version 2.17.50.0.6 20061020 ld -v returns: GNU ld version 2.17.50.0.6-5.el5 20061020 Thanks, --michael mazzello |