Skip to content

Support macOS 11 and Apple Silicon Macs #85272

Description

@ronaldoussoren
BPO 41100
Nosy @ronaldoussoren, @vstinner, @ned-deily, @skrah, @jmroot, @ambv, @jreese, @dirn, @mattip, @indygreg, @maxbelanger, @eamanu, @corona10, @isuruf, @miss-islington, @mistydemeo, @erlend-aasland, @nieder, @lawrence-danna-apple, @benoithudson, @harlantc
PRs
  • bpo-41100: Support macOS 11 when building #21113
  • [3.9] bpo-41100: Support macOS 11 when building (GH-21113) #21153
  • [3.8] bpo-41100: Support macOS 11 when building (GH-21113) #21154
  • [3.7] bpo-41100: Support macOS 11 when building (GH-21113) #21155
  • bpo-41100: clarify NEWS item about macOS 11 support #21174
  • [3.9] bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) #21175
  • [3.8] bpo-41100: clarify NEWS item about macOS 11 support (GH-21174) #21176
  • bpo-41100: allow python to build for macosx-11.0-arm64 #21224
  • bpo-41100: fix _decimal for arm64 Mac OS #21228
  • bpo-41100: use system libffi for Mac OS 10.15 and up #21239
  • bpo-41100: ctypes: check _dyld_shared_cache_contains_path in find_library #21241
  • bpo-41100: ctypes: use the correct ABI for variadic functions #21242
  • bpo-41100: ctypes fixes for arm64 Mac OS #21249
  • bpo-41100: test fixes for Mac OS 11 #21266
  • bpo-41100: pythonw: add arm64 support #21268
  • BPO-41100: macOS branch #21564
  • bpo-41100: add runtime checks for MACOSX_DEPLOYMENT_TARGET=10.10 #21576
  • bpo-41100: add runtime checks for MACOSX_DEPLOYMENT_TARGET=10.10 #21577
  • bpo-41100: deploy to an earlier version of macOS #21583
  • bpo-41100: bugfix, arm64 Mac OS, missing #include <AvailabilityMacros.h> #21588
  • bpo-41100: Support macOS 11 and Apple Silicon #22855
  • bpo-41101: Support "arm64" in Mac/Tools/pythonw #21114
  • bpo-41090: Add support for building "Universal 2" binaries on macOS 11. #21115
  • bpo-41100: add support for "universal2" ie arm64,x86_64 universal build #21246
  • bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) #23239
  • bpo-41100: Stripping '-arch arm64' didn't work after all #23280
  • [3.9] bpo-41100: Support macOS 11 and Apple Silicon (GH-22855) #23295
  • bpo-42361: Use Tcl/Tk 8.6.10 when building the installer on recent macOS #23293
  • [3.9] bpo-41100: Update Whatsnew and installer ReadME for 3.9.1 #23472
  • bpo-41100: minor build installer fixes #23480
  • [3.9] bpo-41100: minor build installer fixes (GH-23480) #23484
  • bpo-41100: in test_platform, ignore 10.16 #23485
  • [3.9] bpo-41100: in test_platform, ignore 10.16 (GH-23485) #23486
  • [3.6] bpo-41100: Support macOS 11 when building (GH-21113) #21155 #25014
  • [3.8] bpo-41100: Support macOS 11 and Apple Silicon #25274
  • [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs #25806
  • bpo-41100: Update Misc/ACKS #25808
  • [3.9] bpo-41100: Update Misc/ACKS (GH-25808) #25809
  • [3.8] bpo-41100: Support building with new macOS SDK (GH-22855) #26474
  • Files
  • build.log: build log for ARM M1 Big Sur
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/ronaldoussoren'
    closed_at = <Date 2021-05-02.21:13:19.655>
    created_at = <Date 2020-06-24.11:51:07.053>
    labels = ['OS-mac', 'build', '3.8', '3.9', '3.10']
    title = 'Support macOS 11 and Apple Silicon Macs'
    updated_at = <Date 2021-05-31.18:07:58.057>
    user = 'https://github.com/ronaldoussoren'

    bugs.python.org fields:

    activity = <Date 2021-05-31.18:07:58.057>
    actor = 'isuruf'
    assignee = 'ronaldoussoren'
    closed = True
    closed_date = <Date 2021-05-02.21:13:19.655>
    closer = 'ned.deily'
    components = ['Build', 'macOS']
    creation = <Date 2020-06-24.11:51:07.053>
    creator = 'ronaldoussoren'
    dependencies = []
    files = ['49962']
    hgrepos = []
    issue_num = 41100
    keywords = ['patch']
    message_count = 43.0
    messages = ['372245', '372371', '372374', '372375', '372376', '372456', '372457', '372458', '372652', '372672', '372680', '372716', '374315', '375532', '375572', '379230', '380538', '381091', '381097', '381585', '381608', '381640', '381701', '381702', '381708', '381709', '382932', '382939', '386664', '386740', '387526', '390505', '390561', '390562', '391138', '391141', '391142', '391146', '392675', '392680', '392682', '392683', '392734']
    nosy_count = 24.0
    nosy_names = ['ronaldoussoren', 'vstinner', 'ned.deily', 'skrah', 'jmr', 'lukasz.langa', 'jreese', 'python-dev', 'dirn', 'mattip', 'indygreg', 'Maxime Belanger', 'maxbelanger', 'eamanu', 'corona10', 'isuruf', 'miss-islington', 'mistydemeo', 'erlendaasland', 'nieder', 'lawrence-danna-apple', 'Mika_Hawkins', 'benoithudson', 'harlantc']
    pr_nums = ['21113', '21153', '21154', '21155', '21174', '21175', '21176', '21224', '21228', '21239', '21241', '21242', '21249', '21266', '21268', '21564', '21576', '21577', '21583', '21588', '22855', '21114', '21115', '21246', '23239', '23280', '23295', '23293', '23472', '23480', '23484', '23485', '23486', '25014', '25274', '25806', '25808', '25809', '26474']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'compile error'
    url = 'https://bugs.python.org/issue41100'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Activity

    1. ronaldoussoren commented on Jun 24, 2020

      @ronaldoussoren
      ContributorAuthor

      macOS 11 is darwin 20.0.0. This confuses the configure script, resulting in defining _POSIX_C_SOURCE and friends.

    2. ned-deily commented on Jun 25, 2020

      @ned-deily
      Member

      New changeset 8ea6353 by Ronald Oussoren in branch 'master':
      BPO-41100: Support macOS 11 when building (GH-21113)
      8ea6353

    3. miss-islington commented on Jun 25, 2020

      @miss-islington
      Contributor

      New changeset ad7a667 by Miss Islington (bot) in branch '3.9':
      BPO-41100: Support macOS 11 when building (GH-21113)
      ad7a667

    4. 37 remaining items

    5. removed
      buildThe build process and cross-build
      on Apr 15, 2021
    6. harlantc commented on Apr 15, 2021

      harlantcmannequin
      Mannequin

      @ned.deily sorry about that, will do that in the future. Thanks for replying.

      in regard to the extra args, those were all added in an attempt to make things work, I should probably have shown an earlier log that excluded them. I wasn't sure setup.py would be the right place to look for more, I'll take a look there.

      Thanks

    7. ned-deily commented on Apr 15, 2021

      @ned-deily
      Member

      No problem. Also you should not need to specify sysroot if you are; the Apple compiler front-end takes care of that for you (see man xcrun for more details).

    8. ned-deily commented on May 2, 2021

      @ned-deily
      Member

      Thanks, Max, for doing the backport to 3.8 hard work! While PR 25274 covered most of the changes needed, there were some additional fixes and changes needed and I felt it was easier to cherry-pick all of the changes into a new PR. I have done extensive building and testing on Big Sur on both Apple Silicon and Intel Macs and regression building and testing on some older macOS versions including macOS 10.9 and python.org macOS installers. So far, it looks good to me. Assuming the 3.8 release manager has no objections, I will merge this in time for 3.8.10 and we can finally close this issue.

    9. ambv commented on May 2, 2021

      @ambv
      Contributor

      New changeset b29d0a5 by Ned Deily in branch '3.8':
      [3.8] bpo-41100: Support macOS 11 Big Sur and Apple Silicon Macs (bpo-25806)
      b29d0a5

    10. ned-deily commented on May 2, 2021

      @ned-deily
      Member

      New changeset 518f8b5 by Ned Deily in branch 'master':
      bpo-41100: Update Misc/ACKS (GH-25808)
      518f8b5

    11. ned-deily commented on May 2, 2021

      @ned-deily
      Member

      New changeset bb3ec9c by Miss Islington (bot) in branch '3.9':
      bpo-41100: Update Misc/ACKS (GH-25808) (GH-25809)
      bb3ec9c

    12. ned-deily commented on May 2, 2021

      @ned-deily
      Member

      Thank you to everyone who contributed to this major undertaking! A particular thank you to Lawrence for doing much of the initial work and paving the way. Now that 3.8 also supports Big Sur and Apple Silicon Macs as of the imminent 3.8.10 release, it's time to close this issue. If new concerns arise, pleasa open or use other issues.

    13. transferred this issue fromon Apr 10, 2022
    14. cclauss commented on May 4, 2024

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

    Metadata

    Metadata

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions