Guest User

Untitled

a guest
May 30th, 2025
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.05 KB | None | 0 0
  1. $ bin/llvm-lit -sv ../llvm-project/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py
  2. llvm-lit: /Users/royshi/public_llvm/llvm-project/lldb/test/API/lit.cfg.py:195: warning: Could not set a default per-test timeout. Requires the Python psutil module but it could not be found. Try installing it via pip or via your operating system's package manager.
  3. FAIL: lldb-api :: macosx/simulator/TestSimulatorPlatform.py (1 of 1)
  4. ******************** TEST 'lldb-api :: macosx/simulator/TestSimulatorPlatform.py' FAILED ********************
  5. Script:
  6. --
  7. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 /Users/royshi/public_llvm/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/Users/royshi/public_llvm/build/./lib --env LLVM_INCLUDE_DIR=/Users/royshi/public_llvm/build/include --env LLVM_TOOLS_DIR=/Users/royshi/public_llvm/build/./bin --libcxx-include-dir /Users/royshi/public_llvm/build/include/c++/v1 --libcxx-library-dir /Users/royshi/public_llvm/build/lib --arch arm64 --build-dir /Users/royshi/public_llvm/build/lldb-test-build.noindex --lldb-module-cache-dir /Users/royshi/public_llvm/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /Users/royshi/public_llvm/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /Users/royshi/public_llvm/build/./bin/lldb --compiler /Users/royshi/public_llvm/build/./bin/clang --dsymutil /Users/royshi/public_llvm/build/./bin/dsymutil --make /usr/bin/make --llvm-tools-dir /Users/royshi/public_llvm/build/./bin --lldb-obj-root /Users/royshi/public_llvm/build/tools/lldb --lldb-libs-dir /Users/royshi/public_llvm/build/./lib /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -p TestSimulatorPlatform.py
  8. --
  9. Exit Code: 1
  10.  
  11. Command Output (stdout):
  12. --
  13. lldb version 21.0.0git (https://github.com/royitaqi/llvm-project revision d98210b81f7b49f5384e968b1a18e00e432aaf2c)
  14. clang revision d98210b81f7b49f5384e968b1a18e00e432aaf2c
  15. llvm revision d98210b81f7b49f5384e968b1a18e00e432aaf2c
  16. Skipping the following test categories: ['libstdcxx', 'dwo', 'llgs', 'fork']
  17.  
  18. --
  19. Command Output (stderr):
  20. --
  21. FAIL: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_ios (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  22. FAIL: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_ios_backdeploy_apple_silicon (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  23. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_ios_backdeploy_x86 (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skipping due to the following parameter(s): architecture)
  24. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_lc_version_min_iphoneos (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skipping due to the following parameter(s): architecture)
  25. FAIL: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_lc_version_min_macosx (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  26. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_lc_version_min_tvos (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skipping due to the following parameter(s): architecture)
  27. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_lc_version_min_watchos (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skip on macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator)
  28. FAIL: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_tvos (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  29. FAIL: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_tvos_backdeploy_apple_silicon (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  30. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_watchos_armv7k (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skip on macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator)
  31. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_watchos_backdeploy_apple_silicon (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skip on macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator)
  32. UNSUPPORTED: LLDB (/Users/royshi/public_llvm/build/bin/clang-arm64) :: test_watchos_i386 (TestSimulatorPlatform.TestSimulatorPlatformLaunching) (skip on macosx, darwin, ios, tvos, watchos, bridgeos, iphonesimulator, watchsimulator, appletvsimulator)
  33. ======================================================================
  34. ERROR: test_ios (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  35. Test running an iOS simulator binary
  36. ----------------------------------------------------------------------
  37. Error when building test subject.
  38.  
  39. Build Command:
  40. /usr/bin/make VPATH=/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -C /Users/royshi/public_llvm/build/lldb-test-build.noindex/macosx/simulator/TestSimulatorPlatform.test_ios -I /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/Makefile all ARCH=arm64 CC=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang CC_TYPE=clang CXX=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ LLVM_AR=/Users/royshi/public_llvm/build/./bin/llvm-ar AR=/Users/royshi/public_llvm/build/./bin/llvm-ar OBJCOPY=/Users/royshi/public_llvm/build/./bin/llvm-objcopy STRIP=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ARCHIVER=/Users/royshi/public_llvm/build/./bin/llvm-ar DWP=/Users/royshi/public_llvm/build/./bin/llvm-dwp AR=libtool DSYMUTIL=/Users/royshi/public_llvm/build/./bin/dsymutil 'CODESIGN=codesign --entitlements /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist' CLANG_MODULE_CACHE_DIR=/Users/royshi/public_llvm/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/royshi/public_llvm/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/royshi/public_llvm/build/lib LLDB_OBJ_ROOT=/Users/royshi/public_llvm/build/tools/lldb ARCH=arm64 'ARCH_CFLAGS=-target arm64-apple-ios-simulator -mios-simulator-version-min=18.4' SDKROOT=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk OS=Darwin HOST_OS=Darwin
  41.  
  42. Build Command Output:
  43. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-ios-simulator -mios-simulator-version-min=18.4 -MT hello.o -MD -MP -MF hello.d -c -o hello.o /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/hello.c
  44. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang hello.o -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-ios-simulator -mios-simulator-version-min=18.4 -L/Users/royshi/public_llvm/build/lib -Wl,-rpath,/Users/royshi/public_llvm/build/lib -lc++ --driver-mode=g++ -o "a.out"
  45. ld: warning: ignoring duplicate libraries: '-lc++'
  46. ld: building for 'iOS-simulator', but linking in dylib (/Users/royshi/public_llvm/build/lib/libc++.1.0.dylib) built for 'macOS'
  47. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  48. make: *** [a.out] Error 1
  49.  
  50. Test Directory:
  51. /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator
  52. ======================================================================
  53. ERROR: test_ios_backdeploy_apple_silicon (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  54. Test running a back-deploying iOS simulator binary
  55. ----------------------------------------------------------------------
  56. Error when building test subject.
  57.  
  58. Build Command:
  59. /usr/bin/make VPATH=/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -C /Users/royshi/public_llvm/build/lldb-test-build.noindex/macosx/simulator/TestSimulatorPlatform.test_ios_backdeploy_apple_silicon -I /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/Makefile all ARCH=arm64 CC=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang CC_TYPE=clang CXX=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ LLVM_AR=/Users/royshi/public_llvm/build/./bin/llvm-ar AR=/Users/royshi/public_llvm/build/./bin/llvm-ar OBJCOPY=/Users/royshi/public_llvm/build/./bin/llvm-objcopy STRIP=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ARCHIVER=/Users/royshi/public_llvm/build/./bin/llvm-ar DWP=/Users/royshi/public_llvm/build/./bin/llvm-dwp AR=libtool DSYMUTIL=/Users/royshi/public_llvm/build/./bin/dsymutil 'CODESIGN=codesign --entitlements /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist' CLANG_MODULE_CACHE_DIR=/Users/royshi/public_llvm/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/royshi/public_llvm/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/royshi/public_llvm/build/lib LLDB_OBJ_ROOT=/Users/royshi/public_llvm/build/tools/lldb ARCH=arm64 'ARCH_CFLAGS=-target arm64-apple-ios11.0-simulator -mios-simulator-version-min=11.0' SDKROOT=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk OS=Darwin HOST_OS=Darwin
  60.  
  61. Build Command Output:
  62. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-ios11.0-simulator -mios-simulator-version-min=11.0 -MT hello.o -MD -MP -MF hello.d -c -o hello.o /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/hello.c
  63. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang hello.o -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-ios11.0-simulator -mios-simulator-version-min=11.0 -L/Users/royshi/public_llvm/build/lib -Wl,-rpath,/Users/royshi/public_llvm/build/lib -lc++ --driver-mode=g++ -o "a.out"
  64. ld: warning: ignoring duplicate libraries: '-lc++'
  65. ld: building for 'iOS-simulator', but linking in dylib (/Users/royshi/public_llvm/build/lib/libc++.1.0.dylib) built for 'macOS'
  66. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  67. make: *** [a.out] Error 1
  68.  
  69. Test Directory:
  70. /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator
  71. ======================================================================
  72. ERROR: test_tvos (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  73. Test running an tvOS simulator binary
  74. ----------------------------------------------------------------------
  75. Error when building test subject.
  76.  
  77. Build Command:
  78. /usr/bin/make VPATH=/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -C /Users/royshi/public_llvm/build/lldb-test-build.noindex/macosx/simulator/TestSimulatorPlatform.test_tvos -I /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/Makefile all ARCH=arm64 CC=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang CC_TYPE=clang CXX=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ LLVM_AR=/Users/royshi/public_llvm/build/./bin/llvm-ar AR=/Users/royshi/public_llvm/build/./bin/llvm-ar OBJCOPY=/Users/royshi/public_llvm/build/./bin/llvm-objcopy STRIP=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ARCHIVER=/Users/royshi/public_llvm/build/./bin/llvm-ar DWP=/Users/royshi/public_llvm/build/./bin/llvm-dwp AR=libtool DSYMUTIL=/Users/royshi/public_llvm/build/./bin/dsymutil 'CODESIGN=codesign --entitlements /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist' CLANG_MODULE_CACHE_DIR=/Users/royshi/public_llvm/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/royshi/public_llvm/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/royshi/public_llvm/build/lib LLDB_OBJ_ROOT=/Users/royshi/public_llvm/build/tools/lldb ARCH=arm64 'ARCH_CFLAGS=-target arm64-apple-tvos-simulator -mtvos-simulator-version-min=18.4' SDKROOT=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator18.4.sdk OS=Darwin HOST_OS=Darwin
  79.  
  80. Build Command Output:
  81. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-tvos-simulator -mtvos-simulator-version-min=18.4 -MT hello.o -MD -MP -MF hello.d -c -o hello.o /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/hello.c
  82. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang hello.o -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-tvos-simulator -mtvos-simulator-version-min=18.4 -L/Users/royshi/public_llvm/build/lib -Wl,-rpath,/Users/royshi/public_llvm/build/lib -lc++ --driver-mode=g++ -o "a.out"
  83. ld: warning: ignoring duplicate libraries: '-lc++'
  84. ld: building for 'tvOS-simulator', but linking in dylib (/Users/royshi/public_llvm/build/lib/libc++.1.0.dylib) built for 'macOS'
  85. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  86. make: *** [a.out] Error 1
  87.  
  88. Test Directory:
  89. /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator
  90. ======================================================================
  91. ERROR: test_tvos_backdeploy_apple_silicon (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  92. Test running a back-deploying tvOS simulator binary
  93. ----------------------------------------------------------------------
  94. Error when building test subject.
  95.  
  96. Build Command:
  97. /usr/bin/make VPATH=/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -C /Users/royshi/public_llvm/build/lldb-test-build.noindex/macosx/simulator/TestSimulatorPlatform.test_tvos_backdeploy_apple_silicon -I /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -f /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/Makefile all ARCH=arm64 CC=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang CC_TYPE=clang CXX=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ LLVM_AR=/Users/royshi/public_llvm/build/./bin/llvm-ar AR=/Users/royshi/public_llvm/build/./bin/llvm-ar OBJCOPY=/Users/royshi/public_llvm/build/./bin/llvm-objcopy STRIP=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip ARCHIVER=/Users/royshi/public_llvm/build/./bin/llvm-ar DWP=/Users/royshi/public_llvm/build/./bin/llvm-dwp AR=libtool DSYMUTIL=/Users/royshi/public_llvm/build/./bin/dsymutil 'CODESIGN=codesign --entitlements /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/entitlements-macos.plist' CLANG_MODULE_CACHE_DIR=/Users/royshi/public_llvm/build/lldb-test-build.noindex/module-cache-clang/lldb-api LIBCPP_INCLUDE_DIR=/Users/royshi/public_llvm/build/include/c++/v1 LIBCPP_LIBRARY_DIR=/Users/royshi/public_llvm/build/lib LLDB_OBJ_ROOT=/Users/royshi/public_llvm/build/tools/lldb ARCH=arm64 'ARCH_CFLAGS=-target arm64-apple-tvos11.0-simulator -mtvos-simulator-version-min=11.0' SDKROOT=/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator18.4.sdk OS=Darwin HOST_OS=Darwin
  98.  
  99. Build Command Output:
  100. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-tvos11.0-simulator -mtvos-simulator-version-min=11.0 -MT hello.o -MD -MP -MF hello.d -c -o hello.o /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/hello.c
  101. /Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang hello.o -g -O0 -isysroot "/Applications/Xcode_16.3.0_16E140_fb.app/Contents/Developer/Platforms/AppleTVSimulator.platform/Developer/SDKs/AppleTVSimulator18.4.sdk" -arch arm64 -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/../../../../..//include -I/Users/royshi/public_llvm/build/tools/lldb/include -I/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator -I/Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make -include /Users/royshi/public_llvm/llvm-project/lldb/packages/Python/lldbsuite/test/make/test_common.h -fno-limit-debug-info -target arm64-apple-tvos11.0-simulator -mtvos-simulator-version-min=11.0 -L/Users/royshi/public_llvm/build/lib -Wl,-rpath,/Users/royshi/public_llvm/build/lib -lc++ --driver-mode=g++ -o "a.out"
  102. ld: warning: ignoring duplicate libraries: '-lc++'
  103. ld: building for 'tvOS-simulator', but linking in dylib (/Users/royshi/public_llvm/build/lib/libc++.1.0.dylib) built for 'macOS'
  104. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  105. make: *** [a.out] Error 1
  106.  
  107. Test Directory:
  108. /Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator
  109. ======================================================================
  110. FAIL: test_lc_version_min_macosx (TestSimulatorPlatform.TestSimulatorPlatformLaunching)
  111. Test running a back-deploying non-simulator MacOS X binary
  112. ----------------------------------------------------------------------
  113. Traceback (most recent call last):
  114. File "/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py", line 150, in test_lc_version_min_macosx
  115. self.run_with(
  116. File "/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py", line 67, in run_with
  117. self.check_load_commands(expected_load_command)
  118. File "/Users/royshi/public_llvm/llvm-project/lldb/test/API/macosx/simulator/TestSimulatorPlatform.py", line 20, in check_load_commands
  119. self.assertEqual(
  120. AssertionError: 0 != 1 : wrong number of load commands for LC_VERSION_MIN_MACOSX
  121. Config=arm64-/Users/royshi/public_llvm/build/bin/clang
  122. ----------------------------------------------------------------------
  123. Ran 12 tests in 4.494s
  124.  
  125. FAILED (failures=1, errors=4, skipped=7)
  126.  
  127. --
  128.  
  129. ********************
  130. ********************
  131. Failed Tests (1):
  132. lldb-api :: macosx/simulator/TestSimulatorPlatform.py
  133.  
  134.  
  135. Testing Time: 5.48s
  136.  
  137. Total Discovered Tests: 1
  138. Failed: 1 (100.00%)
  139.  
  140. 1 warning(s) in tests
  141.  
Advertisement
Add Comment
Please, Sign In to add comment