Advertisement
divyaxdv

cmake test error in macos

Apr 2nd, 2024
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.83 KB | None | 0 0
  1. ninja check-libc                                    
  2. [6/801] Linking CXX executable projects/libc/test/src/__support/libc.test.src.__support.blockstore_test.__unit__.__build__
  3. FAILED: projects/libc/test/src/__support/libc.test.src.__support.blockstore_test.__unit__.__build__
  4. : && /opt/homebrew/opt/llvm/bin/clang++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -g -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX14.4.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names -fuse-ld=ld projects/libc/test/src/__support/CMakeFiles/libc.test.src.__support.blockstore_test.__unit__.__build__.dir/blockstore_test.cpp.o -o projects/libc/test/src/__support/libc.test.src.__support.blockstore_test.__unit__.__build__  projects/libc/src/__support/CPP/CMakeFiles/libc.src.__support.CPP.new.dir/./new.cpp.o  projects/libc/src/__support/StringUtil/CMakeFiles/libc.src.__support.StringUtil.error_to_string.dir/./error_to_string.cpp.o  projects/libc/src/errno/CMakeFiles/libc.src.errno.errno.__internal__.dir/./libc_errno.cpp.o  lib/libLibcDeathTestExecutors.unit.a  lib/libLibcTest.unit.a && :
  5. Undefined symbols for architecture arm64:
  6.   "__llvm_libc_19_0_0_git::quick_exit(int)", referenced from:
  7.       __llvm_libc_19_0_0_git::BlockStore<int, 4ul, false>::pop_back() in blockstore_test.cpp.o
  8.       __llvm_libc_19_0_0_git::BlockStore<int, 4ul, false>::get_last_blocks() in blockstore_test.cpp.o
  9.       __llvm_libc_19_0_0_git::BlockStore<int, 4ul, true>::pop_back() in blockstore_test.cpp.o
  10. ld: symbol(s) not found for architecture arm64
  11. clang++: error: linker command failed with exit code 1 (use -v to see invocation)
  12. [11/801] Running unit test libc.test.include.stdckdint_test.__unit__
  13. [ RUN      ] LlvmLibcStdCkdIntTest.Add
  14. [       OK ] LlvmLibcStdCkdIntTest.Add (took 40 us)
  15. [ RUN      ] LlvmLibcStdCkdIntTest.Sub
  16. [       OK ] LlvmLibcStdCkdIntTest.Sub (took 2 us)
  17. [ RUN      ] LlvmLibcStdCkdIntTest.Mul
  18. [       OK ] LlvmLibcStdCkdIntTest.Mul (took 2 us)
  19. Ran 3 tests.  PASS: 3  FAIL: 0
  20. [12/801] Running unit test libc.test.include.sys_queue_test.__unit__
  21. [ RUN      ] LlvmLibcQueueTest.SList
  22. [       OK ] LlvmLibcQueueTest.SList (took 30 us)
  23. [ RUN      ] LlvmLibcQueueTest.STailQ
  24. [       OK ] LlvmLibcQueueTest.STailQ (took 13 us)
  25. Ran 2 tests.  PASS: 2  FAIL: 0
  26. [15/801] Building CXX object projects/libc/test/src/__support/CMakeFiles/libc.test.src.__support.uint_test.__unit__.__build__.dir/uint_test.cpp.o
  27. ninja: build stopped: subcommand failed.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement