[MacPorts] #68640: clang-16 and clang-17: Undefined symbols "std::__1::__libcpp_verbose_abort
MacPorts
noreply at macports.org
Sun Apr 7 14:55:06 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):
for clang-17, this works:
{{{
$ 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:50:37.000000000 -0700
@@ -166,8 +166,8 @@
// 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_VERBOSE_ABORT
+# define _LIBCPP_AVAILABILITY_HAS_NO_VERBOSE_ABORT
+# define _LIBCPP_AVAILABILITY_VERBOSE_ABORT
__attribute__((unavailable))
// This controls the availability of the C++17 std::pmr library,
// which is implemented in large part in the built library.
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68640#comment:44>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list