Author: Alex Langford
Date: 2024-01-16T16:29:31-08:00
New Revision: a43a4a5329fbb4c5bedddb9cbbe89d3659422be3

URL: 
https://github.com/llvm/llvm-project/commit/a43a4a5329fbb4c5bedddb9cbbe89d3659422be3
DIFF: 
https://github.com/llvm/llvm-project/commit/a43a4a5329fbb4c5bedddb9cbbe89d3659422be3.diff

LOG: [lldb] Build the TestRosetta.py executable with system stdlib (#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.

Added: 
    

Modified: 
    lldb/test/API/macosx/rosetta/Makefile

Removed: 
    


################################################################################
diff  --git a/lldb/test/API/macosx/rosetta/Makefile 
b/lldb/test/API/macosx/rosetta/Makefile
index 8dd53c8407e163..40707da8f10077 100644
--- a/lldb/test/API/macosx/rosetta/Makefile
+++ b/lldb/test/API/macosx/rosetta/Makefile
@@ -1,4 +1,6 @@
 C_SOURCES := main.c
 override ARCH = x86_64
 
+USE_SYSTEM_STDLIB := 1
+
 include Makefile.rules


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to