Comment 11 for bug 926855

Revision history for this message
In , Bernhard Rosenkraenzer (berolinux) wrote :

Created attachment 26693
Preprocessed source triggering this issue

[bero@localhost ~]$ /opt/android-toolchain-4.7/bin/arm-linux-androideabi-g++ -mcpu=cortex-a9 -mthumb -Os -o agc2_amr_wb.o -c agc2_amr_wb.i
/tmp/ccBg0Qr8.s: Assembler messages:
/tmp/ccBg0Qr8.s:110: Error: branch out of range

The problem disappears when taking out -mcpu=cortex-a9 or replacing -Os with any other optimization level.

Reproducable with arm-linux-androideabi, arm-eabi and arm-linux-gnueabi compilers.