[LLVMdev] [cfe-dev] Builds failing on lldb with the following for well over a week on a new build folder

Arnaud Allard de Grandmaison arnaud.adegm at gmail.com
Mon Nov 25 15:01:25 PST 2013


Hi Marc,

I have a pending patch on llvm-commit to enable c++11 with a cmake build,
so that cmake matches configure --enable-cxx11.

Cheers,
--
Arnaud


On Mon, Nov 25, 2013 at 7:45 PM, Eric Christopher <echristo at gmail.com>wrote:

> Looks like your lldb is being compiled in C++11 mode and your llvm
> wasn't perhaps?
>
> -eric
>
> On Sat, Nov 23, 2013 at 12:57 AM, Marc Driftmeyer <mjd at reanimality.com>
> wrote:
> > Linking CXX executable ../../../../bin/lldb
> > Scanning dependencies of target lldb-platform
> > [100%] Building CXX object
> >
> tools/lldb/tools/lldb-platform/CMakeFiles/lldb-platform.dir/lldb-platform.cpp.o
> > ../../../../lib/liblldb.so.3.5: undefined reference to
> > `llvm::SmallPtrSetImpl::SmallPtrSetImpl(void const**, unsigned int,
> > llvm::SmallPtrSetImpl&&)'
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation)
> > make[2]: *** [bin/lldb-3.5] Error 1
> > make[1]: *** [tools/lldb/tools/driver/CMakeFiles/lldb.dir/all] Error 2
> > make[1]: *** Waiting for unfinished jobs....
> >
> /home/mdriftmeyer/DeveloperProjects/LLVMProject/llvm/tools/lldb/tools/lldb-platform/lldb-platform.cpp:295:35:
> > warning: comparison of integers of different
> >       signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
> >                 for (int j = 0; j < listen_host_port.size(); j++)
> >                                 ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
> > 1 warning generated.
> > Linking CXX executable ../../../../bin/lldb-platform
> > ../../../../lib/liblldb.so.3.5: undefined reference to
> > `llvm::SmallPtrSetImpl::SmallPtrSetImpl(void const**, unsigned int,
> > llvm::SmallPtrSetImpl&&)'
> > clang: error: linker command failed with exit code 1 (use -v to see
> > invocation)
> >
> > =========
> >
> > Not big yet on C++ and wondering if anyone else has seen this output?
> >
> > - Marc
> >
> >
> > --
> > Marc J. Driftmeyer
> > Email :: mjd at reanimality.com
> > Web :: http://www.reanimality.com
> > Cell :: (509) 435-5212
> >
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> >
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131126/5159cc05/attachment.html>


More information about the llvm-dev mailing list