[MacPorts] #67324: boost176 +clang16 doesn't build

MacPorts noreply at macports.org
Tue May 2 10:16:49 UTC 2023


#67324: boost176 +clang16 doesn't build
-----------------------+-----------------------
  Reporter:  blair     |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  boost176  |
-----------------------+-----------------------

Comment (by sambthompson):

 Found this issue as well when rebuilding mkvtoolnix after the changes
 discussed in #xxxxx. Relates to a bug fix applied to clang-16 and later,
 discussed here: https://github.com/llvm/llvm-project/issues/50055

 Fixed it by cherry-picking this commit
 https://github.com/boostorg/numeric_conversion/commit/50a1eae942effb0a9b90724323ef8f2a67e7984a
 to the boost176 installation, found on Boost's version of this issue at
 https://github.com/boostorg/mpl/issues/69. This fix didn't land until
 Boost 1.81, so probably needs application to versions 1.77 thru 1.80 as
 well if clang16 support is wanted for these earlier versions.

 For mkvtoolnix, I also needed the fix for BOOST_NO_CXX98_FUNCTION_BASE
 found in https://github.com/boostorg/config/pull/440, which related to
 this issue: https://github.com/boostorg/container_hash/issues/24. This
 also didn't land until 1.81.

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


More information about the macports-tickets mailing list