<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Libcxx tests fail on Linux"
href="https://bugs.llvm.org/show_bug.cgi?id=39955">39955</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Libcxx tests fail on Linux
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>martongabesz@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Ubuntu 16.04, x86_64
There are 3 failing LLDB/libcxx tests on Linux:
lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py
Steps to reproduce:
* Checkout libcxx, libcxxabi
* ninja cxx cxxabi
* sudo ninja install-cxx install-cxxabi
* ninja check-lldb
FAIL: lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py
(264 of 1400)
******************** TEST 'lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.py'
FAILED ********************
lldb version 8.0.0 (<a href="https://llvm.org/svn/llvm-project/lldb/trunk">https://llvm.org/svn/llvm-project/lldb/trunk</a> revision
348711)
clang revision 348755
llvm revision 348757
LLDB library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
LLDB import library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
The 'lldb-vscode' executable cannot be located. The lldb-vscode tests can not
be run as a result.
Skipping following debug info categories: ['dsym', 'gmodules']
Session logs for test failures/errors/unexpected successes will go into
directory '/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces'
Command invoked: /home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/test/dotest.py -q
--arch=x86_64 -s /home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces
--build-dir
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex -S nm -u
CXXFLAGS -u CFLAGS --executable
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/lldb --dsymutil
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/dsymutil --filecheck
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/FileCheck -C
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/clang --env
ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop
-p TestDataFormatterLibcxxListLoop.py
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_with_run_command
(TestDataFormatterLibcxxListLoop.LibcxxListDataFormatterTestCase)
======================================================================
ERROR: test_with_run_command
(TestDataFormatterLibcxxListLoop.LibcxxListDataFormatterTestCase)
----------------------------------------------------------------------
Error when building test subject.
Build Command:
make
VPATH=/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop
-C
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/TestDataFormatterLibcxxListLoop.test_with_run_command
-I
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop
-f
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/Makefile
all ARCH=x86_64 CC="/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8"
Build Command Output:
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp:19:24:
error: no member named '__value_' in 'std::__1::__list_node_base<int, void *>'
assert(third_elem->__value_ == 3);
~~~~~~~~~~ ^
/usr/include/assert.h:89:5: note: expanded from macro 'assert'
((expr) \
^~~~
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop/main.cpp:21:24:
error: no member named '__value_' in 'std::__1::__list_node_base<int, void *>'
assert(fifth_elem->__value_ == 5);
~~~~~~~~~~ ^
/usr/include/assert.h:89:5: note: expanded from macro 'assert'
((expr) \
^~~~
2 errors generated.
make: *** [main.o] Error 1
Test Directory:
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/loop
----------------------------------------------------------------------
Ran 1 test in 0.955s
RESULT: FAILED (0 passes, 0 failures, 1 errors, 0 skipped, 0 expected failures,
0 unexpected successes)
********************
FAIL: lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py
(265 of 1400)
******************** TEST 'lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/function/TestLibCxxFunction.py'
FAILED ********************
lldb version 8.0.0 (<a href="https://llvm.org/svn/llvm-project/lldb/trunk">https://llvm.org/svn/llvm-project/lldb/trunk</a> revision
348711)
clang revision 348755
llvm revision 348757
Session logs for test failures/errors/unexpected successes will go into
directory '/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces'
Command invoked: /home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/test/dotest.py -q
--arch=x86_64 -s /home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces
--build-dir
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex -S nm -u
CXXFLAGS -u CFLAGS --executable
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/lldb --dsymutil
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/dsymutil --filecheck
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/FileCheck -C
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/clang --env
ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/function
-p TestLibCxxFunction.py
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) :: test_dsym
(TestLibCxxFunction.LibCxxFunctionTestCase) (test case does not fall in any
category of interest for this run)
********************
FAIL: lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py
(277 of 1400)
******************** TEST 'lldb-Suite ::
functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.py'
FAILED ********************
lldb version 8.0.0 (<a href="https://llvm.org/svn/llvm-project/lldb/trunk">https://llvm.org/svn/llvm-project/lldb/trunk</a> revision
348711)
clang revision 348755
llvm revision 348757
LLDB library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
LLDB import library dir: /home/egbomrt/WORK/llvm3/build/release_assert/bin
The 'lldb-vscode' executable cannot be located. The lldb-vscode tests can not
be run as a result.
Skipping following debug info categories: ['dsym', 'gmodules']
Session logs for test failures/errors/unexpected successes will go into
directory '/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces'
Command invoked: /home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/test/dotest.py -q
--arch=x86_64 -s /home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-traces
--build-dir
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex -S nm -u
CXXFLAGS -u CFLAGS --executable
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/lldb --dsymutil
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/dsymutil --filecheck
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/FileCheck -C
/home/egbomrt/WORK/llvm3/build/release_assert/./bin/clang --env
ARCHIVER=/usr/bin/ar --env OBJCOPY=/usr/bin/objcopy
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
-p TestDataFormatterLibcxxVariant.py
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_with_run_command_dsym
(TestDataFormatterLibcxxVariant.LibcxxVariantDataFormatterTestCase) (test case
does not fall in any category of interest for this run)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_with_run_command_dwarf
(TestDataFormatterLibcxxVariant.LibcxxVariantDataFormatterTestCase)
FAIL: LLDB (/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64)
:: test_with_run_command_dwo
(TestDataFormatterLibcxxVariant.LibcxxVariantDataFormatterTestCase)
UNSUPPORTED: LLDB
(/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8-x86_64) ::
test_with_run_command_gmodules
(TestDataFormatterLibcxxVariant.LibcxxVariantDataFormatterTestCase) (test case
does not fall in any category of interest for this run)
======================================================================
ERROR: test_with_run_command_dwarf
(TestDataFormatterLibcxxVariant.LibcxxVariantDataFormatterTestCase)
Test that that file and class static variables display correctly.
----------------------------------------------------------------------
Error when building test subject.
Build Command:
make
VPATH=/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
-C
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.test_with_run_command_dwarf
-I
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
-f
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant/Makefile
MAKE_DSYM=NO ARCH=x86_64
CC="/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8"
Build Command Output:
main.o: In function `std::__1::__throw_bad_variant_access()':
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
main.o: In function `bad_variant_access':
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:221:
undefined reference to `vtable for std::bad_variant_access'
clang-8: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [a.out] Error 1
Test Directory:
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
======================================================================
ERROR: test_with_run_command_dwo
(TestDataFormatterLibcxxVariant.LibcxxVariantDataFormatterTestCase)
Test that that file and class static variables display correctly.
----------------------------------------------------------------------
Error when building test subject.
Build Command:
make
VPATH=/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
-C
/home/egbomrt/WORK/llvm3/build/release_assert/lldb-test-build.noindex/functionalities/data-formatter/data-formatter-stl/libcxx/variant/TestDataFormatterLibcxxVariant.test_with_run_command_dwo
-I
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
-f
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant/Makefile
MAKE_DSYM=NO MAKE_DWO=YES ARCH=x86_64
CC="/home/egbomrt/WORK/llvm3/build/release_assert/bin/clang-8"
Build Command Output:
main.o: In function `__throw_bad_variant_access':
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:236:
undefined reference to `typeinfo for std::bad_variant_access'
main.o: In function `std::bad_variant_access::bad_variant_access()':
/home/egbomrt/WORK/llvm3/build/release_assert/bin/../include/c++/v1/variant:221:
undefined reference to `vtable for std::bad_variant_access'
clang-8: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [a.out] Error 1
Test Directory:
/home/egbomrt/WORK/llvm3/git/llvm/tools/lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/variant
----------------------------------------------------------------------
Ran 4 tests in 4.160s
RESULT: FAILED (0 passes, 0 failures, 2 errors, 2 skipped, 0 expected failures,
0 unexpected successes)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>