[MacPorts] #67836: clang-16 @16.0.6: error: aligned deallocation function of type 'void (void *, std::align_val_t) noexcept' is only available on macOS 10.13 or newer

MacPorts noreply at macports.org
Fri Jul 28 16:29:07 UTC 2023


#67836: clang-16 @16.0.6: error: aligned deallocation function of type 'void (void
*, std::align_val_t) noexcept' is only available on macOS 10.13 or newer
---------------------------+--------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  mountainlion
      Port:  clang-16      |
---------------------------+--------------------------

Comment (by barracuda156):

 Replying to [comment:9 cjones051073]:
 > Replying to [comment:8 barracuda156]:
 > > So what could we do to address the issue, assuming it is indeed a
 failure of universal (which seems nearly a sure thing)?
 >
 > Do not use `+universal` where it is not necessary. This is an option I
 neither really support, and certainly do not test, with the llvm/clang
 builds.
 >
 > You appear to just blindly use this across the board for all your ports,
 which for me is a poor choice.

 So proposed solution is to ignore the bug? :)
 And we talk about the main default compiler on Intel? Well…

 First of all, this won’t solve the issue for cases when universal is
 needed. Secondly, if decision is to let it be broken, please set universal
 variant to no, so users don’t end up wasting many hours to gets obscure
 failure. Better yet, pick an earlier Clang which actually works, when
 universal is called for.

 I do not install ports “blindly” as universal. I need that for testing. It
 is supposed to work with Clangs on Intel, and normally it does.

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


More information about the macports-tickets mailing list