Skip to content

Commit a43a4a5

Browse files
authored
[lldb] Build the TestRosetta.py executable with system stdlib (llvm#78370)
This is a speculative fix for TestRosetta.py which is currently failing on Green Dragon. TestRosetta just makes sure we can debug an x86_64 process on Apple Silicon. However, we're failing to build the x86_64 test binary. The linker is failing with some warnings about libc++ and libunwind being build for arm64 while the target binary is x86_64. I'm going to try building with the system standard libraries instead of the just-built ones to workaround it.
1 parent 854aa91 commit a43a4a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/test/API/macosx/rosetta/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
C_SOURCES := main.c
22
override ARCH = x86_64
33

4+
USE_SYSTEM_STDLIB := 1
5+
46
include Makefile.rules

0 commit comments

Comments
 (0)