您好,作者,我在查看breakpad makefile的时候,发现如下注释
breakpad/android/google_breakpad/Android.mk
# Breakpad uses inline ARM assembly that requires the library# to be built in ARM mode. Otherwise, the build will fail with# cryptic assembler messages like:# Compile++ thumb : google_breakpad_client <= crash_generation_client.cc# /tmp/cc8aMSoD.s: Assembler messages:# /tmp/cc8aMSoD.s:132: Error: invalid immediate: 288 is out of range# /tmp/cc8aMSoD.s:244: Error: invalid immediate: 296 is out of rangeLOCAL_ARM_MODE := arm
注释里提到因为内联了一些arm平台的汇编代码,所以必须在arm的模式下构建。那为啥我们可以正常编译出x86的so呢?
期待您的回复,感激不尽。
这是我找到的一点资料
您好,作者,我在查看breakpad makefile的时候,发现如下注释
breakpad/android/google_breakpad/Android.mk
注释里提到因为内联了一些arm平台的汇编代码,所以必须在arm的模式下构建。那为啥我们可以正常编译出x86的so呢?
期待您的回复,感激不尽。
这是我找到的一点资料