[lldb-dev] Fwd: ToT is broken for me

Eric Christopher echristo at gmail.com
Thu Oct 30 12:52:42 PDT 2014


Thanks.

-eric

On Thu Oct 30 2014 at 12:52:11 PM Zachary Turner <zturner at google.com> wrote:

> Actually it looks to me like this is a dead include.  The cpp file is not
> actually using anything from <codecvt> to begin with.  I'm going to just
> delete the #incldue line and check it in.
>
> On Thu Oct 30 2014 at 12:46:37 PM Zachary Turner <zturner at google.com>
> wrote:
>
>> That's what I thought at first too, but his command line indicates that
>> it's using clang.  Either way, we shouldn't be using codecvt for the
>> reasons you mention.  Is this a change that can be reverted until this gets
>> sorted out?  LLVM has support for converting between UTF8, UTF16, and I
>> believe UTF32, so that should probably be used instead.
>>
>> On Thu Oct 30 2014 at 12:40:07 PM Shawn Best <sbest at blueshiftinc.com>
>> wrote:
>>
>>>  I have not synced to top of tree recently, but if a recent checkin had
>>> a line like:
>>>
>>> #include <codecvt>
>>>
>>> it would break linux, or any build using gcc.  This is a cutting edge
>>> c++ 11 feature that is not implemented on all platforms.  Refer to the
>>> discussion on http://reviews.llvm.org/D5835 and also recent lldb-dev
>>> thread about the Editline Rewrite
>>>
>>>
>>>
>>> On 10/30/2014 11:52 AM, Doug Snyder wrote:
>>>
>>>
>>>  i'm getting the following error when i try to build ToT on Ubuntu:
>>>
>>>  [2409/2884] Building CXX object tools/lldb/source/
>>> DataFormatters/CMakeFiles/lldbDataFormatters.dir/StringPrinter.cpp.o
>>> FAILED: /usr/bin/ccache  clang++ -Qunused-arguments -fcolor-diagnostics
>>>  -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS
>>> -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -fPIC
>>> -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings
>>> -Wmissing-field-initializers -pedantic -Wno-long-long
>>> -Wcovered-switch-default -std=c++11 -fcolor-diagnostics -ffunction-sections
>>> -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas
>>> -Wno-deprecated-register  -fno-exceptions -fno-rtti -fPIC -O3 -DNDEBUG
>>> -Itools/lldb/source/DataFormatters -I/home/dsnyder/tot/llvm/
>>> tools/lldb/source/DataFormatters -I/home/dsnyder/tot/llvm/tools/lldb/include
>>> -Itools/lldb/include -Iinclude -I/home/dsnyder/tot/llvm/include
>>> -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
>>> -I/home/dsnyder/tot/llvm/tools/lldb/../clang/include
>>> -Itools/lldb/../clang/include -I/home/dsnyder/tot/llvm/tools/lldb/source/.
>>> -I/home/dsnyder/tot/llvm/tools/lldb/source/Plugins/Process/Linux
>>> -I/home/dsnyder/tot/llvm/tools/lldb/source/Plugins/Process/POSIX
>>>  -fno-exceptions -fno-rtti -MMD -MT tools/lldb/source/
>>> DataFormatters/CMakeFiles/lldbDataFormatters.dir/StringPrinter.cpp.o
>>> -MF "tools/lldb/source/DataFormatters/CMakeFiles/lldbDataFormatters.dir/StringPrinter.cpp.o.d"
>>> -o tools/lldb/source/DataFormatters/CMakeFiles/lldbDataFormatters.dir/StringPrinter.cpp.o
>>> -c /home/dsnyder/tot/llvm/tools/lldb/source/DataFormatters/
>>> StringPrinter.cpp
>>> /home/dsnyder/tot/llvm/tools/lldb/source/DataFormatters/StringPrinter.cpp:19:10:
>>> fatal error: 'codecvt' file not found
>>> #include <codecvt>
>>>          ^
>>> 1 error generated.
>>>
>>>
>>>
>>>  is anyone else seeing this?
>>> i wasn't having this problem yesterday
>>>
>>>  thanks,
>>> doug
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> lldb-dev mailing listlldb-dev at cs.uiuc.eduhttp://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>>
>>>
>>>  _______________________________________________
>>> lldb-dev mailing list
>>> lldb-dev at cs.uiuc.edu
>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>>
>> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20141030/03393dc6/attachment.html>


More information about the lldb-dev mailing list