[MacPorts] #68187: frozen fails to build on 10.7–10.11: Undefined symbols for architecture x86_64: "std::uncaught_exceptions()"

MacPorts noreply at macports.org
Mon Sep 18 09:00:12 UTC 2023


#68187: frozen fails to build on 10.7–10.11: Undefined symbols for architecture
x86_64: "std::uncaught_exceptions()"
--------------------------+------------------------
 Reporter:  barracuda156  |      Owner:  i0ntempest
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  x86_64        |       Port:  frozen
--------------------------+------------------------
 {{{
 [ 96%] Linking CXX executable frozen.tests
 cd
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_frozen/frozen/work/build/tests
 && /opt/local/bin/cmake -E cmake_link_script
 CMakeFiles/frozen.tests.dir/link.txt --verbose=ON
 /opt/local/bin/clang++-mp-16 -pipe -Os -std=c++14 -DNDEBUG
 -I/opt/local/include -stdlib=libc++ -arch x86_64 -mmacosx-version-
 min=10.11 -Wl,-search_paths_first -Wl,-headerpad_max_install_names
 -L/opt/local/lib -Wl,-headerpad_max_install_names
 CMakeFiles/frozen.tests.dir/test_algorithms.cpp.o
 CMakeFiles/frozen.tests.dir/test_elsa_std.cpp.o
 CMakeFiles/frozen.tests.dir/test_main.cpp.o
 CMakeFiles/frozen.tests.dir/test_map.cpp.o
 CMakeFiles/frozen.tests.dir/test_rand.cpp.o
 CMakeFiles/frozen.tests.dir/test_set.cpp.o
 CMakeFiles/frozen.tests.dir/test_str.cpp.o
 CMakeFiles/frozen.tests.dir/test_str_set.cpp.o
 CMakeFiles/frozen.tests.dir/test_unordered_map.cpp.o
 CMakeFiles/frozen.tests.dir/test_unordered_map_str.cpp.o
 CMakeFiles/frozen.tests.dir/test_unordered_set.cpp.o
 CMakeFiles/frozen.tests.dir/test_unordered_str_set.cpp.o -o frozen.tests
 -Wl,-rpath,/opt/local/lib
 Undefined symbols for architecture x86_64:
   "std::uncaught_exceptions()", referenced from:
       Catch::ScopedMessage::~ScopedMessage() in test_main.cpp.o
       Catch::uncaught_exceptions() in test_main.cpp.o
       Catch::Capturer::~Capturer() in test_main.cpp.o
       Catch::Section::~Section() in test_main.cpp.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[2]: *** [tests/frozen.tests] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68187>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list