Skip to content

Switch from GCC to clang for android builds #473

Closed

Description

@briansmith

Currently we use arm-linux-androideabi-gcc and arm-linux-androideabi-g++ for Android builds. According to the NDK 14 changelog, support for GCC is deprecated in the NDK. So, let's switch to clang.

Activity

  1. briansmith commented on Mar 6, 2017

    @briansmith
    OwnerAuthor

    If we run into problems with older versions of clang, it may be easier to do this in conjunction with updating the minimum supported version of the NDK to 14, which is #474.

  2. added this to the 0.7.n milestone on Mar 13, 2017
  3. briansmith commented on Mar 13, 2017

    @briansmith
    OwnerAuthor

    Fixed by #480.

  4. briansmith commented on Mar 14, 2017

    @briansmith
    OwnerAuthor

    Reopening because I rolled this back in 63691d4 since switching to clang seems to have broke things. Thanks to @pietro for pointing out the bustage.

  5. modified the milestones: 0.8.n, 0.7.n on Apr 10, 2017
  6. pietro commented on Jun 2, 2017

    @pietro
    Contributor

    I got AArch64 working when using clang by defining BORINGSSL_CLANG_SUPPORTS_DOT_ARCH and passing the flag -fno-integrated-as.

    I haven't found the right flags to get 32 bit arm working with clang.

  7. briansmith commented on Jan 31, 2019

    @briansmith
    OwnerAuthor

    For the record, this was done in 72d3b9d (PR #652) back on May 18, 2018.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions