[oe] gcc-4.4.1 assembler error: offset out of range

Elvis Dowson elvis.dowson at gmail.com
Sun Apr 29 16:56:23 UTC 2012


Hi,
     I get a whole bunch of assembler errors, when I try to build using gcc-4.4.1 or higher. My overo-oe build environment builds fine with the gcc-4.3.3 compiler, but if I switch to gcc-4.4.1, by modifying my local.conf file as follows:

#
# Specify the version of gcc that you want to build.
PREFERRED_VERSION_gcc = "4.4.1"
PREFERRED_VERSION_gcc-cross = "4.4.1"
PREFERRED_VERSION_gcc-cross-initial = "4.4.1"
PREFERRED_VERSION_gcc-cross-intermediate = "4.4.1"

I get a whole bunch of errors while attempting to bitbake gcc:

| arm-angstrom-linux-gnueabi-gcc -march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-interwork -mno-thumb --sysroot=/tool/overo-oe/tmp/sysroots/armv7a-angstrom-linux-gnueabi -c  -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -ggdb2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -I. -I. -I/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc -I/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc/. -I/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc/../include -I/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc/../libcpp/include -I/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc/../libdecnumber -I/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc/../libdecnumber/dpd -I../libdecnumber     /tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/gcc/builtins.c -o builtins.o
| /tmp/ccC0NmMi.s: Assembler messages:
| /tmp/ccC0NmMi.s:36309: Error: offset out of range
| /tmp/ccC0NmMi.s:36310: Error: offset out of range
| /tmp/ccC0NmMi.s:36345: Error: offset out of range
| /tmp/ccC0NmMi.s:36346: Error: offset out of range
| /tmp/ccC0NmMi.s:36381: Error: offset out of range
| /tmp/ccC0NmMi.s:36382: Error: offset out of range
| /tmp/ccC0NmMi.s:36416: Error: offset out of range
| /tmp/ccC0NmMi.s:36417: Error: offset out of range
| make[2]: *** [insn-output.o] Error 1
| make[2]: *** Waiting for unfinished jobs....
| make[2]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/build.arm-angstrom-linux-gnueabi.arm-angstrom-linux-gnueabi/gcc'
| make[1]: *** [all-gcc] Error 2
| make[1]: Leaving directory `/tool/overo-oe/tmp/work/armv7a-angstrom-linux-gnueabi/gcc-4.4.1-r13.1/gcc-4.4.1/build.arm-angstrom-linux-gnueabi.arm-angstrom-linux-gnueabi'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed
NOTE: package gcc-4.4.1-r13.1: task do_compile: Failed
ERROR: TaskFailed event exception, aborting
ERROR: Build of /tool/overo-oe/org.openembedded.dev/recipes/gcc/gcc_4.4.1.bb do_compile failed
ERROR: Task 13 (/tool/overo-oe/org.openembedded.dev/recipes/gcc/gcc_4.4.1.bb, do_compile) failed with 256
ERROR: '/tool/overo-oe/org.openembedded.dev/recipes/gcc/gcc_4.4.1.bb' failed
ERROR: '/tool/overo-oe/org.openembedded.dev/recipes/gcc/gcc_4.4.1.bb' failed

I have attached the compile log file below. How can I get past these assembler errors?

Best regards,

Elvis Dowson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log.do_compile.32192
Type: application/octet-stream
Size: 357123 bytes
Desc: not available
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20120429/6157d588/attachment-0002.obj>
-------------- next part --------------





More information about the Openembedded-devel mailing list