Skip to content

Unexpected failing test pbump2gig.pass.cpp in libc++ for 6.0-rc2 #35721

@llvmbot

Description

@llvmbot
Bugzilla Link 36373
Resolution FIXED
Resolved on Feb 15, 2018 00:22
Version 6.0
OS Linux
Blocks #35152
Reporter LLVM Bugzilla Contributor
CC @zmodem,@mclow

Extended Description

On a big endian mips64 system, the test-release.sh reports a failure in pbump2gig.pass.cpp. This test failure did not occur on a little endian mips64 system. In both cases the binaries were compiled for mips32(el) as appropriate.

Reported test output:

Compiled With: ['/home/sdardis/releases/6.0.0/release/rc2/Phase2/Release/llvmCore-6.0.0-rc2.install/usr/local/bin/clang++', '-o', '/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/projects/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/Output/pbump2gig.pass.cpp.o', '-x', 'c++', '/home/sdardis/releases/6.0.0/release/rc2/llvm.src/projects/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/pbump2gig.pass.cpp', '-c', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-Werror=thread-safety', '-std=c++2a', '-include', '/home/sdardis/releases/6.0.0/release/rc2/llvm.src/projects/libcxx/test/support/nasty_macros.hpp', '-nostdinc++', '-I/home/sdardis/releases/6.0.0/release/rc2/llvm.src/projects/libcxx/include', '-I/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/projects/libcxx/include/c++build', '-D__STDC_FORMAT_MACROS', '-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-I/home/sdardis/releases/6.0.0/release/rc2/llvm.src/projects/libcxx/test/support', '-DLIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/sdardis/releases/6.0.0/release/rc2/llvm.src/projects/libcxx/test/std/experimental/filesystem/Inputs/static_test_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/projects/libcxx/test/filesystem/Output/dynamic_env"', '-DLIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python2.7 /home/sdardis/releases/6.0.0/release/rc2/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', '-Wno-#warnings', '-c', '&&', '/home/sdardis/releases/6.0.0/release/rc2/Phase2/Release/llvmCore-6.0.0-rc2.install/usr/local/bin/clang++', '-o', '/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/projects/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/Output/pbump2gig.pass.cpp.exe', '/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/projects/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/Output/pbump2gig.pass.cpp.o', '-v', '-D_LIBCPP_DISABLE_AVAILABILITY', '-ftemplate-depth=270', '-L/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/./lib', '-Wl,-rpath,/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/./lib', '-nodefaultlibs', '-lc++experimental', '-lc++', '-lm', '-lgcc_s', '-lgcc', '-lpthread', '-lc', '-lgcc_s', '-lgcc']
Command: ['/home/sdardis/releases/6.0.0/release/rc2/Phase3/Release/llvmCore-6.0.0-rc2.obj/projects/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.put.area/Output/pbump2gig.pass.cpp.exe']
Exit Code: -6
Standard Error:

terminating with uncaught exception of type std::length_error: basic_string

Metadata

Metadata

Assignees

Labels

bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions