[MacPorts] #62049: mame: @0.227 build failure on macOS 10.13 and Xcode 9.4.1, due to aligned_alloc

MacPorts noreply at macports.org
Wed Jan 13 00:10:38 UTC 2021


#62049: mame: @0.227 build failure on macOS 10.13 and Xcode 9.4.1, due to
aligned_alloc
----------------------+----------------------
  Reporter:  mascguy  |      Owner:  mascguy
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  mame     |
----------------------+----------------------

Comment (by mascguy):

 All you LLVM Maestros out there, particularly Ken and Jeremy: Are you
 folks familiar with the interplay here, relative to what's causing the
 failures?

 Specifically, this is what I'm talking about:

 {{{
 error: aligned deallocation function of type 'void (void *,
 std::align_val_t) noexcept' is only available on macOS 10.14 or newer
 }}}

 Based on my research, it sounds like the LLVM project originally included
 this error for macOS 10.13... and then realized that aligned allocations
 *are* supported on 10.13 after all.

 This patch spells it out:

 [https://lists.llvm.org/pipermail/cfe-commits/Week-of-
 Mon-20190408/267837.html]

 So is this an unpatched issue with our clang/llvm... an issue related to
 the macOS SDK provided by Xcode... ?

 (To reiterate, Mame is being built with macports-clang-9, at least on
 macOS 10.13.)

 Any help/thoughts would be much appreciated. Thanks folks!

-- 
Ticket URL: <https://trac.macports.org/ticket/62049#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list