Skip to content

LLVM 3.1 compatibility issue #20467

Closed
@ritalin

Description

@ritalin
% make
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: good valgrind for x86_64-apple-darwin is 
cfg: using CC=clang (CFG_CC)
cfg: using CXX=clang++ (CFG_CXX)
cfg: enabling valgrind run-pass tests (CFG_ENABLE_VALGRIND_RPASS)
cfg: no lualatex found, deferring to xelatex
cfg: no xelatex found, deferring to pdflatex
cfg: no pdflatex found, disabling LaTeX docs
make: llvm
llvm[2]: Compiling CrashRecoveryContext.cpp for Release+Asserts build
In file included from /usr/local/Cellar/rust/nightly/src/llvm/lib/Support/CrashRecoveryContext.cpp:10:
/usr/local/Cellar/rust/nightly/src/llvm/include/llvm/Support/CrashRecoveryContext.h:169:3: error: only virtual member functions can be marked 'override'
  void recoverResources() override { delete this->resource; }
  ^                       ~~~~~~~~
/usr/local/Cellar/rust/nightly/src/llvm/include/llvm/Support/CrashRecoveryContext.h:182:3: error: only virtual member functions can be marked 'override'
  void recoverResources() override { this->resource->Release(); }
  ^                       ~~~~~~~~
2 errors generated.
make[2]: *** [/usr/local/Cellar/rust/nightly/x86_64-apple-darwin/llvm/lib/Support/Release+Asserts/CrashRecoveryContext.o] Error 1
make[1]: *** [all] Error 1
make: *** [/usr/local/Cellar/rust/nightly/x86_64-apple-darwin/llvm/Release+Asserts/bin/llvm-config] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions