Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot cross compile for 64bit from i686 #485

Closed
kdy1 opened this issue Feb 6, 2020 · 2 comments
Closed

Cannot cross compile for 64bit from i686 #485

kdy1 opened this issue Feb 6, 2020 · 2 comments

Comments

@kdy1
Copy link

kdy1 commented Feb 6, 2020

See: https://ci.appveyor.com/project/kdy1/node-swc/builds/30609032/job/3ab4cpx0w3xvr3sp

error: linking with `link.exe` failed: exit code: 1120
  |
  = note: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\bin\\amd64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\ffi.ffi.2ulfluy5-cgu.0.rcgu.o" "/OUT:C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\ffi.dll" "/DEF:C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\rustcnLDZxy\\lib.def" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\ffi.1psah2tew2lfap3s.rcgu.o" "/OPT:REF,ICF" "/DEBUG" "/NATVIS:C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps" "/LIBPATH:C:\\projects\\node-swc\\native\\target\\release\\deps" "/LIBPATH:C:\\\\Users\\\\appveyor\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\8.17.0\\Release" "/LIBPATH:C:\\\\Users\\\\appveyor\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\8.17.0\\ia32" "/LIBPATH:C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\atlmfc\\lib\\amd64" "/LIBPATH:C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\build\\neon-sys-c417d425aaa9ba3e\\out" "/LIBPATH:C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "node.lib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc-b96b521ed22f0cfb.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libfailure-7ef4a11c98b83706.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecmascript-5e46b9ea284a3d10.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecma_preset_env-4c018888e86c9774.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecma_transforms-2ffe91be4c5dfa67.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libinflector-0c10d7cd965112c5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libindexmap-2364d402f4644b4e.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libordered_float-3936499f756efc19.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecma_utils-bab954942fc9295f.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libst_map-b17e73fc152392c3.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libarrayvec-ddb904139d2f8aa8.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecma_parser-8df3cf36d9ecb220.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libunicode_xid-3cccde5c55865e7b.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libonce_cell-c53ea81bdb600ab2.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecma_codegen-f1f02ef5404dc025.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libbitflags-0d59abf21b4c56f5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_ecma_ast-791e2a1b4345670c.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_bigint-64c6469c36c8c608.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_common-b18dfe85b0d10084.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libscoped_tls-c73a0de46353f71e.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libparking_lot-2f5388cbc460a205.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libparking_lot_core-4bb30a377852d6f0.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libsmallvec-8a4c393077090352.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libmaybe_uninit-db6f14bb3acb1af4.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand-45a608b1a3f4e563.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_xorshift-3daa8a2a69066b37.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_pcg-e0a6872ced03ffdf.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_hc-cb2cd71631a942cf.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_chacha-13ae9420deb998dd.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_isaac-a8de9d482758e0e7.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_core-36c491bd0d22000c.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_os-73b662ef2c4f218c.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_jitter-c46392a0cb377ac5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librand_core-719bd94fcf3eded0.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\liblock_api-679ebffe993b0b76.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libowning_ref-7f43d66aba5e53e3.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libstable_deref_trait-80f069197429e796.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libscopeguard-efb0ca009fd7b817.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libeither-bd78ce9e4e570034.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libunicode_width-9820621e7dcdb3d8.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libatty-7b59773f2e6bd7ce.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\liblog-4068b63e851d35d5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libtermcolor-37d6c02aecb5d58a.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libwinapi_util-2288f3b9036c56e4.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libwinapi-87d174513a6bffd9.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libhashbrown-4aa8af28260c18a8.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libahash-f43e92b0414c0efe.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libfxhash-db8a5b927546c2d4.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libdashmap-da3b2503d22e1a3b.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_cpus-fdd028814597fe45.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libahash-1033c134964b9a54.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libconst_random-7acce65e160a7d8c.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libqadapt_spin-ef3ba68d78134bf6.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libswc_atoms-0a39224623e9fda8.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libstring_cache-9304a0719f4df9b1.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libprecomputed_hash-b389f9921349d371.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libphf_shared-8955701725dc0907.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libsiphasher-6f5165a5c9051428.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libdebug_unreachable-ce20235239e36f6a.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libsourcemap-e1031b0f783a3df9.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libregex-cf27fde0f145649b.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libthread_local-4e407e33c8813737.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libregex_syntax-a3560ffe1a48f499.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libaho_corasick-157559a0955a6c34.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libmemchr-810634d6f8ac9286.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\liblazy_static-9c0fb536a727a3a9.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libif_chain-88d9e316f2a8d636.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libserde_json-07489fe73644af28.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libryu-92a0c1c5cb733c3e.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libitoa-203743fde9fbfa06.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libbase64-8ce0adf958c3db53.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libbyteorder-0dc120b18eb897d5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\liburl-f0ef333e3d9d6e89.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libpercent_encoding-a12d5d9a48445912.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libidna-f69b2113b69868c7.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libunicode_normalization-0891e695921d4c73.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libsmallvec-00e7cbf2df6695d3.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libunicode_bidi-52699744a5919d01.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libmatches-61c8a638f5536c7f.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libpath_clean-c174ceccefe7fde0.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libneon_serde-9b4f3000547fc91c.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum-29c6d40c5d633c51.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_rational-f688bf0892e51a9a.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_iter-d43239e6bb98c89f.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_integer-c13056238a781b8b.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_complex-a5304b60ec6fe858.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libnum_traits-86e72a351f9399b5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\liberror_chain-69a263bc3ae1ab0d.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libbacktrace-c3ccab6e217a56e5.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\librustc_demangle-2c3fae193463bd15.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libneon-c1acbb7fcd6fe121.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libsemver-e851ecce70b7ee0c.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libserde-8b3c6c016c8b1290.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libsemver_parser-56b5cefed8436c12.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libcslice-7f478f61ad411bf1.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libneon_runtime-d0b014a98e0b71aa.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libneon_sys-1bbd0e02c7e7cb6d.rlib" "C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\libcfg_if-e4d6c938bdc751da.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-49bd31a0ad07fc80.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-0aa11d379fbde40f.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-4ebf145432f2ce05.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-5514e607c2486060.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-1ba2b3258c137daf.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_demangle-4f09dc44ac1134e9.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-11c355d32b7674e9.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-ff2ffffcf320eb44.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-611c5dceb33cfc1e.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-134e2f12200557aa.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-bc4239fb3383a1e0.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-14088ce38d75534c.rlib" "C:\\Users\\appveyor\\.rustup\\toolchains\\nightly-i686-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-9249815141d8fe83.rlib" "advapi32.lib" "cfgmgr32.lib" "credui.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "opengl32.lib" "secur32.lib" "user32.lib" "winspool.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib" "/DLL" "/IMPLIB:C:\\projects\\node-swc\\native\\target\\x86_64-pc-windows-msvc\\release\\deps\\ffi.dll.lib"
  = note:    Creating library C:\projects\node-swc\native\target\x86_64-pc-windows-msvc\release\deps\ffi.dll.lib and object C:\projects\node-swc\native\target\x86_64-pc-windows-msvc\release\deps\ffi.dll.exp
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Object_GetOwnPropertyNames referenced in function _ZN10neon_serde2de10from_value17hfc1c8f538926883bE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_GetConstructKernel referenced in function _ZN119_$LT$neon..object..class..internal..ConstructCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$bool$GT$$GT$6invoke17hceecc47b3556023aE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Call_SetReturn referenced in function _ZN119_$LT$neon..object..class..internal..ConstructCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$bool$GT$$GT$6invoke17hceecc47b3556023aE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2001: unresolved external symbol Neon_Call_SetReturn
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Error_ThrowErrorFromUtf8 referenced in function _ZN119_$LT$neon..object..class..internal..ConstructCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$bool$GT$$GT$6invoke17hceecc47b3556023aE
          libneon_serde-9b4f3000547fc91c.rlib(neon_serde-9b4f3000547fc91c.neon_serde.bqqeq8mo-cgu.0.rcgu.o) : error LNK2001: unresolved external symbol Neon_Error_ThrowErrorFromUtf8
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2001: unresolved external symbol Neon_Error_ThrowErrorFromUtf8
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Call_This referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Call_CurrentIsolate referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2001: unresolved external symbol Neon_Call_CurrentIsolate
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Fun_GetDynamicCallback referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_ThrowThisError referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_CreateBase referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_SetName referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Fun_Template_New referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_AddMethod referenced in function _ZN120_$LT$neon..object..class..internal..MethodCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h2f31a386e537bfbbE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_GetAllocateKernel referenced in function _ZN143_$LT$neon..object..class..internal..AllocateCallback$LT$T$GT$$u20$as$u20$neon..object..class..Callback$LT$$BP$mut$u20$core..ffi..c_void$GT$$GT$6invoke17hf9876edf6b3ff614E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Object_Get referenced in function _ZN179_$LT$swc..config.._IMPL_DESERIALIZE_FOR_Options..$LT$impl$u20$serde..de..Deserialize$u20$for$u20$swc..config..Options$GT$..deserialize..__Visitor$u20$as$u20$serde..de..Visitor$GT$9visit_map17ha4dd6f0cfda35ce9E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Convert_ToString referenced in function _ZN179_$LT$swc..config.._IMPL_DESERIALIZE_FOR_Options..$LT$impl$u20$serde..de..Deserialize$u20$for$u20$swc..config..Options$GT$..deserialize..__Visitor$u20$as$u20$serde..de..Visitor$GT$9visit_map17ha4dd6f0cfda35ce9E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_GetInstanceInternals referenced in function _ZN4neon6borrow6Borrow6borrow17h2391cdaf77b792c6E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsBoolean referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17h1b8a061bcc32b525E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsUndefined referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17h79a32a2d4c0ed716E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsNumber referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17h803ec71eb171c5bdE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsArray referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17ha78bab658683d830E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsBuffer referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17hb0fb78a407e0d988E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsNull referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17hbc3c4eaa425cc781E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsObject referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17hd70a39d7b4aba7c5E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsString referenced in function _ZN4neon6handle15Handle$LT$T$GT$8downcast17hd78a9b24ad033e3aE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Error_NewTypeError referenced in function _ZN4neon6handle165_$LT$impl$u20$neon..result..JsResultExt$LT$T$GT$$u20$for$u20$core..result..Result$LT$neon..handle..Handle$LT$T$GT$$C$neon..handle..DowncastError$LT$F$C$T$GT$$GT$$GT$8or_throw17h2135444ddc03e404E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Error_Throw referenced in function _ZN4neon6handle165_$LT$impl$u20$neon..result..JsResultExt$LT$T$GT$$u20$for$u20$core..result..Result$LT$neon..handle..Handle$LT$T$GT$$C$neon..handle..DowncastError$LT$F$C$T$GT$$GT$$GT$8or_throw17h2135444ddc03e404E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_ThrowCallError referenced in function _ZN4neon6object5class8internal23ConstructorCallCallback7default8callback17h40c5b8e5657adeaeE
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Call_Get referenced in function _ZN4neon7context12CallbackInfo7require17he6ad5fca6dbcc1c0E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Tag_IsFunction referenced in function _ZN4neon7context20CallContext$LT$T$GT$8argument17hddeeec4da8d73977E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Error_NewError referenced in function _ZN4neon7context7Context11throw_error17h0cb8158798b42026E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Task_Schedule referenced in function _ZN62_$LT$ffi..JsCompiler$u20$as$u20$neon..object..class..Class$GT$5setup47_______method_rust_y_u_no_hygienic_items_______17h1917565a1745c015E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Class_MetadataToConstructor referenced in function _ZN3ffi18__LOAD_NEON_MODULE18__init_neon_module17h9a36416803797b19E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol Neon_Module_GetVersion referenced in function _ZN3ffi18__LOAD_NEON_MODULE18__load_neon_module17he41e3fd9a9a39b76E
          ffi.ffi.2ulfluy5-cgu.0.rcgu.o : error LNK2019: unresolved external symbol node_module_register referenced in function _ZN3ffi18__LOAD_NEON_MODULE18__load_neon_module17he41e3fd9a9a39b76E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Class_GetClassMap referenced in function _ZN4neon7context8internal7Isolate9class_map17haf37843c68169825E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Class_SetClassMap referenced in function _ZN4neon7context8internal7Isolate9class_map17haf37843c68169825E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Call_Data referenced in function _ZN4neon7context12CallbackInfo4data17ha085880eff5ab3bbE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Call_IsConstruct referenced in function _ZN4neon7context12CallbackInfo4kind17h0f4904a00d2621bdE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Call_Length referenced in function _ZN4neon7context12CallbackInfo3len17h4a7be47e6dbe851bE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Buffer_Data referenced in function _ZN74_$LT$$RF$neon..types..binary..JsBuffer$u20$as$u20$neon..borrow..Borrow$GT$10try_borrow17h9a9b7b1715183baeE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_ArrayBuffer_Data referenced in function _ZN79_$LT$$RF$neon..types..binary..JsArrayBuffer$u20$as$u20$neon..borrow..Borrow$GT$10try_borrow17h8437421d0194d45cE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Primitive_Undefined referenced in function _ZN4neon5types11JsUndefined3new17h4af6bb95219601e7E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Primitive_Null referenced in function _ZN4neon5types6JsNull3new17hb007c28d401491feE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Primitive_Boolean referenced in function _ZN4neon5types9JsBoolean12new_internal17h48029339904f726bE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Primitive_BooleanValue referenced in function _ZN4neon5types9JsBoolean5value17h348a2245fdcf2e0cE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_String_Utf8Length referenced in function _ZN4neon5types8JsString4size17hef2f08009217dfadE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_String_Data referenced in function _ZN4neon5types8JsString5value17h69a3bf554bd36811E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_String_New referenced in function _ZN4neon5types8JsString12new_internal17h2a739cfc329ab6a4E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Primitive_Number referenced in function _ZN4neon5types8JsNumber12new_internal17h87e1f5f692409b5eE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Primitive_NumberValue referenced in function _ZN4neon5types8JsNumber5value17h196e08ee6cde94eaE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Object_New referenced in function _ZN4neon5types8JsObject12new_internal17hfb90bd376be2268dE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Array_New referenced in function _ZN4neon5types7JsArray12new_internal17hf2f0ae3f8a3afa75E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Array_Length referenced in function _ZN4neon5types7JsArray3len17h1bef8c0cbf05ad43E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Class_GetCallKernel referenced in function _ZN120_$LT$neon..object..class..internal..ConstructorCallCallback$u20$as$u20$neon..object..class..Callback$LT$$LP$$RP$$GT$$GT$6invoke17h7035a4ead1a4cb15E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Class_HasInstance referenced in function _ZN4neon6object5class8internal13ClassMetadata12has_instance17hfb105e5fa29f4b1aE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Object_Get_Index referenced in function _ZN49_$LT$u32$u20$as$u20$neon..object..PropertyKey$GT$8get_from17h91e47e08d067d3f0E
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Object_Set_Index referenced in function _ZN49_$LT$u32$u20$as$u20$neon..object..PropertyKey$GT$8set_from17h08b1dce572f628efE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Object_Get_String referenced in function _ZN53_$LT$$RF$str$u20$as$u20$neon..object..PropertyKey$GT$8get_from17he618a6f12fa9e38bE
          libneon-c1acbb7fcd6fe121.rlib(neon-c1acbb7fcd6fe121.neon.50j8bovq-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Object_Set_String referenced in function _ZN53_$LT$$RF$str$u20$as$u20$neon..object..PropertyKey$GT$8set_from17h88f7c7fed8b2bb2fE
          libneon_runtime-d0b014a98e0b71aa.rlib(neon_runtime-d0b014a98e0b71aa.neon_runtime.2dkmth5o-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Scope_Enter referenced in function _ZN72_$LT$neon_sys..HandleScope$u20$as$u20$neon_runtime..nan..scope..Root$GT$5enter17hc66251a131c2e8c7E
          libneon_runtime-d0b014a98e0b71aa.rlib(neon_runtime-d0b014a98e0b71aa.neon_runtime.2dkmth5o-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Scope_Exit referenced in function _ZN72_$LT$neon_sys..HandleScope$u20$as$u20$neon_runtime..nan..scope..Root$GT$4exit17h4ad6b3e5cf4010bcE
          libneon_runtime-d0b014a98e0b71aa.rlib(neon_runtime-d0b014a98e0b71aa.neon_runtime.2dkmth5o-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Scope_Enter_Escapable referenced in function _ZN81_$LT$neon_sys..EscapableHandleScope$u20$as$u20$neon_runtime..nan..scope..Root$GT$5enter17haaab87cd794905ccE
          libneon_runtime-d0b014a98e0b71aa.rlib(neon_runtime-d0b014a98e0b71aa.neon_runtime.2dkmth5o-cgu.0.rcgu.o) : error LNK2019: unresolved external symbol Neon_Scope_Exit_Escapable referenced in function _ZN81_$LT$neon_sys..EscapableHandleScope$u20$as$u20$neon_runtime..nan..scope..Root$GT$4exit17h1da6b475d98682d2E
          C:\\Users\\appveyor\\AppData\\Local\\node-gyp\\Cache\\8.17.0\ia32\node.lib : warning LNK4272: library machine type 'X86' conflicts with target machine type 'x64'
          C:\projects\node-swc\native\target\x86_64-pc-windows-msvc\release\deps\ffi.dll : fatal error LNK1120: 63 unresolved externals

@goto-bus-stop
Copy link
Member

I believe with #583 it works for the N-API backend. At least, I can cross compile from x64 to i686 with that PR.

@kjvalencik
Copy link
Member

Closing since this does not impact the Node-API backend, only the legacy backend which is planned to be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants