You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Fatal error in , line 0# Embedder-vs-V8 build configuration mismatch. On embedder side pointer compression is DISABLED while on V8 side it's ENABLED.####FailureMessage Object: 0x16fc2a918
Undefined symbols for architecture arm64:
"pure::Environment::GetCurrent(v8::Isolate*)", referenced from:
pure::errors::PerIsolateMessageListener(v8::Local<v8::Message>, v8::Local<v8::Value>) in pure_errors-ecfe77.o
"pure::Environment::context() const", referenced from:
pure::errors::PerIsolateMessageListener(v8::Local<v8::Message>, v8::Local<v8::Value>) in pure_errors-ecfe77.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Pure
Pure 是我写的一个轻量级的 JavaScript runtime, 写的动机是最近先后出现了 Next.js Edge Runtime、cloudflare workerd、Noslate JavaScript worker 等 3 个相似的产品, 所以我想通过写 Pure 与写完后它的性能表现来感受为何大家都会投入进来 🤔
常见问题
Embedder-vs-V8 build configuration mismatch.
问题解决: 编译参数加上 -DV8_COMPRESS_POINTERS -DV8_ENABLE_SANDBOX
FailureMessage Object: 0x16fdfed98Process 97650 stopped
问题解决:
将会打印如下日志
将会打印如下日志, 即可找到源码开始报错的地方进行修复
Undefined symbols for architecture arm64
问题解决: 通常是头文件中定义了类型, 却没有具体实现。找到未实现的定义, 在 .cc 或者 .inl.h 中实现即可。
The text was updated successfully, but these errors were encountered: