Skip to content

master build on Ubuntu 18.04 fails in examples/Kaleidoscope #63

@ananthdurbha

Description

@ananthdurbha

FAILED: examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeFiles/BuildingAJIT-Ch2.dir/toy.cpp.o
/usr/bin/c++ -DGTEST_HAS_RTTI=0 -D_DEBUG -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iexamples/Kaleidoscope/BuildingAJIT/Chapter2 -I/home/ananth.durbha/Tools/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2 -Iinclude -I/home/ananth.durbha/Tools/llvm-project/llvm/include -fPIC -fvisibility-inlines-hidden -Werror=date-time -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -g -fno-exceptions -fno-rtti -std=c++14 -MD -MT examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeFiles/BuildingAJIT-Ch2.dir/toy.cpp.o -MF examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeFiles/BuildingAJIT-Ch2.dir/toy.cpp.o.d -o examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeFiles/BuildingAJIT-Ch2.dir/toy.cpp.o -c /home/ananth.durbha/Tools/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp
In file included from /home/ananth.durbha/Tools/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp:15:0:
/home/ananth.durbha/Tools/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h: In static member function ‘static llvm::Expectedllvm::orc::ThreadSafeModule llvm::orc::KaleidoscopeJIT::optimizeModule(llvm::orc::ThreadSafeModule, const llvm::orc::MaterializationResponsibility&)’:
/home/ananth.durbha/Tools/llvm-project/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h:108:12: error: could not convert ‘TSM’ from ‘llvm::orc::ThreadSafeModule’ to ‘llvm::Expectedllvm::orc::ThreadSafeModule’
return TSM;
^~~

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions