码迷,mamicode.com
首页 > 其他好文 > 详细

NDK: GCC 4.6 crashes

时间:2014-06-29 14:14:45      阅读:303      评论:0      收藏:0      [点我收藏+]

标签:android   des   style   linux   for   c   

used version: NDK r9b, arm-linux-androideabi-4.6 GCC,  with "-O2 -finline-limit=24".

got this error:

internal compiler error: segmentation fault

I remember got this erro somtime ago, that it happened when -finline-limit is too large(64).

but this time it doesn‘ work even if changed to 1/4.

tried using 4.8, still got the same error. WTF?

the source codes are generated codes so it seems not easy to summerisze upon a simple reproducing sample.

 

Fortunately, after upgrade NDK to r9d, and using GCC 4.8, it works. (4.6 still the same error.) I was Considering submit an bug to them, but the code sample is hard to give.

BTW, GCC4.8 complies slow like hell.

NDK: GCC 4.6 crashes,布布扣,bubuko.com

NDK: GCC 4.6 crashes

标签:android   des   style   linux   for   c   

原文地址:http://www.cnblogs.com/crazii/p/3755534.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!