Error: Undefined reference to `v8::External::Value() const'
Hi!
While building neon bindings that use a crate that utilizes other C++ code I get the following error only when running cargo test. (apologies for the extremely long compiler arguments)
linking with `cc` failed: exit status: 1
|
= note: "cc" "-m64" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.11efpb4cdhvfrqkg.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.12f88d5b1nxo91mp.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.12vkw0nn1h1gll9p.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.12zm5zqhmg4z165v.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.145xugg9rrdgasby.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.18994zctnxowgx0f.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1atb4cz00badqck7.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1ckzow3y5vftbbcz.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1crx8s7ybtvuc01z.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1l3efsbekbvb4j4f.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1mu0f11o7m7t94t3.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1nwb8wguxuv4pi5o.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1o536u4xsnq000km.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1s1loa9x5jyiqdoa.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1tix93mrz8cifuor.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1ymtca418wboujd9.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.1z6gfz70j0ynjyv8.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.20fc62oy1qv627yv.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.214q7fn0zqtuhpqj.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2490hk8l4oqo9mcp.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.24oqaxi98go5agnd.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.26siadimvbc62hs0.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2dg7yndvds2lldq8.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2g216h9qrek0b7qv.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2h4qvsodg1f8kfzn.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2n45noxomut43i87.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2q7k3guzwxn19wal.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2u5h4uu2ibro6k2x.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2x8z3hqn1ri0xulg.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.2zm95cjf8t4xdwj6.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3099maip5h4a3e2l.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.30vvh37lsryyc3fa.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3373efvok5ck4jea.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.34jankr8lp028o1n.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.36zd3lq6zu1gbghq.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.380vbzwzq2zutlpe.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.39honvmtusks29xa.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3cl6p3rsje1woitt.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3crn092ookhmfy6i.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3djfr0254m7bj8cc.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3hgxnrbykpdekhmr.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3hoxz2jn107qubvh.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3inpuluubzi89owa.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3mwxz06rlhvwi0gl.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3ovlpnvz7pxl6lun.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3p2i0j50kefrxcs4.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3u0qdpnmor6cyhck.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3unu0gq266smhbz1.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3uwuhsxtubp1o48z.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3wacpjd3jl1mulhq.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.40qy22123rn8g5r9.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.44cpo7xz2si9zwqg.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.46ykkrwdl4x897iz.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.48o7pvb1oaiihjr1.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4cmqthfx2a1clmtr.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4dsqs0a8fwudvqwo.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4hmdfqjgtnhgzivr.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4hsuw32r993zgiix.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4m251152laz1hmn.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4mfsc0w8zf4wzt1g.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4pbi6oo5tffd8xto.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4pxh0yu4t50faxvl.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4r3vlnheb0eokhqt.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4rwxn3sn51kwm3i0.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4xaftjp6rge8i21o.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.4xyjytve0b2i9lk9.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.5255dejfe546xlyx.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.54dcq7po7zc74bpn.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.54e8jc81yur037oo.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.56jb4hteyuxyyvjx.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.5b476wbn3tgyjipf.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.5bwjeob2veri1t2v.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.5cl2acr39rkze65h.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.5fv5rekpv5dof4ym.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.89sopw2343ypl0e.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.bw3q9whij1dm2gm.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.kjt4q360p3nxhcd.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.lqvr6dscsva2x9i.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.mk1kog9c4sn2fiv.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.q28dl43pz0x69up.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.t30pkv72z556us6.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.u5vo0ct75r2d1wy.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.vczdz8d45kf2fnr.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.vj8k5ej8bsf7lhd.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.w7hc3y6fp8sgu1r.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.xjf39irs7i0gj94.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.xk42dli8dcurfuy.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.yo2odknitdh5fgc.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.zf3i6w6mnfa1xkt.rcgu.o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de.3nq13lirk6iczs1s.rcgu.o" "-Wl,--as-needed" "-L" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps" "-L" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/build/hercules-annotator-47dc54db0e2f8820/out" "-L" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/build/hercules-annotator-47dc54db0e2f8820/out/build" "-L" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/build/cxx-05b013d5885ff5ab/out" "-L" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/build/link-cplusplus-ff8f857c63c70f89/out" "-L" "/usr/lib" "-L" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/build/neon-sys-ca0cf925a7ce5e67/out" "-L" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libtest-1d3f9adee124c140.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgetopts-adf60a6a1cc99aaf.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunicode_width-a907d1e2fbe41d36.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_std-c17f2c2092a5d3a7.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libhercules-4ee96b495dad3f11.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libchrono-9d8bded9774f0449.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libasync_log-257b69b513a82e14.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libfern-eb5f6e0e7aa883fc.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libsyslog-694ccf86d7d6e90a.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libtime-0b1a39063890e4a4.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liberror_chain-c3bb66f602521ebc.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libbacktrace-ade0c858733c704b.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libminiz_oxide-fbe88607f51f7399.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libadler-33172fd980bcee7d.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libobject-ee4eb975f19215ea.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libaddr2line-292364fe5a05105f.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libgimli-b91a25022988cb59.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/librustc_demangle-e70e78df74237a66.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcolored-450bef62fcff6057.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libatty-568ab68a746a0422.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libhercules_phase.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libpyo3-2331a71f12fbfa87.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libparking_lot-f49d60007faf8e47.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libparking_lot_core-bbacb4e7e2820cb9.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liblock_api-82053afa370c8b77.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libinstant-8140600e2b336e98.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libunindent-095a213d9973ac04.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libpaste-ea31153a5932f6ca.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libindoc-bcf9247f293c5aad.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libhercules_clipper-95d8058bcd9b3b35.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libgstreamer-eae3731403b16cf1.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libpretty_hex-9acc66eee1dfc59a.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libmuldiv-90dc52014ca22a78.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libnum_rational-d28f916acaf1a0f3.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libnum_integer-5085e18cd796b2f0.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libnum_traits-cf28613544b94a0d.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libglib-b23662b7c7c53478.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libfutures_executor-f66b2e761239e0f9.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libfutures_util-63ae8b286b1e6760.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libslab-95a4d7b584a021c4.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libpin_project_lite-5ec7175efaabb61c.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libpin_utils-f3626f99c0303588.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libfutures_task-2e125296ca1116cb.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libfutures_channel-4b31b1b23cd3b9f0.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libfutures_core-7700e808ded54249.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libgstreamer_sys-9b1f424fa8d53a2f.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libgobject_sys-6febcca030439cc8.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libglib_sys-92e2de44e2b50d91.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libthiserror-53f9239c3214e60b.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libonce_cell-29adfde4809508a2.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libbitflags-01e4437f3078d39d.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libhercules_annotator-472f09ee28b93d83.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libhercules_core-a38e53a5dab4456a.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/librayon-f2ae539160027df2.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/librayon_core-63a8b670837845fa.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libnum_cpus-7bd561c31c5059b9.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcrossbeam_deque-e246bb645c3ed466.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcrossbeam_epoch-bc17a46b1de3cb15.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libmemoffset-8e55b168ccd4d45b.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libscopeguard-89fefb27e90b3ba6.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcrossbeam_channel-a440ce0cc6152968.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcrossbeam_utils-fda644151146f467.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liblazy_static-34e665e8c18442e7.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libeither-dcad09e3612f0576.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libserde_json-5e1f31485cd184eb.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libryu-d32d5304187421fd.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libitoa-b751060cfd5aae56.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libuuid-e12f17fc5d2109ac.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libgetrandom-7389765a54879500.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liblibc-61ed1e3e26dc6cdc.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libregex-39ac5f74e8040b7f.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libaho_corasick-015715a579d96188.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libmemchr-6127110982d4deed.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libregex_syntax-5f99d85e7aa20c3c.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liblockfree-259d60ae7b61683a.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libowned_alloc-966284b9e46e2ee7.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liblog-a60385b8a257136e.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libvalue_bag-ffa6d486436700f6.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libanyhow-bac69dfabd66c7af.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libserde-d5f45ae658fad754.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcxx-f273ae35bb40b273.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/liblink_cplusplus-0d22a466e31ae971.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libneon-f940189553ec4519.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libsmallvec-67a4b31c2573fdbe.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libsemver-fd969e52f8afcc94.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libsemver_parser-961edc737917be99.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcslice-4cc57c0d34d8011f.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libneon_runtime-8f98ba5ac110d166.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libneon_sys-b6507dd0389c04a6.rlib" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libcfg_if-ab143ea84ab1a05a.rlib" "-Wl,--start-group" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7c582493123fc1dd.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1392776590706175.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-2eb6edf4d031cd1e.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-33a7ad3b5f7fedf6.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-7d32adce541987d9.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-5cb369120f224726.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ab2efd1d2f431a9.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-567f611439253c7e.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-ebbc63efd6d2efc5.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-862830f0d224a2e1.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-cad0401ae7a80e32.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-fd54290077194763.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4fc3313c8ccb1ec0.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-19bf8dffe82b09d4.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-afc95b1640c4beca.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-aff6658baa87e3d1.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-8be8a1689a4f7b48.rlib" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5284934f66073844.rlib" "-Wl,--end-group" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-2a0b2a4f96acb821.rlib" "-Wl,-Bdynamic" "-lpython3.8" "-lgstreamer-1.0" "-lgobject-2.0" "-lglib-2.0" "-lgobject-2.0" "-lglib-2.0" "-lklanatomyinf" "-lopencv_core" "-lopencv_imgproc" "-lopencv_imgcodecs" "-lopencv_freetype" "-lklanatomymasks" "-lstdc++" "-lstdc++" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/home/mason/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/hercules_js-1cc696923cf491de" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs"
= note: /usr/bin/ld: /home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/deps/libneon_sys-b6507dd0389c04a6.rlib(neon.o): in function `Nan::imp::FunctionCallbackWrapper(v8::FunctionCallbackInfo<v8::Value> const&)':
/home/mason/Workspace/kaliber/stratus/backend/lib/hercules-js/native/target/debug/build/neon-sys-ca0cf925a7ce5e67/out/native/build/../node_modules/nan/nan_callbacks_12_inl.h:173: undefined reference to `v8::External::Value() const'
(more instances of undefined symbol references)...
Running cargo test --release does not result in the same linker errors. The linker errors also only showed up after the other Rust code that uses C++ was not being dead code eliminated by the rust compiler.
The issue seems similar to https://github.com/neon-bindings/neon/issues/357 with the main difference being platform.
Any help would be greatly appreciated, thanks!
Environment
OS: Ubuntu 20.04 Neon version: 0.7.1 rust version: 1.57.0
This sounds like an issue that has been fixed. I recommend upgrading to the lastest version and seeing if the issue persists.