zoukankan      html  css  js  c++  java
  • NDK: GCC 4.6 crashes

    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.

  • 相关阅读:
    鼠标事件:
    各种坑记录
    Go学习笔记
    Scala学习笔记-7-代码片段
    Go学习笔记
    NIO学习笔记
    Redis常用操作
    docker & k8s 笔记
    Node常用笔记
    Maven常用笔记
  • 原文地址:https://www.cnblogs.com/crazii/p/3755534.html
Copyright © 2011-2022 走看看