[Lldb-commits] [Bug 11714] New: Cross compiling lldb is broken
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Thu Jan 5 15:06:19 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11714
Bug #: 11714
Summary: Cross compiling lldb is broken
Product: lldb
Version: unspecified
Platform: Macintosh
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: lldb-commits at cs.uiuc.edu
ReportedBy: nallegra at apple.com
Classification: Unclassified
For one thing, tools/lldb/Makefile contains
PYTHON_INC_DIR = $(shell python-config --includes)
and tools/lldb/lib/Makefile contains
PYTHON_BUILD_FLAGS = $(shell python-config --ldflags)
which clearly don't work correctly with a cross compiler.
There are also linker errors:
llvm[2]: Linking Release+Asserts executable llvm-extract (without symbols)
Undefined symbols for architecture armv7:
"_LLVMInitializeARMTargetInfo", referenced from:
_main in lli.o
"_LLVMInitializeARMTarget", referenced from:
_main in lli.o
"_LLVMInitializeARMTargetMC", referenced from:
_main in lli.o
"_LLVMInitializeARMAsmPrinter", referenced from:
_main in lli.o
with:
./configure --host=arm-apple-darwin9 --enable-targets=arm --enable-jit
--enable-optimized
CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang -arch armv7
-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
-miphoneos-version-min=5.0"
CXX="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang++ -arch
armv7 -isysroot
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS5.0.sdk
-miphoneos-version-min=5.0"
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the lldb-commits
mailing list