V8 build failing for static libs on windows: VS 2017, Windows 10



*FAILED: cctest.exe cctest.exe.pdbninja -t msvc -e environment.x64 -- 
../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo 
/OUT:./cctest.exe /PDB:./cctest.exe.pdb 
@./cctest.exe.rsp../../third_party/llvm-build/Release+Asserts/bin\lld-link.exe: 
error: <root>: undefined symbol: mainCRTStartupninja: build stopped: 
subcommand failed.*

Build process does create libs but when try to link these to any project:

*out.gn\x64.release\obj\v8_base.lib : fatal error LNK1127: library is 
corrupt*

Same results for ia32 target cpu.




*FAILED: cctest.exe cctest.exe.pdbninja -t msvc -e environment.x86 -- 
../../third_party/llvm-build/Release+Asserts/bin/lld-link.exe /nologo 
/OUT:./cctest.exe /PDB:./cctest.exe.pdb 
@./cctest.exe.rsp../../third_party/llvm-build/Release+Asserts/bin\lld-link.exe: 
error: <root>: undefined symbol: _mainCRTStartupninja: build stopped: 
subcommand failed.*

Any help would be appreciated.

Thanks
Ajit

-- 
-- 
v8-dev mailing list
v8-dev@googlegroups.com
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to