[libc-commits] [PATCH] D150727: [libc] Add a convenience CMake function `add_unittest_framework_library`.

Joseph Huber via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed May 17 08:10:44 PDT 2023


jhuber6 added a comment.

  ld.lld: error: libc/test/UnitTest/libLibcHermeticTestSupport.hermetic.a(HermeticTestUtils.cpp.o) is incompatible with libc/startup/gpu/amdgpu/CMakeFiles/libc.startup.gpu.amdgpu.crt1.dir/start.cpp.o
  clang++: error: ld.lld command failed with exit code 1 (use -v to see invocation)

I get this error now, it happens when the architectures don't line up. So that means `HermeticTestUtils.cpp.o` is no longer being compiled for the GPU via `--target=`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150727/new/

https://reviews.llvm.org/D150727



More information about the libc-commits mailing list