Compiler internal error: bus error with LLVM GCC 4.2 compiler

When I try to test my application on the device with the default compiler setting, LLVM GCC 4.2 , it gives me “ Internal compiler error: bus error ”, but this works fine with GCC 4.2 and LLVM 2.0 compiler .

What is the possible cause / causes of this error? Can I distribute your application using GCC 4.2?

+3
source share
1 answer

A “bus error” usually means that your application is attempting to perform memory misallocation, which by default is not allowed.

gcc, , ( , iOS):

echo 2 > /proc/cpu/alignment
0

All Articles