Skip to content

关于 breakpad 构建的一些疑问 #18

Description

@ChanJLee

您好,作者,我在查看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呢?

期待您的回复,感激不尽。

这是我找到的一点资料

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions