2011/4/27 Andrew Stubbs andrew.stubbs@linaro.org:
On 27/04/11 10:08, Barry Song wrote:
Hi All,
As i have frequently said, we are using 2011.3 4.5 linaro gcc. For the following codes, if we compile it by -O2, it will crash with "segment fault", if we just comment " if(unifi_debug>= level) {", all will be ok. If we don't compile it by -O2, all will be ok too.
Sorry, are you saying that the compiler crashes, or are you saying that the output binary crashes at runtime?
the target binary got crash while running on armv7 board, not gcc :-)
Andrew