Project

General

Profile

Actions

Bug #2947

closed

error: 'HostNativeThread' does not name a type while building LLVM port

Added by rafaelbfs over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Build
Target version:
-
Start date:
08/27/2016
Due date:
% Done:

0%

Estimated time:

Description

The following error happens after configuring clang-devel and starting make install. The same was found while attempting to build LLVM ports, they stop because of the same error.

===> Staging for clang-devel-3.8.d20150720_1
===> clang-devel-3.8.d20150720_1 depends on executable: clang-devel - not found
===> Building for llvm-devel-4.0.d20160816
[1/1012] Generating html Sphinx documentation for clang-tools into "/usr/obj/dports/devel/llvm-devel/.build/tools/clang/tools/extra/docs/html"
[2/1012] Generating man Sphinx documentation for clang-tools into "/usr/obj/dports/devel/llvm-devel/.build/tools/clang/tools/extra/docs/man"
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/cppcoreguidelines-pro-bounds-constant-array-index.rst:11: WARNING: unknown option: GslHeader
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/misc-assert-side-effect.rst:14: WARNING: unknown option: AssertMacros
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/misc-assert-side-effect.rst:16: WARNING: unknown option: CheckFunctionCalls
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/misc-throw-by-value-catch-by-reference.rst:8: WARNING: unknown option: CheckThrowTemporaries
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-use-nullptr.rst:43: WARNING: unknown option: UserNullMacros
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/modernize-use-nullptr.rst:67: WARNING: unknown option: UserNullMacros
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/readability-braces-around-statements.rst:27: WARNING: unknown option: ShortStatementLines
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/readability-function-size.rst:12: WARNING: unknown option: LineThreshold
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/readability-function-size.rst:14: WARNING: unknown option: StatementThreshold
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/tools/extra/docs/clang-tidy/checks/readability-function-size.rst:17: WARNING: unknown option: BranchThreshold
[3/1012] Generating html Sphinx documentation for clang into "/usr/obj/dports/devel/llvm-devel/.build/tools/clang/docs/html"
[4/1012] Running utility command for docs-clang-html
[5/1012] Generating man Sphinx documentation for clang into "/usr/obj/dports/devel/llvm-devel/.build/tools/clang/docs/man"
[6/1012] Generating html Sphinx documentation for lld into "/usr/obj/dports/devel/llvm-devel/.build/tools/lld/docs/html"
[7/1012] Building CXX object tools/lldb/source/Breakpoint/CMakeFiles/lldbBreakpoint.dir/Breakpoint.cpp.o
FAILED: tools/lldb/source/Breakpoint/CMakeFiles/lldbBreakpoint.dir/Breakpoint.cpp.o
/usr/bin/c++ -DGTEST_HAS_RTTI=0 -DHAVE_ROUND -DLIBXML2_DEFINED -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/lldb/source/Breakpoint -I/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/source/Breakpoint -I/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/include -Itools/lldb/include -Iinclude -I/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/include -I/usr/local/include -I/usr/local/include/python2.7 -I/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/clang/include -Itools/lldb/../clang/include -I/usr/local/include/libxml2 -I/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/source/. -pipe -isystem /usr/local/include -O2 -fno-strict-aliasing -isystem /usr/local/include -fPIC -fvisibility-inlines-hidden -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wno-maybe-uninitialized -Wdelete-non-virtual-dtor -Wno-comment -Werror=date-time -std=c++11 -ffunction-sections -fdata-sections -Wno-deprecated-declarations -Wno-unknown-pragmas -Wno-strict-aliasing -Wno-deprecated-register -Wno-vla-extension -fPIC -fPIC -pipe -isystem /usr/local/include -O2 -fno-strict-aliasing -isystem /usr/local/include -fno-exceptions -fno-rtti -MD -MT tools/lldb/source/Breakpoint/CMakeFiles/lldbBreakpoint.dir/Breakpoint.cpp.o -MF tools/lldb/source/Breakpoint/CMakeFiles/lldbBreakpoint.dir/Breakpoint.cpp.o.d -o tools/lldb/source/Breakpoint/CMakeFiles/lldbBreakpoint.dir/Breakpoint.cpp.o -c /usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/source/Breakpoint/Breakpoint.cpp
In file included from /usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/include/lldb/Host/Host.h:24:0,
from /usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/include/lldb/Target/ProcessLaunchInfo.h:19,
from /usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/include/lldb/Target/Target.h:35,
from /usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/source/Breakpoint/Breakpoint.cpp:32:
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/include/lldb/Host/HostThread.h:45:5: error: 'HostNativeThread' does not name a type
HostNativeThread &GetNativeThread();
^
/usr/obj/dports/devel/llvm-devel/llvm-9d30d1b1e5b26edc6229a78b8f0f21c6c7b5fc23/tools/lldb/include/lldb/Host/HostThread.h:46:11: error: 'HostNativeThread' does not name a type
const HostNativeThread &GetNativeThread() const;
^
cc1plus: warning: unrecognized command line option '-Wno-vla-extension'
cc1plus: warning: unrecognized command line option '-Wno-deprecated-register'
ninja: build stopped: subcommand failed.
  • Error code 1
Stop.
make2: stopped in /usr/dports/devel/llvm-devel
  • Error code 1
Stop.
make1: stopped in /usr/dports/devel/llvm-devel
  • Error code 1

Stop.
make: stopped in /usr/dports/lang/clang-devel

Actions #1

Updated by rafaelbfs over 7 years ago

Should I report it at LLVM bug tracker instead/as well?

Actions #2

Updated by zrj about 7 years ago

  • Status changed from New to Closed

Closing,

on DragonFly BSD the lldb component of llvm is not supported upstream.

Actions

Also available in: Atom PDF