Trouble compiling EEMBC v2 for ARMv7
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Trouble compiling EEMBC v2 for ARMv7



I'm trying to build the file
consumer\mpeg4\xvidcore\src\bitstream\mbcoding.c from EEMBC version 2
using the latest 2008Q1 release.  When trying to compile for ARMv7
(-march=armv7a) I get the following errors :

 

mbcoding.s: Assembler messages:

mbcoding.s:30: Error: offset out of range

mbcoding.s:33: Error: offset out of range

mbcoding.s:168: Error: offset out of range

mbcoding.s:170: Error: offset out of range

 

Compiling the same file with -march=armv6 works without problems.

 

My command line argument is (sorry in advance for all of the #defines)

arm-none-eabi-gcc -save-temps -c -fomit-frame-pointer -O3 -march=armv7a
-mfpu=vfp -mfloat-abi=softfp -w -g -DHAVE_SYS_TYPES_H=1
-DEE_PID_T_DEFINED -DEE_MODE_T_DEFINED -DEE_NLINK_T_DEFINED
-DEE_TIME_T_DEFINED -DEE_OFF_T_DEFINED -DEE_INO_T_DEFINED -DNDEBUG
-DAUTOGO  -DNON_INTRUSIVE_CRC_CHECK=0 -DARCH_IS_32BIT -DARCH_IS_GENERIC
-DARCH_IS_LITTLE_ENDIAN -DMAX_FILESIZE=0x200000 -o mbcoding.o
mbcoding.c

 

Hopefully this is enough to reproduce the problem.  I don't think I can
provide the EEMBC source code to you since it isn't mine, but I believe
you have access to it.  Let me know if I need to provide any more
information.

 

Kevin