JuliaInterop / Cxx.jl

The Julia C++ Interface
Other
755 stars 107 forks source link

Cxx.jl seems not compatible with docker #488

Open JinraeKim opened 3 years ago

JinraeKim commented 3 years ago

Cxx.jl seems not compatible with docker. Or, I may be too new to Cxx.jl to use it properly.

Notes

Error message

ubuntu@2b7a0c418c3b:~$ julia-1.3
               _
   _       _ _(_)_     |  Documentation: https://docs.julialang.org
  (_)     | (_) (_)    |
   _ _   _| |_  __ _   |  Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` |  |
  | | |_| | | | (_| |  |  Version 1.3.1 (2019-12-30)
 _/ |\__'_|_|_|\__'_|  |  Official https://julialang.org/ release
|__/                   |

(v1.3) pkg> add Cxx
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/environments/v1.3/Project.toml`
  [a0b5b9ef] + Cxx v0.4.0
  Updating `~/.julia/environments/v1.3/Manifest.toml`
 [no changes]

julia> using Cxx
[ Info: Precompiling Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2]
error: unknown target CPU 'generic'

signal (11): Segmentation fault
in expression starting at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/Cxx.jl:178
_ZN5clang16CompilerInstance18createPreprocessorENS_19TranslationUnitKindE at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
finish_clang_init at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
init_clang_instance at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
#setup_instance#20 at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/initialization.jl:38
#setup_instance at ./tuple.jl:0 [inlined]
__init__ at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/initialization.jl:430
unknown function (ip: 0x7f515066531b)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2141 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1631 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:328
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:417
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:368 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:778
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:888
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f516aa9200f)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:897
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:873
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:878
include at ./boot.jl:328 [inlined]
include_relative at ./loading.jl:1105
include at ./Base.jl:31
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1631 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:328
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:417
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:368 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:778
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:705
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:888
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f5169f84a0f)
unknown function (ip: 0x2)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:897
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:330 [inlined]
eval at ./client.jl:425
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
top-level scope at ./none:3
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:808
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:330
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
exec_options at ./client.jl:263
_start at ./client.jl:460
jfptr__start_2084 at /home/ubuntu/julia-1.3.1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/ui/../src/julia.h:1631 [inlined]
true_main at /buildworker/worker/package_linux64/build/ui/repl.c:96
main at /buildworker/worker/package_linux64/build/ui/repl.c:217
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /home/ubuntu/julia-1.3.1/bin/julia (unknown line)
Allocations: 1644540 (Pool: 1644111; Big: 429); GC: 2
ERROR: Failed to precompile Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] to /home/ubuntu/.julia/compiled/v1.3/Cxx/ESGkI_lOBhQ.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917
Gnimuc commented 3 years ago

A workaround might be passing target="..." to https://github.com/JuliaInterop/Cxx.jl/blob/896ec3c00bd722509d9aa8aaf378298d9583b58b/src/initialization.jl#L430

or directly create a correct llvm::Triple and put it here.

JinraeKim commented 3 years ago

@Gnimuc Thanks for answering my question :)

But I'm sorry I don't get it cuz I'm not aware of details.

I corrected the line you suggested as

C = setup_instance(GlobalPCHBuffer; PCHTime=PCHTime, target="...")

and it gives me

julia> using Cxx
[ Info: Precompiling Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2]
error: unknown target triple '...', please use -triple or -arch

signal (11): Segmentation fault
in expression starting at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/Cxx.jl:178
_ZN5clang16CompilerInstance18createPreprocessorENS_19TranslationUnitKindE at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
finish_clang_init at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
init_clang_instance at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
#setup_instance#20 at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/initialization.jl:38
#setup_instance at ./tuple.jl:0 [inlined]
__init__ at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/initialization.jl:430
unknown function (ip: 0x7f2863ca332b)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2141 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1631 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:328
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:417
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:368 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:778
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:888
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f287e15600f)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:897
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:873
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:878
include at ./boot.jl:328 [inlined]
include_relative at ./loading.jl:1105
include at ./Base.jl:31
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1631 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:328
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:417
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:368 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:778
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:705
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:888
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f287d648a0f)
unknown function (ip: 0x2)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:897
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:330 [inlined]
eval at ./client.jl:425
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
top-level scope at ./none:3
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:808
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:330
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
exec_options at ./client.jl:263
_start at ./client.jl:460
jfptr__start_2084 at /home/ubuntu/julia-1.3.1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/ui/../src/julia.h:1631 [inlined]
true_main at /buildworker/worker/package_linux64/build/ui/repl.c:96
main at /buildworker/worker/package_linux64/build/ui/repl.c:217
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /home/ubuntu/julia-1.3.1/bin/julia (unknown line)
Allocations: 1644543 (Pool: 1644111; Big: 432); GC: 2
ERROR: Failed to precompile Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] to /home/ubuntu/.julia/compiled/v1.3/Cxx/ESGkI_lOBhQ.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917

And I've tried "generic", "-triple", etc. .

Could you explane what I should do in detail?

Gnimuc commented 3 years ago

I guess it should be something that matches ROS2's TARGET_TRIPLE.

JinraeKim commented 3 years ago

I guess it should be something that matches ROS2's TARGET_TRIPLE.

I've changed it to target="aarch64-linux-gnu" and it produced a huge error message. I think it's not correct because the ROS implementation (ROS.jl) is based on ROS(1), not ROS(2). I tried to find a similar way, containing something like TARGET_TRIPLE for ROS(1), but I failed to search it :( Thanks for helping me. If you have another idea for this issue, please tell me whenver you want :)

Notes

A huge error message (sorry but the beginning part is omitted due to space limit of my terminal) ```juliaREPL member function 'llvm::IntrusiveRefCntPtr::~IntrusiveRefCntPtr' requested here CompilerInvocation() : AnalyzerOpts(new AnalyzerOptions()) {} ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/STLExtras.h:22: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/iterator.h:74:58: error: no member named 'value' in 'std::is_base_of' IteratorCategoryT>::value, ~~~~~~~~~~~~~~~~~~~~^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:456:14: note: in instantiation of template class 'llvm::iterator_facade_base > >, std::forward_iterator_tag, llvm::StringMapEntry > >, long, llvm::StringMapEntry > > *, llvm::StringMapEntry > > &>' requested here : public iterator_facade_base > >, llvm::StringMapEntry > > >' requested here class StringMapIterator : public StringMapIterBase, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:214:11: note: in instantiation of template class 'llvm::StringMapIterator > >' requested here _T1 first; /// @c first is a copy of the first object ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of template class 'std::pair > >, bool>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/STLExtras.h:22: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/iterator.h:76:59: error: no member named 'value' in 'std::is_base_of' IteratorCategoryT>::value, ~~~~~~~~~~~~~~~~~~~~^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_copy_assignable > > >' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:379:3: note: in instantiation of template class 'std::__and_ > > >, std::is_copy_assignable >' requested here __and_, ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of template class 'std::pair > >, bool>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_move_assignable > > >' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:390:3: note: in instantiation of template class 'std::__and_ > > >, std::is_move_assignable >' requested here __and_, ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of template class 'std::pair > >, bool>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:403:14: error: no matching function for call to 'make_pair' return std::make_pair(iterator(TheTable + BucketNo, false), ^~~~~~~~~~~~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:524:5: note: candidate template ignored: substitution failure [with _T1 = llvm::StringMapIterator > >, _T2 = bool] make_pair(_T1&& __x, _T2&& __y) ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:408:24: error: incomplete definition of type 'llvm::StringMapEntry > >' Bucket = MapEntryTy::Create(Key, Allocator, std::forward(Args)...); ~~~~~~~~~~^~ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1071:45: error: no member named 'value' in 'std::is_reference' : public conditional::value, ~~~~~~~~~~~~~~~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1079:14: note: in instantiation of template class 'std::__is_direct_constructible_new > > &&>' requested here : public __is_direct_constructible_new<_Tp, _Arg>::type ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1119:14: note: in instantiation of template class 'std::__is_direct_constructible > > &&>' requested here : public __is_direct_constructible<_Tp, _Arg> ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1130:14: note: in instantiation of template class 'std::__is_constructible_impl > > &&>' requested here : public __is_constructible_impl<_Tp, _Args...>::type ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:149:26: note: in instantiation of template class 'std::is_constructible > > &&>' requested here : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:147:9: note: in instantiation of template class 'std::__and_ > > &&>, std::is_constructible, std::__and_ > > &&, int>, std::is_convertible > >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:309:7: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) _MoveCopyPair(), ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:311:18: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >] constexpr pair(_U1&& __x, const _T2& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, $1 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:149:31: error: no member named 'value' in 'std::is_constructible > > &&>' : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:147:9: note: in instantiation of template class 'std::__and_ > > &&>, std::is_constructible, std::__not_ > > &&, int>, std::is_convertible > > >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:316:7: note: in instantiation of function template specialization 'std::_PCC::_MoveCopyPair > >, int>' requested here _MoveCopyPair(), ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:318:27: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >] explicit constexpr pair(_U1&& __x, const _T2& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, $1 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_constructible > > &&>' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:114:9: note: in instantiation of template class 'std::__and_ > > &&>, std::is_constructible >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:337:7: note: in instantiation of function template specialization 'std::_PCC::_MoveConstructiblePair > >, bool>' requested here _MoveConstructiblePair<_U1, _U2>() ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:341:12: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >, _U2 = bool] constexpr pair(_U1&& __x, _U2&& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, _U2 = bool, $2 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_convertible > > &&, int>' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:121:9: note: in instantiation of template class 'std::__and_ > > &&, int>, std::is_convertible >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:339:7: note: in instantiation of function template specialization 'std::_PCC::_ImplicitlyMoveConvertiblePair > >, bool>' requested here _ImplicitlyMoveConvertiblePair<_U1, _U2>(), ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:341:12: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >, _U2 = bool] constexpr pair(_U1&& __x, _U2&& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, _U2 = bool, $2 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/utility:70: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: error: no matching constructor for initialization of '__pair_type' (aka 'pair') return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:260:17: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no matching function for call to '_ConstructiblePair' constexpr pair(const _T1& __a, const _T2& __b) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:269:26: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no matching function for call to '_ConstructiblePair' explicit constexpr pair(const _T1& __a, const _T2& __b) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:311:18: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >]: non-type template argument is not a constant expression constexpr pair(_U1&& __x, const _T2& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:318:27: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >]: non-type template argument is not a constant expression explicit constexpr pair(_U1&& __x, const _T2& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:325:18: note: candidate template ignored: substitution failure [with _U2 = bool]: no matching function for call to '_CopyMovePair' constexpr pair(const _T1& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:332:17: note: candidate template ignored: substitution failure [with _U2 = bool]: no matching function for call to '_CopyMovePair' explicit pair(const _T1& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:341:12: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >, _U2 = bool]: non-type template argument is not a constant expression constexpr pair(_U1&& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:350:21: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >, _U2 = bool]: no matching function for call to '_MoveConstructiblePair' explicit constexpr pair(_U1&& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:229:26: note: candidate constructor template not viable: requires 0 arguments, but 2 were provided _GLIBCXX_CONSTEXPR pair() ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:242:26: note: candidate constructor template not viable: requires 0 arguments, but 2 were provided explicit constexpr pair() ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:291:19: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided constexpr pair(const pair<_U1, _U2>& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:300:21: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided explicit constexpr pair(const pair<_U1, _U2>& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:360:12: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided constexpr pair(pair<_U1, _U2>&& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:370:21: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided explicit constexpr pair(pair<_U1, _U2>&& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:375:9: note: candidate constructor template not viable: requires 3 arguments, but 2 were provided pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:436:9: note: candidate constructor template not viable: requires 4 arguments, but 2 were provided pair(tuple<_Args1...>&, tuple<_Args2...>&, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:303:17: note: candidate constructor not viable: requires 1 argument, but 2 were provided constexpr pair(const pair&) = default; ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:304:17: note: candidate constructor not viable: requires 1 argument, but 2 were provided constexpr pair(pair&&) = default; ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:12: error: no viable conversion from returned value of type 'pair > > >::__type, typename __decay_and_strip::__type>' to function return type 'pair >, llvm::MallocAllocator>::iterator, bool>' return std::make_pair(iterator(TheTable + BucketNo, false), true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:303:17: note: candidate constructor not viable: no known conversion from 'pair > > >::__type, typename __decay_and_strip::__type>' (aka 'pair') to 'const std::pair > >, bool> &' for 1st argument constexpr pair(const pair&) = default; ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:304:17: note: candidate constructor not viable: no known conversion from 'pair > > >::__type, typename __decay_and_strip::__type>' (aka 'pair') to 'std::pair > >, bool> &&' for 1st argument constexpr pair(pair&&) = default; ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:291:19: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no member named 'value' in 'std::is_same > >, int>' constexpr pair(const pair<_U1, _U2>& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:360:12: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no member named 'value' in 'std::is_same > >, int>' constexpr pair(pair<_U1, _U2>&& __p) ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:524:9: error: type 'llvm::StringMapIterator > >::base' (aka 'StringMapIterBase > >, StringMapEntry > > >') is not a direct or virtual base of 'llvm::StringMapIterator > >' : base(Bucket, NoAdvance) {} ^~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:403:29: note: in instantiation of member function 'llvm::StringMapIterator > >::StringMapIterator' requested here return std::make_pair(iterator(TheTable + BucketNo, false), ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:107:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Writers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/STLExtras.h:22: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/iterator.h:74:58: error: no member named 'value' in 'std::is_base_of' IteratorCategoryT>::value, ~~~~~~~~~~~~~~~~~~~~^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:456:14: note: in instantiation of template class 'llvm::iterator_facade_base > >, std::forward_iterator_tag, llvm::StringMapEntry > >, long, llvm::StringMapEntry > > *, llvm::StringMapEntry > > &>' requested here : public iterator_facade_base > >, llvm::StringMapEntry > > >' requested here class StringMapIterator : public StringMapIterBase, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:214:11: note: in instantiation of template class 'llvm::StringMapIterator > >' requested here _T1 first; /// @c first is a copy of the first object ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of template class 'std::pair > >, bool>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/STLExtras.h:22: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/iterator.h:76:59: error: no member named 'value' in 'std::is_base_of' IteratorCategoryT>::value, ~~~~~~~~~~~~~~~~~~~~^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_copy_assignable > > >' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:379:3: note: in instantiation of template class 'std::__and_ > > >, std::is_copy_assignable >' requested here __and_, ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of template class 'std::pair > >, bool>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_move_assignable > > >' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:390:3: note: in instantiation of template class 'std::__and_ > > >, std::is_move_assignable >' requested here __and_, ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of template class 'std::pair > >, bool>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:403:14: error: no matching function for call to 'make_pair' return std::make_pair(iterator(TheTable + BucketNo, false), ^~~~~~~~~~~~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:524:5: note: candidate template ignored: substitution failure [with _T1 = llvm::StringMapIterator > >, _T2 = bool] make_pair(_T1&& __x, _T2&& __y) ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:408:24: error: incomplete definition of type 'llvm::StringMapEntry > >' Bucket = MapEntryTy::Create(Key, Allocator, std::forward(Args)...); ~~~~~~~~~~^~ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1071:45: error: no member named 'value' in 'std::is_reference' : public conditional::value, ~~~~~~~~~~~~~~~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1079:14: note: in instantiation of template class 'std::__is_direct_constructible_new > > &&>' requested here : public __is_direct_constructible_new<_Tp, _Arg>::type ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1119:14: note: in instantiation of template class 'std::__is_direct_constructible > > &&>' requested here : public __is_direct_constructible<_Tp, _Arg> ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:1130:14: note: in instantiation of template class 'std::__is_constructible_impl > > &&>' requested here : public __is_constructible_impl<_Tp, _Args...>::type ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:149:26: note: in instantiation of template class 'std::is_constructible > > &&>' requested here : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:147:9: note: in instantiation of template class 'std::__and_ > > &&>, std::is_constructible, std::__and_ > > &&, int>, std::is_convertible > >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:309:7: note: (skipping 1 context in backtrace; use -ftemplate-backtrace-limit=0 to see all) _MoveCopyPair(), ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:311:18: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >] constexpr pair(_U1&& __x, const _T2& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, $1 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:149:31: error: no member named 'value' in 'std::is_constructible > > &&>' : public conditional<_B1::value, __and_<_B2, _B3, _Bn...>, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:147:9: note: in instantiation of template class 'std::__and_ > > &&>, std::is_constructible, std::__not_ > > &&, int>, std::is_convertible > > >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:316:7: note: in instantiation of function template specialization 'std::_PCC::_MoveCopyPair > >, int>' requested here _MoveCopyPair(), ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:318:27: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >] explicit constexpr pair(_U1&& __x, const _T2& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, $1 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_constructible > > &&>' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:114:9: note: in instantiation of template class 'std::__and_ > > &&>, std::is_constructible >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:337:7: note: in instantiation of function template specialization 'std::_PCC::_MoveConstructiblePair > >, bool>' requested here _MoveConstructiblePair<_U1, _U2>() ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:341:12: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >, _U2 = bool] constexpr pair(_U1&& __x, _U2&& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, _U2 = bool, $2 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/boot.h:17: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/type_traits:144:31: error: no member named 'value' in 'std::is_convertible > > &&, int>' : public conditional<_B1::value, _B2, _B1>::type ~~~~~^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:121:9: note: in instantiation of template class 'std::__and_ > > &&, int>, std::is_convertible >' requested here return __and_, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:339:7: note: in instantiation of function template specialization 'std::_PCC::_ImplicitlyMoveConvertiblePair > >, bool>' requested here _ImplicitlyMoveConvertiblePair<_U1, _U2>(), ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:341:12: note: while substituting prior template arguments into non-type template parameter [with _U1 = llvm::StringMapIterator > >, _U2 = bool] constexpr pair(_U1&& __x, _U2&& __y) ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: note: while substituting deduced template arguments into function template 'pair' [with _U1 = llvm::StringMapIterator > >, _U2 = bool, $2 = (no value)] return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/AST/Availability.h:17: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/SourceLocation.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/LLVM.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Casting.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/type_traits.h:19: In file included from /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/utility:70: /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:529:14: error: no matching constructor for initialization of '__pair_type' (aka 'pair') return __pair_type(std::forward<_T1>(__x), std::forward<_T2>(__y)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:17: note: in instantiation of function template specialization 'std::make_pair > >, bool>' requested here return std::make_pair(iterator(TheTable + BucketNo, false), true); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:260:17: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no matching function for call to '_ConstructiblePair' constexpr pair(const _T1& __a, const _T2& __b) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:269:26: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no matching function for call to '_ConstructiblePair' explicit constexpr pair(const _T1& __a, const _T2& __b) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:311:18: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >]: non-type template argument is not a constant expression constexpr pair(_U1&& __x, const _T2& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:318:27: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >]: non-type template argument is not a constant expression explicit constexpr pair(_U1&& __x, const _T2& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:325:18: note: candidate template ignored: substitution failure [with _U2 = bool]: no matching function for call to '_CopyMovePair' constexpr pair(const _T1& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:332:17: note: candidate template ignored: substitution failure [with _U2 = bool]: no matching function for call to '_CopyMovePair' explicit pair(const _T1& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:341:12: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >, _U2 = bool]: non-type template argument is not a constant expression constexpr pair(_U1&& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:350:21: note: candidate template ignored: substitution failure [with _U1 = llvm::StringMapIterator > >, _U2 = bool]: no matching function for call to '_MoveConstructiblePair' explicit constexpr pair(_U1&& __x, _U2&& __y) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:229:26: note: candidate constructor template not viable: requires 0 arguments, but 2 were provided _GLIBCXX_CONSTEXPR pair() ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:242:26: note: candidate constructor template not viable: requires 0 arguments, but 2 were provided explicit constexpr pair() ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:291:19: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided constexpr pair(const pair<_U1, _U2>& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:300:21: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided explicit constexpr pair(const pair<_U1, _U2>& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:360:12: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided constexpr pair(pair<_U1, _U2>&& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:370:21: note: candidate constructor template not viable: requires single argument '__p', but 2 arguments were provided explicit constexpr pair(pair<_U1, _U2>&& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:375:9: note: candidate constructor template not viable: requires 3 arguments, but 2 were provided pair(piecewise_construct_t, tuple<_Args1...>, tuple<_Args2...>); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:436:9: note: candidate constructor template not viable: requires 4 arguments, but 2 were provided pair(tuple<_Args1...>&, tuple<_Args2...>&, ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:303:17: note: candidate constructor not viable: requires 1 argument, but 2 were provided constexpr pair(const pair&) = default; ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:304:17: note: candidate constructor not viable: requires 1 argument, but 2 were provided constexpr pair(pair&&) = default; ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:413:12: error: no viable conversion from returned value of type 'pair > > >::__type, typename __decay_and_strip::__type>' to function return type 'pair >, llvm::MallocAllocator>::iterator, bool>' return std::make_pair(iterator(TheTable + BucketNo, false), true); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:303:17: note: candidate constructor not viable: no known conversion from 'pair > > >::__type, typename __decay_and_strip::__type>' (aka 'pair') to 'const std::pair > >, bool> &' for 1st argument constexpr pair(const pair&) = default; ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:304:17: note: candidate constructor not viable: no known conversion from 'pair > > >::__type, typename __decay_and_strip::__type>' (aka 'pair') to 'std::pair > >, bool> &&' for 1st argument constexpr pair(pair&&) = default; ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:291:19: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no member named 'value' in 'std::is_same > >, int>' constexpr pair(const pair<_U1, _U2>& __p) ^ /usr/lib/gcc/x86_64-linux-gnu/7.5.0/../../../../include/c++/7.5.0/bits/stl_pair.h:360:12: note: candidate template ignored: substitution failure [with _U1 = int, _U2 = int]: no member named 'value' in 'std::is_same > >, int>' constexpr pair(pair<_U1, _U2>&& __p) ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:18: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Builtins.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/ArrayRef.h:13: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/Hashing.h:49: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/Support/Host.h:17: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:524:9: error: type 'llvm::StringMapIterator > >::base' (aka 'StringMapIterBase > >, StringMapEntry > > >') is not a direct or virtual base of 'llvm::StringMapIterator > >' : base(Bucket, NoAdvance) {} ^~~~ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:403:29: note: in instantiation of member function 'llvm::StringMapIterator > >::StringMapIterator' requested here return std::make_pair(iterator(TheTable + BucketNo, false), ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/StringMap.h:360:47: note: in instantiation of function template specialization 'llvm::StringMap >, llvm::MallocAllocator>::try_emplace<>' requested here ValueTy &operator[](StringRef Key) { return try_emplace(Key).first->second; } ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Frontend/PCHContainerOperations.h:110:19: note: in instantiation of member function 'llvm::StringMap >, llvm::MallocAllocator>::operator[]' requested here return Readers[Format].get(); ^ In file included from /Cxx.h:1: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/replpane.jl:84: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Parse/Parser.h:22: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Lex/Preprocessor.h:19: In file included from /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/src/clang-6.0.1/include/clang/Basic/Diagnostic.h:23: /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/DenseMap.h:419:60: error: no member named 'value' in 'std::is_base_of, llvm::detail::DenseSetPair >, llvm::CachedHashString, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair >, llvm::SmallDenseMap, llvm::detail::DenseSetPair > >' static_assert(std::is_base_of::value, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/DenseMap.h:345:27: note: in instantiation of member function 'llvm::DenseMapBase, llvm::detail::DenseSetPair >, llvm::CachedHashString, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair >::getEmptyKey' requested here const KeyT EmptyKey = getEmptyKey(); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/DenseMap.h:957:18: note: in instantiation of member function 'llvm::DenseMapBase, llvm::detail::DenseSetPair >, llvm::CachedHashString, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo, llvm::detail::DenseSetPair >::initEmpty' requested here this->BaseT::initEmpty(); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/DenseMap.h:830:5: note: in instantiation of member function 'llvm::SmallDenseMap, llvm::detail::DenseSetPair >::init' requested here init(NumInitBuckets); ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/DenseSet.h:67:56: note: in instantiation of member function 'llvm::SmallDenseMap, llvm::detail::DenseSetPair >::SmallDenseMap' requested here explicit DenseSetImpl(unsigned InitialReserve = 0) : TheMap(InitialReserve) {} ^ /home/ubuntu/.julia/packages/Cxx/1RaOv/src/CxxREPL/../../deps/usr/build/clang-6.0.1/include/llvm/ADT/DenseSet.h:239:7: note: in instantiation of member function 'llvm::detail::DenseSetImpl, llvm::detail::DenseSetPair >, llvm::DenseMapInfo >::DenseSetImpl' requested here class SmallDenseSet ^ ```
Gnimuc commented 3 years ago

target="aarch64-linux-gnu"

I believe that's just an example. What's the cpu architecture type of the device that your docker instance is running on?

JinraeKim commented 3 years ago

target="aarch64-linux-gnu"

I believe that's just an example. What's the cpu architecture type of the device that your docker instance is running on?

The docker container is run on Ryzen 5900x, and I guess that it's architecture is amd64. The answer would be really poor due to the lack of my knowledge about cpu architectures.

Gnimuc commented 3 years ago

have you given target="amd64-linux-gnu" a try?

JinraeKim commented 3 years ago

have you given target="amd64-linux-gnu" a try?

Unfortunately, the same error occurs.

julia> using Cxx
[ Info: Precompiling Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2]
error: unknown target CPU 'generic'

signal (11): Segmentation fault
in expression starting at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/Cxx.jl:178
_ZN5clang16CompilerInstance18createPreprocessorENS_19TranslationUnitKindE at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
finish_clang_init at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
init_clang_instance at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/../deps/usr/lib/libcxxffi.so (unknown line)
#setup_instance#20 at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/initialization.jl:38
#setup_instance at ./tuple.jl:0 [inlined]
__init__ at /home/ubuntu/.julia/packages/Cxx/1RaOv/src/initialization.jl:430
unknown function (ip: 0x7f45ca85932b)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2141 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1631 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:328
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:417
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:368 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:778
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:888
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f45e74bec8f)
unknown function (ip: 0xffffffffffffffff)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:897
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:181
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:640
jl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:873
jl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:878
include at ./boot.jl:328 [inlined]
include_relative at ./loading.jl:1105
include at ./Base.jl:31
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1631 [inlined]
do_call at /buildworker/worker/package_linux64/build/src/interpreter.c:328
eval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:417
eval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:368 [inlined]
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:778
eval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:705
jl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:888
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7f45e4178a0f)
unknown function (ip: 0x2)
jl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:897
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:814
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:330 [inlined]
eval at ./client.jl:425
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
top-level scope at ./none:3
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:808
jl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:764
jl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/toplevel.c:843
eval at ./boot.jl:330
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
exec_options at ./client.jl:263
_start at ./client.jl:460
jfptr__start_2084 at /home/ubuntu/julia-1.3.1/lib/julia/sys.so (unknown line)
_jl_invoke at /buildworker/worker/package_linux64/build/src/gf.c:2135 [inlined]
jl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2305
jl_apply at /buildworker/worker/package_linux64/build/ui/../src/julia.h:1631 [inlined]
true_main at /buildworker/worker/package_linux64/build/ui/repl.c:96
main at /buildworker/worker/package_linux64/build/ui/repl.c:217
__libc_start_main at /lib/x86_64-linux-gnu/libc.so.6 (unknown line)
_start at /home/ubuntu/julia-1.3.1/bin/julia (unknown line)
Allocations: 783609 (Pool: 783416; Big: 193); GC: 1
ERROR: Failed to precompile Cxx [a0b5b9ef-44b7-5148-a2d1-f6db19f3c3d2] to /home/ubuntu/.julia/compiled/v1.3/Cxx/ESGkI_lOBhQ.ji.
Stacktrace:
 [1] error(::String) at ./error.jl:33
 [2] compilecache(::Base.PkgId, ::String) at ./loading.jl:1283
 [3] _require(::Base.PkgId) at ./loading.jl:1024
 [4] require(::Base.PkgId) at ./loading.jl:922
 [5] require(::Module, ::Symbol) at ./loading.jl:917
drewrobson commented 3 years ago

This issue has nothing to do with Docker. I've been seeing the same thing with Ryzen 5900x (without Docker) and was just about to file a new issue. Cxx works fine with Ryzen 3900x so this seems somehow related to Ryzen 5000 series.

Gnimuc commented 3 years ago

Maybe the cpu architecture of Ryzen 5000 series is too new so that the old LLVM/Clang on which Cxx.jl based fails to make a correct detection.

JinraeKim commented 3 years ago

This issue has nothing to do with Docker. I've been seeing the same thing with Ryzen 5900x (without Docker) and was just about to file a new issue. Cxx works fine with Ryzen 3900x so this seems somehow related to Ryzen 5000 series.

Oh, my cpu is also Ryzen 5000 series (5950x, probably?). It might be an issue about cpu...!