[compiler-rt] [compiler-rt][nfc] DenseMap needs placement new (PR #133329)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 27 22:13:55 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux` running on `sanitizer-buildbot1` while building `compiler-rt` at step 2 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/11827
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
-- Configuring done (14.6s)
-- Generating done (0.3s)
CMake Warning:
Manually-specified variables were not used by the project:
LIBCXX_HAS_GCC_S_LIB
-- Build files have been written to: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/msan/libcxx_msan_x86_64/build
[45/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp:14:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/iostream:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/ostream:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/ios:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/exception:166:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/exception_ptr.h:38:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[47/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m32 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include/gtest/gtest.h:54:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/iomanip:42:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/ios_base.h:41:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/locale_classes.h:40:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/string:43:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/i686-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[48/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include/gtest/gtest.h:54:
Step 9 (test compiler-rt symbolizer) failure: test compiler-rt symbolizer (failure)
...
-- Performing Test CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Configuring done (14.6s)
-- Generating done (0.3s)
CMake Warning:
Manually-specified variables were not used by the project:
LIBCXX_HAS_GCC_S_LIB
-- Build files have been written to: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/msan/libcxx_msan_x86_64/build
[45/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp:14:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/iostream:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/ostream:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/ios:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/exception:166:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/exception_ptr.h:38:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[47/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m32 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include/gtest/gtest.h:54:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/iomanip:42:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/ios_base.h:41:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/locale_classes.h:40:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/string:43:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/i686-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[48/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include/gtest/gtest.h:54:
Step 11 (test compiler-rt debug) failure: test compiler-rt debug (failure)
...
-- Performing Test CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Configuring done (5.4s)
-- Generating done (0.1s)
CMake Warning:
Manually-specified variables were not used by the project:
LIBCXX_HAS_GCC_S_LIB
-- Build files have been written to: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/msan/libcxx_msan_x86_64/build
[44/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_lzw_test.cpp.i386.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_lzw_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_lzw_test.cpp.i386.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -DSANITIZER_DEBUG=1 -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m32 -c -o SANITIZER_TEST_OBJECTS.sanitizer_lzw_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_lzw_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_lzw_test.cpp:10:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/algorithm:61:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/stl_algo.h:69:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/stl_tempbuf.h:59:
/usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[48/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -DSANITIZER_DEBUG=1 -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include/gtest/gtest.h:54:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/iomanip:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/ios_base.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/locale_classes.h:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/string:43:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/x86_64-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[51/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.i386.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.i386.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -DSANITIZER_DEBUG=1 -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m32 -c -o SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp:12:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/map:62:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/stl_tree.h:64:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/allocator.h:46:
Step 14 (test compiler-rt default) failure: test compiler-rt default (failure)
...
-- Could NOT find LLVM (missing: LLVM_DIR)
-- Could NOT find Clang (missing: Clang_DIR)
-- LLVM host triple: x86_64-unknown-linux-gnu
-- LLVM default target triple: x86_64-unknown-linux-gnu
-- Using libc++abi testing configuration: /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxxabi/test/configs/llvm-libc++abi-static.cfg.in
-- Using libc++ testing configuration: /home/b/sanitizer-x86_64-linux/build/llvm-project/libcxx/test/configs/llvm-libc++-static.cfg.in
-- Configuring done (1.4s)
-- Generating done (1.6s)
-- Build files have been written to: /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/fuzzer/libcxx_fuzzer_x86_64/build
[35/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m32 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.i386.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include/gtest/gtest.h:54:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/iomanip:42:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/ios_base.h:41:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/locale_classes.h:40:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/string:43:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/i686-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc-cross/i686-linux-gnu/14/../../../../i686-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[37/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_list_test.cpp.x86_64.o
[38/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_block_signals.cpp.x86_64.o
[39/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_chained_origin_depot_test.cpp.x86_64.o
[40/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_hash_test.cpp.x86_64.o
[41/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_module_uuid_size.cpp.x86_64.o
[42/397] Generating SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o
FAILED: compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/build_default/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/./bin/clang++ -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/runtimes/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp:12:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/map:62:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/stl_tree.h:64:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/x86_64-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
Step 16 (test standalone compiler-rt) failure: test standalone compiler-rt (failure)
...
-- Looking for __atomic_fetch_add_8 in atomic
-- Looking for __atomic_fetch_add_8 in atomic - found
-- Performing Test CXX_SUPPORTS_FALIGNED_ALLOCATION_FLAG
-- Performing Test CXX_SUPPORTS_FALIGNED_ALLOCATION_FLAG - Success
-- Performing Test CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test CXX_SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Configuring done (21.5s)
-- Generating done (0.4s)
-- Build files have been written to: /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/msan/libcxx_msan_x86_64/build
[26/232] Generating SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o
FAILED: lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/bin/clang++ -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_dense_map_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_dense_map_test.cpp:12:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/map:62:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/stl_tree.h:64:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/x86_64-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[32/232] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
FAILED: lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/bin/clang++ -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_arg_retval_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_arg_retval_test.cpp:14:
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest/include/gtest/gtest.h:54:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/iomanip:42:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/ios_base.h:41:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/locale_classes.h:40:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/string:43:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/allocator.h:46:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/x86_64-linux-gnu/bits/c++allocator.h:33:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/bits/new_allocator.h:34:
/usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/new:179:33: error: exception specification in declaration does not match previous declaration
179 | _GLIBCXX_NODISCARD inline void* operator new(std::size_t, void* __p) _GLIBCXX_USE_NOEXCEPT
| ^
/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/sanitizer_placement_new.h:20:14: note: previous declaration is here
20 | inline void *operator new(__sanitizer::usize sz, void *p) { return p; }
| ^
1 error generated.
[43/232] Generating SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o
FAILED: lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/sanitizer_common/tests/SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o
cd /home/b/sanitizer-x86_64-linux/build/compiler_rt_build/lib/sanitizer_common/tests && /home/b/sanitizer-x86_64-linux/build/build_default/bin/clang++ -Wall -Werror -Wno-unused-parameter -Wno-unknown-warning-option -Wthread-safety -Wthread-safety-reference -Wthread-safety-beta -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -g -Wno-covered-switch-default -Wno-suggest-override -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googletest -DGTEST_NO_LLVM_SUPPORT=1 -DGTEST_HAS_RTTI=0 -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googlemock/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/../third-party/unittest/googlemock -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/include -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib -I/home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common -DSANITIZER_COMMON_NO_REDEFINE_BUILTINS -fno-rtti -O2 -Werror=sign-compare -Wno-gnu-zero-variadic-macro-arguments -gline-tables-only -m64 -c -o SANITIZER_TEST_OBJECTS.sanitizer_thread_registry_test.cpp.x86_64.o /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp
In file included from /home/b/sanitizer-x86_64-linux/build/llvm-project/compiler-rt/lib/sanitizer_common/tests/sanitizer_thread_registry_test.cpp:14:
In file included from /usr/lib/gcc/x86_64-linux-gnu/14/../../../../x86_64-linux-gnu/include/c++/14/iostream:41:
```
</details>
https://github.com/llvm/llvm-project/pull/133329
More information about the llvm-commits
mailing list