[MacPorts] #68640: clang-16 and clang-17: Undefined symbols "std::__1::__libcpp_verbose_abort

MacPorts noreply at macports.org
Sun Apr 7 15:01:51 UTC 2024


#68640: clang-16 and clang-17: Undefined symbols "std::__1::__libcpp_verbose_abort
-------------------------------------------------+-------------------------
  Reporter:  snowflake                           |      Owner:  nobody
      Type:  defect                              |     Status:  assigned
  Priority:  Normal                              |  Milestone:
 Component:  ports                               |    Version:
Resolution:                                      |   Keywords:  haspatch
      Port:  clang-16, clang-17, poppler, gjs,   |
  gegl, mesa                                     |
-------------------------------------------------+-------------------------

Comment (by kencu):

 and for clang-17, this simpler one also works, although doesn't specificy
 the "unavailable" nature of the function specifically like the above patch
 does.
 {{{
 $ diff -u /opt/local/libexec/llvm-17/include/c++/v1/__availability.orig
 /opt/local/libexec/llvm-17/include/c++/v1/__availability
 --- /opt/local/libexec/llvm-17/include/c++/v1/__availability.orig
 2024-04-07 07:45:37.000000000 -0700
 +++ /opt/local/libexec/llvm-17/include/c++/v1/__availability    2024-04-07
 07:56:40.000000000 -0700
 @@ -166,7 +166,7 @@
      // This controls whether the library claims to provide a default
 verbose
      // termination function, and consequently whether the headers will
 try
      // to use it when the mechanism isn't overriden at compile-time.
 -// #   define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT
 +#   define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT
  #   define _LIBCPP_AVAILABILITY_VERBOSE_ABORT

      // This controls the availability of the C++17 std::pmr library,
 }}}

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


More information about the macports-tickets mailing list