Hi,

I successfully build PDFium with V8 on most platforms, but I'm having the 
following linker errors when target_os=ios and target_cpu=arm64:

ld64.lld: error: undefined symbol: v8_Default_embedded_blob_code_
>>> referenced by isolate.cc:0 (../v8/src/execution/isolate.cc:0)
>>>               obj/v8/v8_base_without_compiler/isolate.o:(symbol 
v8::internal::Isolate::InitializeDefaultEmbeddedBlob()+0x104)
>>> referenced by isolate.cc:0 (../v8/src/execution/isolate.cc:0)
>>>               obj/v8/v8_base_without_compiler/isolate.o:(symbol 
v8::internal::Isolate::InitializeDefaultEmbeddedBlob()+0x100)
>>> referenced by deoptimizer-cfi-builtins.cc:52 
(../v8/src/deoptimizer/deoptimizer-cfi-builtins.cc:52)
>>>               obj/v8/v8_snapshot/deoptimizer-cfi-builtins.o:(symbol 
v8::internal::Deoptimizer::IsValidReturnAddress(unsigned long, 
v8::internal::Isolate*)+0x44)
>>> referenced 1 more times

ld64.lld: error: undefined symbol: v8_Default_embedded_blob_data_
...
ld64.lld: error: undefined symbol: v8_Default_embedded_blob_data_size_
...
ld64.lld: error: undefined symbol: v8_Default_embedded_blob_code_size_
...
ld64.lld: error: undefined symbol: Builtins_RestartFrameTrampoline
...
ld64.lld: error: undefined symbol: 
Builtins_BaselineOrInterpreterEnterAtNextBytecode
...
ld64.lld: error: undefined symbol: 
Builtins_BaselineOrInterpreterEnterAtBytecode
...
ld64.lld: error: undefined symbol: construct_stub_invoke_deopt_addr
...
ld64.lld: error: undefined symbol: construct_stub_create_deopt_addr
...
ld64.lld: error: undefined symbol: Builtins_ContinueToJavaScriptBuiltin
...
ld64.lld: error: undefined symbol: 
Builtins_ContinueToJavaScriptBuiltinWithResult
...
ld64.lld: error: undefined symbol: Builtins_ContinueToCodeStubBuiltin
...
ld64.lld: error: undefined symbol: 
Builtins_ContinueToCodeStubBuiltinWithResult
...
ld64.lld: error: undefined symbol: Builtins_InterpreterEnterAtNextBytecode
...
ld64.lld: error: undefined symbol: Builtins_InterpreterEnterAtBytecode

As far as I can tell, v8_Default_embedded_blob_data_ is defined 
in v8/src/builtins/arm64/builtins-arm64.cc, which seems to build fine (see 
log 
<https://github.com/bblanchon/pdfium-binaries/actions/runs/3612296209/jobs/6087308873>
).

I originally asked this question on the PDFium 
<https://groups.google.com/g/pdfium/c/8R56bd60PSI/m/KK34nTs5AwAJ> list but 
was told to ask it here instead.

Any idea how I could fix this?

Best regards,
Benoit

-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/fedd3b80-41e9-4118-bccd-f0e0a6d6d569n%40googlegroups.com.

Reply via email to