[llvm-bugs] [Bug 38473] New: 7.0.0 rc1: 16 libc++ tests failing on macOS/x86_64 (Exit Code: -11)

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 7 13:21:18 PDT 2018


https://bugs.llvm.org/show_bug.cgi?id=38473

            Bug ID: 38473
           Summary: 7.0.0 rc1: 16 libc++ tests failing on macOS/x86_64
                    (Exit Code: -11)
           Product: libc++
           Version: 7.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: vsk at apple.com
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com

These tests all fail in what looks to be the same way:

    libc++ ::
std/language.support/support.exception/except.nested/assign.pass.cpp
    libc++ ::
std/language.support/support.exception/except.nested/ctor_copy.pass.cpp
    libc++ ::
std/language.support/support.exception/except.nested/ctor_default.pass.cpp
    libc++ ::
std/language.support/support.exception/except.nested/rethrow_if_nested.pass.cpp
    libc++ ::
std/language.support/support.exception/except.nested/rethrow_nested.pass.cpp
    libc++ ::
std/language.support/support.exception/propagation/make_exception_ptr.pass.cpp
    libc++ ::
std/language.support/support.exception/propagation/rethrow_exception.pass.cpp
    libc++ :: std/thread/futures/futures.async/async.pass.cpp
    libc++ :: std/thread/futures/futures.promise/dtor.pass.cpp
    libc++ :: std/thread/futures/futures.promise/set_exception.pass.cpp
    libc++ ::
std/thread/futures/futures.promise/set_exception_at_thread_exit.pass.cpp
    libc++ :: std/thread/futures/futures.shared_future/get.pass.cpp
    libc++ ::
std/thread/futures/futures.task/futures.task.members/dtor.pass.cpp
    libc++ ::
std/thread/futures/futures.task/futures.task.members/make_ready_at_thread_exit.pass.cpp
    libc++ ::
std/thread/futures/futures.task/futures.task.members/operator.pass.cpp
    libc++ :: std/thread/futures/futures.unique_future/get.pass.cpp

To reproduce the failure, I did:

$ export MACOSX_DEPLOYMENT_TARGET="10.9"
$ ./llvm/utils/release/test-release.sh -release 7.0.0 -rc 1 -triple
x86_64-apple-darwin -no-compare-files -j20

Here's a sample failure:

FAIL: libc++ ::
std/language.support/support.exception/except.nested/assign.pass.cpp (49834 of
54980)
******************** TEST 'libc++ ::
std/language.support/support.exception/except.nested/assign.pass.cpp' FAILED
********************
Compiled With:
['/Users/vsk/src/llvm.org-master/rc1/Phase2/Release/llvmCore-7.0.0-rc1.install/usr/local/bin/clang++',
'-o',
'/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/projects/libcxx/test/std/language.support/support.exception/except.nested/Output/assign.pass.cpp.o',
'-x', 'c++',
'/Users/vsk/src/llvm.org-master/rc1/llvm.src/projects/libcxx/test/std/language.support/support.exception/except.nested/assign.pass.cpp',
'-c', '-v', '-arch', 'x86_64', '-mmacosx-version-min=10.13',
'-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270',
'-Werror=thread-safety', '-std=c++2a', '-include',
'/Users/vsk/src/llvm.org-master/rc1/llvm.src/projects/libcxx/test/support/nasty_macros.hpp',
'-nostdinc++',
'-I/Users/vsk/src/llvm.org-master/rc1/llvm.src/projects/libcxx/include',
'-I/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/projects/libcxx/include/c++build',
'-isysroot',
'/Volumes/Xcode10A230a_m18A350_i16A343_t16J338_w16R338a_b16P349_XcodeInternals_32bitSupport_FastSim_Boost_ASan_36GB/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk',
'-I/Users/vsk/src/llvm.org-master/rc1/llvm.src/projects/libcxx/test/support',
'-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/Users/vsk/src/llvm.org-master/rc1/llvm.src/projects/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"',
'-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/projects/libcxx/test/filesystem/Output/dynamic_env"',
'-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
/Users/vsk/src/llvm.org-master/rc1/llvm.src/projects/libcxx/test/support/filesystem_dynamic_test_helper.py"',
'-D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER', '-Wall', '-Wextra', '-Werror',
'-Wuser-defined-warnings', '-Wshadow', '-Wno-unused-command-line-argument',
'-Wno-attributes', '-Wno-pessimizing-move', '-Wno-c++11-extensions',
'-Wno-user-defined-literals', '-Wno-noexcept-type',
'-Wno-aligned-allocation-unavailable', '-Wsign-compare', '-Wunused-variable',
'-Wunused-parameter', '-Wunreachable-code', '-Wno-conversion',
'-Wno-unused-local-typedef', '-c', '&&',
'/Users/vsk/src/llvm.org-master/rc1/Phase2/Release/llvmCore-7.0.0-rc1.install/usr/local/bin/clang++',
'-o',
'/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/projects/libcxx/test/std/language.support/support.exception/except.nested/Output/assign.pass.cpp.exe',
'/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/projects/libcxx/test/std/language.support/support.exception/except.nested/Output/assign.pass.cpp.o',
'-v', '-arch', 'x86_64', '-mmacosx-version-min=10.13',
'-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270',
'-L/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/./lib',
'-Wl,-rpath,/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/./lib',
'-nodefaultlibs', '-lc++experimental', '-lc++fs', '-lc++', '-lSystem']
Command:
['/Users/vsk/src/llvm.org-master/rc1/Phase3/Release/llvmCore-7.0.0-rc1.obj/projects/libcxx/test/std/language.support/support.exception/except.nested/Output/assign.pass.cpp.exe']
Exit Code: -11

In this case, assign.pass.cpp.exe does not exist. The directory it's supposed
to be in exists and is empty.

If I strip out the single-quotes, perform the compile+link steps manually, and
run assign.pass.cpp.exe it passes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180807/4dff789d/attachment.html>


More information about the llvm-bugs mailing list