Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: no member named 'ExecutorSymbolDef' in namespace 'llvm::orc' #537

Open
yonas opened this issue Feb 4, 2024 · 0 comments
Open

Error: no member named 'ExecutorSymbolDef' in namespace 'llvm::orc' #537

yonas opened this issue Feb 4, 2024 · 0 comments

Comments

@yonas
Copy link

yonas commented Feb 4, 2024

$ mkdir build ; cd build ; cmake -G Ninja .. ; ninja
...
[262/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/instr.cpp.o
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:883:32: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
    return ast<SuiteStmt>(LOC, move(stmts));
                               ^
                               std::
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:942:31: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
    return ast<PipeExpr>(LOC, move(v));
                              ^
                              std::
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:1326:38: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
    return ast<ChainBinaryExpr>(LOC, move(v));
                                     ^
                                     std::
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:1424:71: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
        args.push_back(Param(a->getSrcInfo(), a->lhs->getId()->value, move(a->type), move(a->rhs)));
                                                                      ^
                                                                      std::
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:1424:86: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
        args.push_back(Param(a->getSrcInfo(), a->lhs->getId()->value, move(a->type), move(a->rhs)));
                                                                                     ^
                                                                                     std::
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:1432:21: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
    ac<string>(V0), move(args), suite, vector<ExprPtr>{}, baseClasses
                    ^
                    std::
/usr/home/yonas/git/make-cd/files/codon/build/codon_rules.cpp:1628:27: warning: unqualified call to 'std::move' [-Wunqualified-std-cast-call]
            f, get<0>(t), move(get<1>(t)), get<2>(t), p.second, int(VS.tokens.size()), get<3>(t)
                          ^
                          std::
7 warnings generated.
[263/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/func.cpp.o
[264/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/flow.cpp.o
[265/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/constant.cpp.o
[266/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/base.cpp.o
[267/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/analyze/reaching.cpp.o
[268/376] Building CXX object CMakeFiles/codon_test.dir/test/cir/analyze/dominator.cpp.o
[269/376] Building CXX object CMakeFiles/codon_test.dir/test/main.cpp.o
[270/376] Building CXX object CMakeFiles/codon.dir/codon/app/main.cpp.o
samu: job failed with status 1: /usr/bin/c++  -I/usr/home/yonas/git/make-cd/files/codon/. -I/usr/local/llvm16/include -I/usr/home/yonas/git/make-cd/files/codon/build/_deps/fmt-src/include -pedantic -fvisibility-inlines-hidden -Wno-return-type-c-linkage -Wno-gnu-zero-variadic-macro-arguments -Wno-deprecated-declarations -O3 -std=gnu++17   -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -pthread -MD -MT CMakeFiles/codon.dir/codon/app/main.cpp.o -MF CMakeFiles/codon.dir/codon/app/main.cpp.o.d -o CMakeFiles/codon.dir/codon/app/main.cpp.o -c /usr/home/yonas/git/make-cd/files/codon/codon/app/main.cpp
In file included from /usr/home/yonas/git/make-cd/files/codon/codon/app/main.cpp:16:
In file included from /usr/home/yonas/git/make-cd/files/codon/./codon/compiler/jit.h:14:
/usr/home/yonas/git/make-cd/files/codon/./codon/compiler/engine.h:55:29: error: no member named 'ExecutorSymbolDef' in namespace 'llvm::orc'
  llvm::Expected<llvm::orc::ExecutorSymbolDef> lookup(llvm::StringRef name);
                 ~~~~~~~~~~~^
1 error generated.
samu: subcommand failed

OS: FreeBSD 14.0
codon: 927e430
c++: FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant