Opened 8 months ago

#68187 assigned defect

frozen fails to build on 10.7–10.11: Undefined symbols for architecture x86_64: "std::uncaught_exceptions()"

Reported by: barracuda156 Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: x86_64 Cc:
Port: frozen

Description

[ 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

Change History (0)

Note: See TracTickets for help on using tickets.