Skip to content

Instantly share code, notes, and snippets.

Created January 20, 2017 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/1c1e85a154912f5d3479cc75a6e27aa1 to your computer and use it in GitHub Desktop.
Save anonymous/1c1e85a154912f5d3479cc75a6e27aa1 to your computer and use it in GitHub Desktop.
Determining if the include file malloc/malloc.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_03757"
[1/2] Building C object CMakeFiles/cmTC_03757.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_03757.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'malloc/malloc.h' file not found
#include <malloc/malloc.h>
^~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the include file ndir.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_6ebad"
[1/2] Building C object CMakeFiles/cmTC_6ebad.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_6ebad.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'ndir.h' file not found
#include <ndir.h>
^~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the include file sys/ndir.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_e7274"
[1/2] Building C object CMakeFiles/cmTC_e7274.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_e7274.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'sys/ndir.h' file not found
#include <sys/ndir.h>
^~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the include file valgrind/valgrind.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_1b52e"
[1/2] Building C object CMakeFiles/cmTC_1b52e.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_1b52e.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'valgrind/valgrind.h' file not found
#include <valgrind/valgrind.h>
^~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the include file mach/mach.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_5af13"
[1/2] Building C object CMakeFiles/cmTC_5af13.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_5af13.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'mach/mach.h' file not found
#include <mach/mach.h>
^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the include file histedit.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_58505"
[1/2] Building C object CMakeFiles/cmTC_58505.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_58505.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'histedit.h' file not found
#include <histedit.h>
^~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the include file CrashReporterClient.h exists failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_af66e"
[1/2] Building C object CMakeFiles/cmTC_af66e.dir/CheckIncludeFile.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_af66e.dir/CheckIncludeFile.c.o -c CheckIncludeFile.c
CheckIncludeFile.c:1:10: fatal error: 'CrashReporterClient.h' file not found
#include <CrashReporterClient.h>
^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
Determining if the pthread_create exist failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_d52ea"
[1/2] Building C object CMakeFiles/cmTC_d52ea.dir/CheckSymbolExists.c.o
[2/2] Linking C executable cmTC_d52ea
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang CMakeFiles/cmTC_d52ea.dir/CheckSymbolExists.c.o -o cmTC_d52ea -lm && :
CMakeFiles/cmTC_d52ea.dir/CheckSymbolExists.c.o: In function `main':
CheckSymbolExists.c:(.text+0x19): undefined reference to `pthread_create'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
File /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <pthread.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the function pthread_create exists in the pthreads failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_f4e57"
[1/2] Building C object CMakeFiles/cmTC_f4e57.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_f4e57
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -DCHECK_FUNCTION_EXISTS=pthread_create CMakeFiles/cmTC_f4e57.dir/CheckFunctionExists.c.o -o cmTC_f4e57 -lpthreads -lm && :
/usr/bin/ld: cannot find -lpthreads
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the function xar_open exists in the xar failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_5bc0f"
[1/2] Building C object CMakeFiles/cmTC_5bc0f.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_5bc0f
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -DCHECK_FUNCTION_EXISTS=xar_open CMakeFiles/cmTC_5bc0f.dir/CheckFunctionExists.c.o -o cmTC_5bc0f -lxar -lm && :
/usr/bin/ld: cannot find -lxar
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the arc4random exist failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_858d4"
[1/2] Building C object CMakeFiles/cmTC_858d4.dir/CheckSymbolExists.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_858d4.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:8:19: error: use of undeclared identifier 'arc4random'; did you mean 'srandom'?
return ((int*)(&arc4random))[argc];
^~~~~~~~~~
srandom
/usr/include/stdlib.h:324:13: note: 'srandom' declared here
extern void srandom (unsigned int __seed) __THROW;
^
1 error generated.
ninja: build stopped: subcommand failed.
File /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <stdlib.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef arc4random
return ((int*)(&arc4random))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the mallctl exist failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_1e2bd"
[1/2] Building C object CMakeFiles/cmTC_1e2bd.dir/CheckSymbolExists.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_1e2bd.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:2:10: fatal error: 'malloc_np.h' file not found
#include <malloc_np.h>
^~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
File /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <malloc_np.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef mallctl
return ((int*)(&mallctl))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the malloc_zone_statistics exist failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_779f1"
[1/2] Building C object CMakeFiles/cmTC_779f1.dir/CheckSymbolExists.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_779f1.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:2:10: fatal error: 'malloc/malloc.h' file not found
#include <malloc/malloc.h>
^~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
File /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <malloc/malloc.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef malloc_zone_statistics
return ((int*)(&malloc_zone_statistics))[argc];
#else
(void)argc;
return 0;
#endif
}
Determining if the strerror_s exist failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_e5a22"
[1/2] Building C object CMakeFiles/cmTC_e5a22.dir/CheckSymbolExists.c.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -o CMakeFiles/cmTC_e5a22.dir/CheckSymbolExists.c.o -c CheckSymbolExists.c
CheckSymbolExists.c:8:19: error: use of undeclared identifier 'strerror_s'
return ((int*)(&strerror_s))[argc];
^
1 error generated.
ninja: build stopped: subcommand failed.
File /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <string.h>
int main(int argc, char** argv)
{
(void)argv;
#ifndef strerror_s
return ((int*)(&strerror_s))[argc];
#else
(void)argc;
return 0;
#endif
}
Performing C++ SOURCE FILE Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_0ecf6"
[1/2] Building CXX object CMakeFiles/cmTC_0ecf6.dir/src.cxx.o
clang-3.8: warning: -Wl,-color-diagnostics: 'linker' input unused [-Wunused-command-line-argument]
[2/2] Linking CXX executable cmTC_0ecf6
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -DLINKER_SUPPORTS_COLOR_DIAGNOSTICS -Wl,-color-diagnostics CMakeFiles/cmTC_0ecf6.dir/src.cxx.o -o cmTC_0ecf6 -lm && :
/usr/bin/ld: cannot open linker script file olor-diagnostics: No such file or directory
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_WX_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_aaa76"
[1/2] Building CXX object CMakeFiles/cmTC_aaa76.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXXABI_HAS_WX_FLAG /WX -o CMakeFiles/cmTC_aaa76.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/WX'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_WX_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_c08fe"
[1/2] Building CXX object CMakeFiles/cmTC_c08fe.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXXABI_HAS_NO_WX_FLAG /WX- -o CMakeFiles/cmTC_c08fe.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/WX-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_EHSC_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_e6679"
[1/2] Building CXX object CMakeFiles/cmTC_e6679.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXXABI_HAS_EHSC_FLAG /EHsc -o CMakeFiles/cmTC_e6679.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/EHsc'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_EHS_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_7e49e"
[1/2] Building CXX object CMakeFiles/cmTC_7e49e.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXXABI_HAS_NO_EHS_FLAG /EHs- -o CMakeFiles/cmTC_7e49e.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/EHs-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_EHA_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_ab5d0"
[1/2] Building CXX object CMakeFiles/cmTC_ab5d0.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXXABI_HAS_NO_EHA_FLAG /EHa- -o CMakeFiles/cmTC_ab5d0.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/EHa-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXXABI_HAS_NO_GR_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_0581e"
[1/2] Building CXX object CMakeFiles/cmTC_0581e.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXXABI_HAS_NO_GR_FLAG /GR- -o CMakeFiles/cmTC_0581e.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/GR-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_58b94"
[1/2] Building CXX object CMakeFiles/cmTC_58b94.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_58b94
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAVE_CXX_ATOMICS_WITHOUT_LIB -nodefaultlibs -std=c++11 -nostdinc++ -isystem /usr/local/google/home/aizatsky/src/llvm/projects/libcxx/include -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters -Wl,-allow-shlib-undefined CMakeFiles/cmTC_58b94.dir/src.cxx.o -o cmTC_58b94 -lm -lc -lgcc_s && :
clang-3.8: warning: argument unused during compilation: '-nostdinc++' [-Wunused-command-line-argument]
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::GetNamedMappingFd(char const*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `GetNamedMappingFd':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::AdjustStackSize(void*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `my_pthread_attr_getstack':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::my_pthread_attr_getstack(void*, void**, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:110: undefined reference to `pthread_getattr_np'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::SetEnv(char const*, char const*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:123: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::InitTlsSize()':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:169: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_symbolizer_posix_libcdep.cc.o): In function `InitializeSwiftDemangler':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:78: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `findBaseAtOffset':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `isDerivedFromAtOffset':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:120: undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:120: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `__ubsan::checkDynamicType(void*, void*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: undefined reference to `typeinfo for std::type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `findBaseAtOffset':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:159: undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:159: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Source file was:
#include <cstdint>
#include <atomic>
std::atomic<uintptr_t> x;
std::atomic<uintmax_t> y;
int main() {
return x + y;
}
Determining if the function __atomic_fetch_add_8 exists in the atomic failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_4f219"
[1/2] Building C object CMakeFiles/cmTC_4f219.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_4f219
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DCHECK_FUNCTION_EXISTS=__atomic_fetch_add_8 -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters -Wl,-allow-shlib-undefined CMakeFiles/cmTC_4f219.dir/CheckFunctionExists.c.o -o cmTC_4f219 -latomic -lm -lc -lgcc_s && :
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::GetNamedMappingFd(char const*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `GetNamedMappingFd':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::AdjustStackSize(void*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `my_pthread_attr_getstack':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::my_pthread_attr_getstack(void*, void**, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:110: undefined reference to `pthread_getattr_np'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::SetEnv(char const*, char const*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:123: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::InitTlsSize()':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:169: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_symbolizer_posix_libcdep.cc.o): In function `InitializeSwiftDemangler':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:78: undefined reference to `dlsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Performing C++ SOURCE FILE Test LIBCXX_HAS_WX_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_cbfe8"
[1/2] Building CXX object CMakeFiles/cmTC_cbfe8.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAS_WX_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters /WX -o CMakeFiles/cmTC_cbfe8.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/WX'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_WX_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_db9ec"
[1/2] Building CXX object CMakeFiles/cmTC_db9ec.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAS_NO_WX_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters /WX- -o CMakeFiles/cmTC_db9ec.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/WX-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_EHSC_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_78145"
[1/2] Building CXX object CMakeFiles/cmTC_78145.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAS_EHSC_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters /EHsc -o CMakeFiles/cmTC_78145.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/EHsc'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_EHS_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_68849"
[1/2] Building CXX object CMakeFiles/cmTC_68849.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAS_NO_EHS_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters /EHs- -o CMakeFiles/cmTC_68849.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/EHs-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_EHA_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_5dbfd"
[1/2] Building CXX object CMakeFiles/cmTC_5dbfd.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAS_NO_EHA_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters /EHa- -o CMakeFiles/cmTC_5dbfd.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/EHa-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Performing C++ SOURCE FILE Test LIBCXX_HAS_NO_GR_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_e7252"
[1/2] Building CXX object CMakeFiles/cmTC_e7252.dir/src.cxx.o
FAILED: /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_HAS_NO_GR_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters /GR- -o CMakeFiles/cmTC_e7252.dir/src.cxx.o -c src.cxx
clang-3.8: error: no such file or directory: '/GR-'
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Determining if the function pthread_create exists in the pthread failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_fc728"
[1/2] Building C object CMakeFiles/cmTC_fc728.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_fc728
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DCHECK_FUNCTION_EXISTS=pthread_create -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters -Wl,-allow-shlib-undefined CMakeFiles/cmTC_fc728.dir/CheckFunctionExists.c.o -o cmTC_fc728 -lpthread -lm -lc -lgcc_s && :
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::GetNamedMappingFd(char const*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `GetNamedMappingFd':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::SetEnv(char const*, char const*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:123: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::InitTlsSize()':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:169: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_symbolizer_posix_libcdep.cc.o): In function `InitializeSwiftDemangler':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:78: undefined reference to `dlsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the function ccos exists in the m failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_bbf3f"
[1/2] Building C object CMakeFiles/cmTC_bbf3f.dir/CheckFunctionExists.c.o
/nix/store/f9ym8wi99gdxvyd5zjyxhmff88gr88wr-cmake-3.4.3/share/cmake-3.4/Modules/CheckFunctionExists.c:6:6: warning: incompatible redeclaration of library function 'ccos' [-Wincompatible-library-redeclaration]
char CHECK_FUNCTION_EXISTS();
^
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS ccos
^
/nix/store/f9ym8wi99gdxvyd5zjyxhmff88gr88wr-cmake-3.4.3/share/cmake-3.4/Modules/CheckFunctionExists.c:6:6: note: 'ccos' is a builtin with type '_Complex double (_Complex double)'
<command line>:1:31: note: expanded from here
#define CHECK_FUNCTION_EXISTS ccos
^
1 warning generated.
[2/2] Linking C executable cmTC_bbf3f
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DCHECK_FUNCTION_EXISTS=ccos -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters -Wl,-allow-shlib-undefined CMakeFiles/cmTC_bbf3f.dir/CheckFunctionExists.c.o -o cmTC_bbf3f -lm -lm -lc -lgcc_s && :
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::GetNamedMappingFd(char const*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `GetNamedMappingFd':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::AdjustStackSize(void*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `my_pthread_attr_getstack':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::my_pthread_attr_getstack(void*, void**, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:110: undefined reference to `pthread_getattr_np'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::SetEnv(char const*, char const*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:123: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::InitTlsSize()':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:169: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_symbolizer_posix_libcdep.cc.o): In function `InitializeSwiftDemangler':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:78: undefined reference to `dlsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Determining if the function clock_gettime exists in the rt failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_a732e"
[1/2] Building C object CMakeFiles/cmTC_a732e.dir/CheckFunctionExists.c.o
[2/2] Linking C executable cmTC_a732e
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang -fPIC -Wall -W -Wno-unused-parameter -Wwrite-strings -Wmissing-field-initializers -pedantic -Wno-long-long -Wcovered-switch-default -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DCHECK_FUNCTION_EXISTS=clock_gettime -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters -Wl,-allow-shlib-undefined CMakeFiles/cmTC_a732e.dir/CheckFunctionExists.c.o -o cmTC_a732e -lrt -lm -lc -lgcc_s && :
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::AdjustStackSize(void*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `my_pthread_attr_getstack':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::my_pthread_attr_getstack(void*, void**, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:110: undefined reference to `pthread_getattr_np'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::SetEnv(char const*, char const*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:123: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::InitTlsSize()':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:169: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_symbolizer_posix_libcdep.cc.o): In function `InitializeSwiftDemangler':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:78: undefined reference to `dlsym'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Performing C++ SOURCE FILE Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG failed with the following output:
Change Dir: /usr/local/google/home/aizatsky/out/llvm/fuzzer/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/ninja" "cmTC_361dc"
[1/2] Building CXX object CMakeFiles/cmTC_361dc.dir/src.cxx.o
[2/2] Linking CXX executable cmTC_361dc
FAILED: : && /usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/clang++ -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wno-long-long -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=date-time -std=c++11 -fno-omit-frame-pointer -gline-tables-only -fsanitize=address -fsanitize-address-use-after-scope -fsanitize-coverage=trace-pc-guard,indirect-calls,trace-cmp -fcolor-diagnostics -ffunction-sections -fdata-sections -DLIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG -nodefaultlibs -fno-sanitize=all -fno-sanitize-coverage=edge,trace-cmp,indirect-calls,8bit-counters -Wl,-allow-shlib-undefined CMakeFiles/cmTC_361dc.dir/src.cxx.o -o cmTC_361dc -lm -lc -lgcc_s && :
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::GetNamedMappingFd(char const*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `GetNamedMappingFd':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:264: undefined reference to `shm_open'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:268: undefined reference to `shm_unlink'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::AdjustStackSize(void*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:337: undefined reference to `pthread_attr_setstacksize'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `my_pthread_attr_getstack':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_posix_libcdep.cc.o): In function `__sanitizer::my_pthread_attr_getstack(void*, void**, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_posix_libcdep.cc:318: undefined reference to `pthread_attr_getstack'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::GetThreadStackTopAndBottom(bool, unsigned long*, unsigned long*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:110: undefined reference to `pthread_getattr_np'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::SetEnv(char const*, char const*)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:123: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_linux_libcdep.cc.o): In function `__sanitizer::InitTlsSize()':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cc:169: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone-x86_64.a(sanitizer_symbolizer_posix_libcdep.cc.o): In function `InitializeSwiftDemangler':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cc:78: undefined reference to `dlsym'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `findBaseAtOffset':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `isDerivedFromAtOffset':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:120: undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:120: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:126: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:130: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `__ubsan::checkDynamicType(void*, void*, unsigned long)':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: undefined reference to `typeinfo for std::type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:233: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/out/llvm/bootstrap/bin/../lib/clang/5.0.0/lib/linux/libclang_rt.ubsan_standalone_cxx-x86_64.a(ubsan_type_hash_itanium.cc.o): In function `findBaseAtOffset':
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:159: undefined reference to `typeinfo for __cxxabiv1::__si_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:159: undefined reference to `typeinfo for __cxxabiv1::__class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:163: undefined reference to `__dynamic_cast'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `typeinfo for __cxxabiv1::__vmi_class_type_info'
/usr/local/google/home/aizatsky/src/llvm/projects/compiler-rt/lib/ubsan/ubsan_type_hash_itanium.cc:167: undefined reference to `__dynamic_cast'
clang-3.8: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
Source file was:
int main() { return 0; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment