Opened 13 months ago

#68607 assigned defect

tatami, tatami-devel fail to build with clang on < 10.14: Undefined symbols for architecture x86_64: "___kmpc_for_static_fini" etc.

Reported by: barracuda156 Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: x86_64, highsierra, sierra, elcapitan, yosemite, mavericks, mountainlion, lion, snowleopard Cc:
Port: tatami, tatami-devel

Description

[ 50%] Linking CXX executable omptest
cd /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tatami/tatami/work/build/tests && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/omptest.dir/link.txt --verbose=ON
/opt/local/bin/clang++-mp-16 -pipe -Os -DNDEBUG -I/opt/local/include -stdlib=libc++ -mmacosx-version-min=10.13 -Wl,-search_paths_first -Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-headerpad_max_install_names CMakeFiles/omptest.dir/src/stats/sums.cpp.o CMakeFiles/omptest.dir/src/stats/variances.cpp.o CMakeFiles/omptest.dir/src/stats/medians.cpp.o CMakeFiles/omptest.dir/src/stats/ranges.cpp.o CMakeFiles/omptest.dir/src/stats/counts.cpp.o CMakeFiles/omptest.dir/src/stats/parallelize.cpp.o CMakeFiles/omptest.dir/src/stats/grouped_medians.cpp.o CMakeFiles/omptest.dir/src/stats/grouped_sums.cpp.o -o omptest  -Wl,-rpath,/opt/local/lib ../lib/libgtest_main.a ../lib/libgtest.a 
Undefined symbols for architecture x86_64:
  "___kmpc_for_static_fini", referenced from:
      _.omp_outlined. in sums.cpp.o
      _.omp_outlined..21 in sums.cpp.o
      _.omp_outlined..22 in sums.cpp.o
      _.omp_outlined..23 in sums.cpp.o
      _.omp_outlined..24 in sums.cpp.o
      _.omp_outlined..25 in sums.cpp.o
      _.omp_outlined..26 in sums.cpp.o
      ...
  "___kmpc_for_static_init_8u", referenced from:
      _.omp_outlined. in sums.cpp.o
      _.omp_outlined..21 in sums.cpp.o
      _.omp_outlined..22 in sums.cpp.o
      _.omp_outlined..23 in sums.cpp.o
      _.omp_outlined..24 in sums.cpp.o
      _.omp_outlined..25 in sums.cpp.o
      _.omp_outlined..26 in sums.cpp.o
      ...
  "___kmpc_fork_call", referenced from:
      void tatami::parallelize<true, void tatami::convert_to_dense<false, double, double, int>(tatami::Matrix<double, int> const*, double*, int)::'lambda'(unsigned long, int, int), int>(double, double, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, void tatami::convert_to_dense<false, double, double, int>(tatami::Matrix<double, int> const*, double*, int)::'lambda0'(unsigned long, int, int), int>(double, double, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda0'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda1'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda2'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda3'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      ...
  "___kmpc_global_thread_num", referenced from:
      void tatami::parallelize<true, void tatami::convert_to_dense<false, double, double, int>(tatami::Matrix<double, int> const*, double*, int)::'lambda'(unsigned long, int, int), int>(double, double, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, void tatami::convert_to_dense<false, double, double, int>(tatami::Matrix<double, int> const*, double*, int)::'lambda0'(unsigned long, int, int), int>(double, double, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda0'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda1'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda2'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda3'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      ...
  "___kmpc_push_num_threads", referenced from:
      void tatami::parallelize<true, void tatami::convert_to_dense<false, double, double, int>(tatami::Matrix<double, int> const*, double*, int)::'lambda'(unsigned long, int, int), int>(double, double, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, void tatami::convert_to_dense<false, double, double, int>(tatami::Matrix<double, int> const*, double*, int)::'lambda0'(unsigned long, int, int), int>(double, double, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda0'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda1'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda2'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      void tatami::parallelize<true, tatami::CompressedSparseContents<double, int> tatami::retrieve_compressed_sparse_contents<true, double, int, double, int>(tatami::Matrix<double, int> const*, bool, int)::'lambda3'(unsigned long, int, int), int>(double, int, unsigned long) in sums.cpp.o
      ...
ld: symbol(s) not found for architecture x86_64

https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/205471/steps/install-port/logs/stdio

Change History (0)

Note: See TracTickets for help on using tickets.