android PIE error: only position independent executables (PIE) are supported解決方法

最近由於要測試在Android L上的運行情況發現,當運行某些可執行文件時,報如下錯誤:   error: only position independent executables (PIE) are supported. PIE這個安全機制從4.1引入,但是Android L之前的系統版本並不會去檢驗可執行文件是否基於PIE編譯出的。因此不會報錯。但是Android L已經開啓驗證,如果調用的
相關文章
相關標籤/搜索