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
When upgrading to the latest version of the v8 create, I encounter the following error:
= note: /usr/bin/ld: /tmp/rustcnxkAyd/libv8-fa1f4565c5216947.rlib(binding.o): relocation R_X86_64_TPOFF32 against hidden symbol `_ZN2v88internal18g_current_isolate_E' can not be used when making a shared object
/usr/bin/ld: failed to set dynamic section sizes: bad value
collect2: error: ld returned 1 exit status
despite the part of my code which references isolation being unchanged (see below)
I have a similar issue when updating from 130.0.7 to 134.4.0, relocation R_X86_64_TPOFF32 against v8::internal::g_current_local_heap_ cannot be used with -shared, not sure if V8 changed the flags used to compile the library
It would be helpful to know more about how you are using this crate. Are you producing a shared library from rustc? What flags are you using? I haven't been able to trivially reproduce a non-pic binary.
For me it only happens while compiling to linux, in mac works well, these are the linking flags "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-Wl,--strip-debug" "-nodefaultlibs" "-shared" "--target=x86_64-unknown-linux-gnu" "-no-canonical-prefixes" "-lm" "-fuse-ld=lld" "-Wl,--build-id=md5" "-Wl,--hash-style=gnu" "-Wl,-z,relro,-z,now" "-l:libc++.a" "-l:libc++abi.a"
When upgrading to the latest version of the
v8
create, I encounter the following error:despite the part of my code which references isolation being unchanged (see below)
Do y'all have any pointers on how to debug/resolve this issue?
The text was updated successfully, but these errors were encountered: