[lldb-dev] New Failure TestCallStdStringFunction.test_with_dwarf just started failing in top-of-tree
Pavel Labath
labath at google.com
Wed Mar 11 08:47:15 PDT 2015
So the problem seems to be related to -fstandalone-debug (at least one part
of it). Right now there is a problem, where -fstandalone-debug and
libstdc++-dbg cannot coexists for whatever reason:
-fstandalone-debug, libstdc++-dbg uninstalled -> test works fine
-fno-standalone-debug, libstdc++-dbg installed -> test works fine
-fno-standalone-debug, libstdc++-dbg uninstalled -> failure, cannot find
std::string definition [as expected]
-fstandalone-debug, libstdc++-dbg installed -> failure, for whatever reason
we end up calling std::random_device::_M_init() instead of
std::string::c_str() [bad]
On 11 March 2015 at 12:23, Pavel Labath <labath at google.com> wrote:
> I don't think this is related to clang-3.4. I'm getting failures here even
> with clang-3.5. Interestingly the failures are more common on the debug
> build of lldb (fails almost always for me), that on the release build
> (failed after 60 attempts).
>
> On 10 March 2015 at 00:31, Vince Harron <vharron at google.com> wrote:
>
>> Hi all,
>>
>> Since this failure is only seen on the builder using clang-3.4, I'm
>> willing to bet that this is clang-3.4 specific? I don't really care about
>> clang-3.4. How does everyone feel about just updating he compiler on that
>> buildbot?
>>
>> Something like:
>>
>> sudo apt-get install clang-3.5
>>
>> And then whatever is needed to get configure to pickup /usr/bin/clang-3.5
>>
>> CC=clang-3.5
>> ?
>>
>> Vince
>>
>>
>>
>> On Mon, Mar 9, 2015 at 2:41 PM, Vince Harron <vharron at google.com> wrote:
>>
>>> http://lab.llvm.org:8011/builders/lldb-x86_64-debian-clang/builds/4076
>>>
>>> Possible problem CLs: d0k, gclayton, alexfh
>>>
>>>
>>> ======================================================================
>>> FAIL: test_with_dwarf
>>> (TestCallStdStringFunction.ExprCommandCallFunctionTestCase)
>>> Test calling std::String member function.
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 473, in wrapper
>>> return func(self, *args, **kwargs)
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 537, in wrapper
>>> func(*args, **kwargs)
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 537, in wrapper
>>> func(*args, **kwargs)
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 537, in wrapper
>>> func(*args, **kwargs)
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 537, in wrapper
>>> func(*args, **kwargs)
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/expression_command/call-function/TestCallStdStringFunction.py",
>>> line 37, in test_with_dwarf
>>> self.call_function()
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/expression_command/call-function/TestCallStdStringFunction.py",
>>> line 54, in call_function
>>> substrs = ['Hello world'])
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 2036, in expect
>>> self.runCmd(str, msg=msg, trace = (True if trace else False), check
>>> = not error, inHistory=inHistory)
>>> File
>>> "/home/llvmbb/llvm-build-dir/lldb-x86_64-clang-ubuntu-14.04/llvm.src/tools/lldb/test/lldbtest.py",
>>> line 1962, in runCmd
>>> msg if msg else CMD_MSG(cmd))
>>> AssertionError: False is not True : Command 'print str.c_str()' returns
>>> successfully
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Vince Harron | Technical Lead Manager | vharron at google.com |
>>> 858-442-0868
>>>
>>
>>
>>
>> --
>>
>> Vince Harron | Technical Lead Manager | vharron at google.com | 858-442-0868
>>
>> _______________________________________________
>> 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/20150311/1e07b470/attachment.html>
More information about the lldb-dev
mailing list