-
Notifications
You must be signed in to change notification settings - Fork 15.1k
Closed as not planned
Labels
build-problemcompiler-rtobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM
Description
I am getting the following error during compilation. I am using the LLVM 9.0.1 release from github.com
gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)
COLLECT_GCC_OPTIONS='-o' '/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/libcxx/utilities/meta/Output/meta_base.pass.cpp.o' '-c' '-v' '-ftemplate-depth=270' '-std=c++2a' '-include' '/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/nasty_macros.hpp' '-nostdinc++' '-I' '/home/prashants/llvm/src/llvm-9.0.1/libcxx/include' '-I' '/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/include/c++build' '-D' '__STDC_FORMAT_MACROS' '-D' '__STDC_LIMIT_MACROS' '-D' '__STDC_CONSTANT_MACROS' '-I' '/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support' '-D' 'LIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/std/input.output/filesystems/Inputs/static_test_env"' '-D' 'LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/filesystem/Output/dynamic_env"' '-D' 'LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/filesystem_dynamic_test_helper.py"' '-c' '-shared-libgcc' '-mtune=generic' '-march=x86-64'
/usr/lib/gcc/x86_64-linux-gnu/9/cc1plus -quiet -nostdinc++ -v -I /home/prashants/llvm/src/llvm-9.0.1/libcxx/include -I /home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/include/c++build -I /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support -imultiarch x86_64-linux-gnu -D_GNU_SOURCE -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -D LIBCXX_FILESYSTEM_STATIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/std/input.output/filesystems/Inputs/static_test_env" -D LIBCXX_FILESYSTEM_DYNAMIC_TEST_ROOT="/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/filesystem/Output/dynamic_env" -D LIBCXX_FILESYSTEM_DYNAMIC_TEST_HELPER="/usr/bin/python /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/filesystem_dynamic_test_helper.py" -include /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support/nasty_macros.hpp /home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp -quiet -dumpbase meta_base.pass.cpp -mtune=generic -march=x86-64 -auxbase-strip /home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/test/libcxx/utilities/meta/Output/meta_base.pass.cpp.o -std=c++2a -version -ftemplate-depth=270 -fasynchronous-unwind-tables -fstack-protector-strong -Wformat -Wformat-security -fstack-clash-protection -fcf-protection -o /tmp/lit_tmp_KtInq1/ccqjakMh.s
GNU C++17 (Ubuntu 9.2.1-9ubuntu2) version 9.2.1 20191008 (x86_64-linux-gnu)
compiled by GNU C version 9.2.1 20191008, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory "/usr/lib/gcc/x86_64-linux-gnu/9/../../../../x86_64-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
/home/prashants/llvm/src/llvm-9.0.1/libcxx/include
/home/prashants/llvm/src/llvm-9.0.1/build/projects/libcxx/include/c++build
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/support
/usr/lib/gcc/x86_64-linux-gnu/9/include
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/9/include-fixed
/usr/include/x86_64-linux-gnu
/usr/include
End of search list.
GNU C++17 (Ubuntu 9.2.1-9ubuntu2) version 9.2.1 20191008 (x86_64-linux-gnu)
compiled by GNU C version 9.2.1 20191008, GMP version 6.1.2, MPFR version 4.0.2, MPC version 1.1.0, isl version isl-0.21-GMP
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 0b9b8169e2ec34ea6760fe47bcd8139b
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp: In function ‘void test_is_valid_trait()’:
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp:74:65: error: static assertion failed
74 | static_assert(std::_IsValidExpansion<HasFooData, MemberTest>::value, "");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp:77:66: error: static assertion failed
77 | static_assert(std::_IsValidExpansion<HasFooType, MemberTest2>::value, "");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
/home/prashants/llvm/src/llvm-9.0.1/libcxx/test/libcxx/utilities/meta/meta_base.pass.cpp:78:72: error: static assertion failed
78 | static_assert(std::_IsValidExpansion<FuncCallable, MemberTest, int>::value, "");
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
--
Compilation failed unexpectedly!
********************
Metadata
Metadata
Assignees
Labels
build-problemcompiler-rtobsoleteIssues with old (unsupported) versions of LLVMIssues with old (unsupported) versions of LLVM