1 | log showing the errors. |
---|
2 | 1/Sep/2019 |
---|
3 | |
---|
4 | [ 34%] Building CXX object projects/compiler-rt/lib/xray/CMakeFiles/RTXrayFDR.osx.dir/xray_fdr_logging.cc.o |
---|
5 | cd /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/build/projects/compiler-rt/lib/xray && /usr/bin/clang++ -DXRAY_HAS_EXCEPTIONS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/build/projects/compiler-rt/lib/xray -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray -I//opt/local/include/libxml2 -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/build/include -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/include -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/.. -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/../../include -pipe -Os -std=c++11 -stdlib=libc++ -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++11 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Wall -std=c++11 -Wno-unused-parameter -DNDEBUG -arch x86_64 -arch x86_64h -stdlib=libc++ -mmacosx-version-min=10.9 -isysroot / -fPIC -fno-builtin -fno-exceptions -funwind-tables -fno-stack-protector -fno-sanitize=safe-stack -fvisibility=hidden -fno-lto -O3 -gline-tables-only -Wno-gnu -Wno-variadic-macros -Wno-c99-extensions -Wno-non-virtual-dtor -fno-rtti -o CMakeFiles/RTXrayFDR.osx.dir/xray_fdr_logging.cc.o -c /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/xray_fdr_logging.cc |
---|
6 | In file included from /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/xray_fdr_logging.cc:35: |
---|
7 | /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/xray_fdr_controller.h:30:26: error: C++ requires a type specifier for all declarations |
---|
8 | int (*WallClockReader)(clockid_t, struct timespec *) = 0; |
---|
9 | ^ |
---|
10 | /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/xray_fdr_controller.h:81:21: error: use of undeclared identifier 'CLOCK_MONOTONIC' |
---|
11 | WallClockReader(CLOCK_MONOTONIC, &TS); |
---|
12 | ^ |
---|
13 | /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/xray_fdr_logging.cc:434:32: error: use of undeclared identifier 'CLOCK_REALTIME' |
---|
14 | int result = clock_gettime(CLOCK_REALTIME, &TS); |
---|
15 | ^ |
---|
16 | /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/llvm-8.0.0.src/projects/compiler-rt/lib/xray/xray_fdr_logging.cc:487:58: error: use of undeclared identifier 'clock_gettime' |
---|
17 | FDRController<>(TLD.BQ, TLD.Buffer, *TLD.Writer, clock_gettime, |
---|
18 | ^ |
---|
19 | 4 errors generated. |
---|
20 | make[2]: *** [projects/compiler-rt/lib/xray/CMakeFiles/RTXrayFDR.osx.dir/xray_fdr_logging.cc.o] Error 1 |
---|
21 | make[2]: Leaving directory `/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-8.0/clang-8.0/work/build' |
---|
22 | make[1]: *** [projects/compiler-rt/lib/xray/CMakeFiles/RTXrayFDR.osx.dir/all] Error 2 |
---|
23 | make[1]: *** Waiting for unfinished jobs.... |
---|