[Lldb-commits] [lldb] r151187 - /lldb/trunk/Makefile
gkistanova at gmail.com
Mon Feb 27 13:25:18 PST 2012
>> grumble, grumble, I was hoping that there were no dependencies that
require clang to be built with RTTI. I'll undo this change.
std::tr1::shared_ptr requiring RTTI looks like a bug in libstdc++. Maybe we
can get the owner >of the lldb-linux buildbot to update g++ on that machine.
Sounds reasonable to me.
Peter, could you take care of this, please?
On Wed, Feb 22, 2012 at 1:11 PM, Charles Davis <cdavis at mymail.mines.edu>wrote:
> On Feb 22, 2012, at 2:02 PM, Benjamin Kramer wrote:
> > On 22.02.2012, at 21:52, Charles Davis wrote:
> >> Hi Benjamin,
> >> On Feb 22, 2012, at 12:19 PM, Benjamin Kramer wrote:
> >>> Author: d0k
> >>> Date: Wed Feb 22 13:19:01 2012
> >>> New Revision: 151187
> >>> URL: http://llvm.org/viewvc/llvm-project?rev=151187&view=rev
> >>> Log:
> >>> Enable RTTI for the Makefile build, hopefully getting the linux build
> a bit further.
> >> You do realize that with this change, LLVM and Clang must now also be
> built with RTTI on, right? Otherwise, at least I get linker failures like
> > grumble, grumble, I was hoping that there were no dependencies that
> require clang to be built with RTTI. I'll undo this change.
> std::tr1::shared_ptr requiring RTTI looks like a bug in libstdc++. Maybe we
> can get the owner of the lldb-linux buildbot to update g++ on that machine.
> Peter? Galina?
> > - Ben
> >> llvm: Linking Release Shared Library liblldb.dylib
> >> Undefined symbols for architecture x86_64:
> >> "__ZTIN5clang12SemaConsumerE", referenced from:
> >> __ZTIN12lldb_private20ASTResultSynthesizerE in
> >> __ZTIN12lldb_private18ASTStructExtractorE in
> >> "__ZTIN4llvm16JITMemoryManagerE", referenced from:
> >> __ZTIN12lldb_private22RecordingMemoryManagerE in
> >> "__ZTIN5clang18DiagnosticConsumerE", referenced from:
> >> __ZTI22NullDiagnosticConsumer in liblldbSymbol.a(ClangASTContext.o)
> >> "__ZTIN5clang11ASTImporterE", referenced from:
> >> __ZTIN12lldb_private16ClangASTImporter6MinionE in
> >> "__ZTIN5clang17ExternalASTSourceE", referenced from:
> >> __ZTIN12lldb_private28ClangExternalASTSourceCommonE in
> >> ld: symbol(s) not found for architecture x86_64
> >> clang: error: linker command failed with exit code 1 (use -v to see
> >> (Note: I'm on a Mac, so YMMV.)
> >> Chip
> >>> Modified:
> >>> lldb/trunk/Makefile
> >>> Modified: lldb/trunk/Makefile
> >>> URL:
> >>> --- lldb/trunk/Makefile (original)
> >>> +++ lldb/trunk/Makefile Wed Feb 22 13:19:01 2012
> >>> @@ -25,6 +25,9 @@
> >>> # Set LLVM source root level.
> >>> LEVEL := $(LLDB_LEVEL)/../..
> >>> +# shared_ptr from libstdc++ requires RTTI.
> >>> +REQUIRES_RTTI := 1
> >>> +
> >>> # Include LLVM common makefile.
> >>> include $(LEVEL)/Makefile.common
> >>> _______________________________________________
> >>> lldb-commits mailing list
> >>> lldb-commits at cs.uiuc.edu
> >>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-commits