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

librocksdb-sys与libv8冲突 #3

Open
juzi5201314 opened this issue Apr 4, 2023 · 0 comments
Open

librocksdb-sys与libv8冲突 #3

juzi5201314 opened this issue Apr 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@juzi5201314
Copy link
Contributor

暂时禁用rocksdb,直到找到解决办法。

error: linking with `rust-lld.exe` failed: exit code: 1
  |
  = note: "rust-lld.exe" "-flavor" "link" "/NOLOGO" "C:\\Users\\soeur\\AppData\\Local\\Temp\\rustcRm0Q0F\\symbols.o" (省略) "C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-798bc7c2d986ac97.rlib" "C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-a1b071fff6cb8f9b.rlib" "snmallocshim-rust.lib" "mincore.lib" "iphlpapi.lib" "windows.lib" "advapi32.lib" "winmm.lib" "dbghelp.lib" "msvcprt.lib" "rpcrt4.lib" "shlwapi.lib" "legacy_stdio_definitions.lib" "ntdll.lib" "kernel32.lib" "advapi32.lib" "cfgmgr32.lib" "credui.lib" "dbghelp.lib" "fwpuclnt.lib" "gdi32.lib" "iphlpapi.lib" "kernel32.lib" "msimg32.lib" "mswsock.lib" "netapi32.lib" "ntdll.lib" "ole32.lib" "oleaut32.lib" "opengl32.lib" "pdh.lib" "powrprof.lib" "psapi.lib" "runtimeobject.lib" "secur32.lib" "shell32.lib" "shlwapi.lib" "synchronization.lib" "user32.lib" "winspool.lib" "ws2_32.lib" "ntdll.lib" "windows.lib" "bcrypt.lib" "kernel32.lib" "advapi32.lib" "userenv.lib" "kernel32.lib" "ws2_32.lib" "bcrypt.lib" "msvcrt.lib" "legacy_stdio_definitions.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "/OUT:C:\\Users\\soeur\\CLionProjects\\CatPanelBackend\\target\\debug\\deps\\cat_panel_backend.exe" "/OPT:REF,NOICF" "/DEBUG" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\soeur\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
  = note: rust-lld: error: duplicate symbol: public: __cdecl std::exception_ptr::exception_ptr(void)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:218
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: __cdecl std::exception_ptr::exception_ptr(class std::exception_ptr const &)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:230
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: class std::exception_ptr & __cdecl std::exception_ptr::operator=(class std::exception_ptr const &)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:234
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: __cdecl std::exception_ptr::~exception_ptr(void)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:226
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: public: bool __cdecl std::exception_ptr::operator bool(void) const
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:245
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
          rust-lld: error: duplicate symbol: void __cdecl std::rethrow_exception(class std::exception_ptr)
          >>> defined at C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include\exception:311
          >>>            liblibrocksdb_sys-c0cf2e8c87fa4587.rlib(backup_engine.o)
          >>> defined at libv8-bc4e352cb66dca9f.rlib(exception.obj)
          
@juzi5201314 juzi5201314 added the bug Something isn't working label Apr 4, 2023
@juzi5201314 juzi5201314 mentioned this issue Apr 4, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant