[MacPorts] #68640: clang-17: builds some software that does not link on older macOS: Undefined symbols "std::__1::__libcpp_verbose_abort

MacPorts noreply at macports.org
Thu Apr 4 15:38:00 UTC 2024


#68640: clang-17: builds some software that does not link on older macOS: Undefined
symbols "std::__1::__libcpp_verbose_abort
-------------------------------------------------+----------------------
  Reporter:  snowflake                           |      Owner:  dbevans
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:  2.8.99
Resolution:                                      |   Keywords:
      Port:  clang-17, poppler, gjs, gegl, mesa  |
-------------------------------------------------+----------------------

Comment (by kencu):

 **possibly** if we patch clang 16+ to not define the macro in the
 installed clang headers:

 {{{
 #   define _LIBCPP_AVAILABILITY_VERBOSE_ABORT
 }}}

 things will work again through the fallback pathway.

 https://github.com/llvm/llvm-
 project/blob/1b761205f2686516cebadbcbc37f798197d9c482/libcxx/include/__verbose_abort#L39

 Someone with a machine that is seeing this issue would have to test this
 -- and it's also possible this has been baked into some built software
 libraries I think.

 A clear understanding of when and where this occurs is still evolving.

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


More information about the macports-tickets mailing list