-
-
Save pmvfonseca/f7f9d8d79d57275e3733208e9985f80e to your computer and use it in GitHub Desktop.
wasm-c-api linker errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p out/example | |
clang++ -c -std=c++11 -DWASM_API_DEBUG -Wall -Werror -ggdb -O -fsanitize=address -I. -Iv8/v8/include -I./include example/hello.cc -o out/example/hello-cc.o | |
clang++ -std=c++11 -DWASM_API_DEBUG -Wall -Werror -ggdb -O -fsanitize=address -fsanitize-memory-track-origins -fsanitize-memory-use-after-dtor out/example/hello-cc.o -o out/example/hello-cc \ | |
out/./wasm-bin.o out/./wasm-v8.o \ | |
\ | |
v8/v8/out.gn/x64.release/obj/libv8_monolith.a \ | |
\ | |
-ldl -pthread | |
out/./wasm-v8.o: In function `wasm::Ref::~Ref()': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:419: undefined reference to `v8::wasm::foreign_new(v8::Isolate*, void*)' | |
out/./wasm-v8.o: In function `wasm::Ref::same(wasm::Ref const*) const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::ref_to_v8(wasm::StoreImpl*, wasm::Ref const*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::val_to_v8(wasm::StoreImpl*, wasm::Val const&)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o:/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: more undefined references to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' follow | |
out/./wasm-v8.o: In function `wasm::Module::imports() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1384: undefined reference to `v8::wasm::module_binary_size(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1385: undefined reference to `v8::wasm::module_binary(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Module::exports() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1428: undefined reference to `v8::wasm::module_binary_size(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1429: undefined reference to `v8::wasm::module_binary(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Module::serialize() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1468: undefined reference to `v8::wasm::module_binary_size(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1469: undefined reference to `v8::wasm::module_serialize_size(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1475: undefined reference to `v8::wasm::module_binary(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1477: undefined reference to `v8::wasm::module_serialize(v8::Local<v8::Object>, char*, unsigned long)' | |
out/./wasm-v8.o: In function `wasm::Module::deserialize(wasm::Store*, wasm::vec<char> const&)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1489: undefined reference to `v8::wasm::module_deserialize(v8::Isolate*, char const*, unsigned long, char const*, unsigned long)' | |
out/./wasm-v8.o: In function `wasm::Extern::kind() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1536: undefined reference to `v8::wasm::extern_kind(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Func::type() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::(anonymous namespace)::func_type(v8::Local<v8::Object>)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1678: undefined reference to `v8::wasm::func_type_param_arity(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1679: undefined reference to `v8::wasm::func_type_result_arity(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1684: undefined reference to `v8::wasm::func_type_param(v8::Local<v8::Object>, unsigned long)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1688: undefined reference to `v8::wasm::func_type_result(v8::Local<v8::Object>, unsigned long)' | |
out/./wasm-v8.o: In function `wasm::Global::type() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1882: undefined reference to `v8::wasm::global_type_content(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1883: undefined reference to `v8::wasm::global_type_mutable(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Table::type() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1965: undefined reference to `v8::wasm::table_type_min(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1966: undefined reference to `v8::wasm::table_type_max(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Memory::type() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2025: undefined reference to `v8::wasm::memory_type_min(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2026: undefined reference to `v8::wasm::memory_type_max(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::extern_to_v8(wasm::Extern const*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::(anonymous namespace)::make_func(wasm::Store*, wasm::FuncData*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1639: undefined reference to `v8::wasm::foreign_new(v8::Isolate*, void*)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1663: undefined reference to `v8::wasm::instance_exports(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Func::param_arity() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1724: undefined reference to `v8::wasm::func_type_param_arity(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Func::result_arity() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1729: undefined reference to `v8::wasm::func_type_result_arity(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Func::call(wasm::Val const*, wasm::Val*) const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::FuncData::v8_callback(v8::FunctionCallbackInfo<v8::Value> const&)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1788: undefined reference to `v8::wasm::foreign_get(v8::Local<v8::Value>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::Global::make(wasm::Store*, wasm::GlobalType const*, wasm::Val const&)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1867: undefined reference to `v8::wasm::instance_exports(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Global::set(wasm::Val const&)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1909: undefined reference to `v8::wasm::global_set_i32(v8::Local<v8::Object>, int)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1911: undefined reference to `v8::wasm::global_set_f32(v8::Local<v8::Object>, float)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1912: undefined reference to `v8::wasm::global_set_f64(v8::Local<v8::Object>, double)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1910: undefined reference to `v8::wasm::global_set_i64(v8::Local<v8::Object>, long)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1916: undefined reference to `v8::wasm::global_set_ref(v8::Local<v8::Object>, v8::Local<v8::Value>)' | |
out/./wasm-v8.o: In function `wasm::Global::get() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1891: undefined reference to `v8::wasm::global_get_i32(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1898: undefined reference to `v8::wasm::global_get_ref(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1893: undefined reference to `v8::wasm::global_get_f32(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1894: undefined reference to `v8::wasm::global_get_f64(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1892: undefined reference to `v8::wasm::global_get_i64(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Table::make(wasm::Store*, wasm::TableType const*, wasm::Ref const*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1955: undefined reference to `v8::wasm::table_set(v8::Local<v8::Object>, unsigned long, v8::Local<v8::Value>)' | |
out/./wasm-v8.o: In function `wasm::Table::get(unsigned int) const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1973: undefined reference to `v8::wasm::table_get(v8::Local<v8::Object>, unsigned long)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::Table::set(unsigned int, wasm::Ref const*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1982: undefined reference to `v8::wasm::table_set(v8::Local<v8::Object>, unsigned long, v8::Local<v8::Value>)' | |
out/./wasm-v8.o: In function `wasm::Table::size() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1987: undefined reference to `v8::wasm::table_size(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Table::grow(unsigned int, wasm::Ref const*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1993: undefined reference to `v8::wasm::table_grow(v8::Local<v8::Object>, unsigned long, v8::Local<v8::Value>)' | |
out/./wasm-v8.o: In function `wasm::Memory::data() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2032: undefined reference to `v8::wasm::memory_data(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Memory::data_size() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2037: undefined reference to `v8::wasm::memory_data_size(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Memory::size() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2042: undefined reference to `v8::wasm::memory_size(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::Memory::grow(unsigned int)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2047: undefined reference to `v8::wasm::memory_grow(v8::Local<v8::Object>, unsigned int)' | |
out/./wasm-v8.o: In function `wasm::Instance::make(wasm::Store*, wasm::Module const*, wasm::Extern const* const*, std::unique_ptr<wasm::Trap, std::default_delete<wasm::Trap> >*)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2072: undefined reference to `v8::wasm::object_isolate(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::Instance::exports() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2132: undefined reference to `v8::wasm::instance_module(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2133: undefined reference to `v8::wasm::instance_exports(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2154: undefined reference to `v8::wasm::extern_kind(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2162: undefined reference to `v8::wasm::extern_kind(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2166: undefined reference to `v8::wasm::extern_kind(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:2158: undefined reference to `v8::wasm::extern_kind(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `~StoreImpl': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:364: undefined reference to `v8::wasm::foreign_get(v8::Local<v8::Value>)' | |
out/./wasm-v8.o: In function `wasm::Stats::categorize(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:163: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:166: undefined reference to `v8::wasm::object_is_func(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:167: undefined reference to `v8::wasm::object_is_global(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:168: undefined reference to `v8::wasm::object_is_table(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:169: undefined reference to `v8::wasm::object_is_memory(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:170: undefined reference to `v8::wasm::object_is_module(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:171: undefined reference to `v8::wasm::object_is_instance(v8::Local<v8::Object>)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:172: undefined reference to `v8::wasm::object_is_error(v8::Local<v8::Object>)' | |
out/./wasm-v8.o: In function `wasm::RefImpl<wasm::Ref>::copy() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::RefImpl<wasm::Ref>::get_host_info() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o:/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: more undefined references to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' follow | |
out/./wasm-v8.o: In function `wasm::RefImpl<wasm::Ref>::get_host_info() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1112: undefined reference to `v8::wasm::managed_get(v8::Local<v8::Value>)' | |
out/./wasm-v8.o: In function `wasm::RefImpl<wasm::Ref>::set_host_info(void*, void (*)(void*))': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1118: undefined reference to `v8::wasm::managed_new(v8::Isolate*, void*, void (*)(void*))' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::RefImpl<wasm::Trap>::copy() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o: In function `wasm::RefImpl<wasm::Foreign>::copy() const': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: undefined reference to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' | |
out/./wasm-v8.o:/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:1097: more undefined references to `v8::wasm::object_isolate(v8::Persistent<v8::Object, v8::NonCopyablePersistentTraits<v8::Object> > const&)' follow | |
out/./wasm-v8.o: In function `wasm::StoreImpl::make_handle()': | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:405: undefined reference to `v8::wasm::foreign_new(v8::Isolate*, void*)' | |
/path_to_wasmtime/wasmtime/crates/c-api/wasm-c-api/src/wasm-v8.cc:413: undefined reference to `v8::wasm::foreign_get(v8::Local<v8::Value>)' | |
clang: error: linker command failed with exit code 1 (use -v to see invocation) | |
Makefile:147: recipe for target 'out/example/hello-cc' failed | |
make: *** [out/example/hello-cc] Error 1 | |
rm out/example/hello-cc.o |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment