Status: New
Owner: ----
New issue 3726 by [email protected]: VS 2013 compile issues
https://code.google.com/p/v8/issues/detail?id=3726
Following https://code.google.com/p/v8-wiki/wiki/BuildingWithGYP
Using Visual Studio 2013, and following all the steps listed in that wiki,
and launching MSVC, and then hitting F7, produces the following problems
outlined below.
{{{
python build\gyp_v8 -Dtarget_arch=32
}}}
{{{
1>------ Build started: Project: mksnapshot, Configuration: Debug Win32
------
1>v8_base.lib(pipeline.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
1>mksnapshot.obj : error LNK2019: unresolved external symbol "private:
static void __cdecl v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z) referenced in
function "public: static void __cdecl
v8::internal::CpuFeatures::Probe(bool)"
(?Probe@CpuFeatures@internal@v8@@SAX_N@Z)
1>v8_base.lib(api.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
1>v8_base.lib(flags.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
1>v8_base.lib(v8.obj) : error LNK2001: unresolved external symbol "private:
static void __cdecl v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
1>v8_base.lib(utils.obj) : error LNK2019: unresolved external symbol "void
(__cdecl*__cdecl v8::internal::CreateMemMoveFunction(void))(void *,void
const *,unsigned int)"
(?CreateMemMoveFunction@internal@v8@@YAP6AXPAXPBXI@ZXZ) referenced in
function "void __cdecl v8::internal::init_memcopy_functions(void)"
(?init_memcopy_functions@internal@v8@@YAXXZ)
1>v8_base.lib(flags.obj) : error LNK2019: unresolved external
symbol "public: static void __cdecl
v8::internal::CpuFeatures::PrintTarget(void)"
(?PrintTarget@CpuFeatures@internal@v8@@SAXXZ) referenced in
function "public: static void __cdecl
v8::internal::FlagList::PrintHelp(void)"
(?PrintHelp@FlagList@internal@v8@@SAXXZ)
1>v8_base.lib(flags.obj) : error LNK2019: unresolved external
symbol "public: static void __cdecl
v8::internal::CpuFeatures::PrintFeatures(void)"
(?PrintFeatures@CpuFeatures@internal@v8@@SAXXZ) referenced in
function "public: static void __cdecl
v8::internal::FlagList::PrintHelp(void)"
(?PrintHelp@FlagList@internal@v8@@SAXXZ)
1>v8_base.lib(objects.obj) : error LNK2019: unresolved external
symbol "private: static void __cdecl
v8::internal::Code::GetCodeAgeAndParity(class v8::internal::Isolate
*,unsigned char *,enum v8::internal::Code::Age *,enum
v8::internal::MarkingParity *)"
(?GetCodeAgeAndParity@Code@internal@v8@@CAXPAVIsolate@23@PAEPAW4Age@123@PAW4MarkingParity@23@@Z)
referenced in function "public: enum v8::internal::Code::Age __thiscall
v8::internal::Code::GetRawAge(void)"
(?GetRawAge@Code@internal@v8@@QAE?AW4Age@123@XZ)
1>v8_base.lib(objects.obj) : error LNK2019: unresolved external
symbol "private: static void __cdecl
v8::internal::Code::PatchPlatformCodeAge(class v8::internal::Isolate
*,unsigned char *,enum v8::internal::Code::Age,enum
v8::internal::MarkingParity)"
(?PatchPlatformCodeAge@Code@internal@v8@@CAXPAVIsolate@23@PAEW4Age@123@W4MarkingParity@23@@Z)
referenced in function "public: static void __cdecl
v8::internal::Code::MakeCodeAgeSequenceYoung(unsigned char *,class
v8::internal::Isolate *)"
(?MakeCodeAgeSequenceYoung@Code@internal@v8@@SAXPAEPAVIsolate@23@@Z)
1>v8_base.lib(liveedit.obj) : error LNK2001: unresolved external
symbol "public: static void __cdecl
v8::internal::CpuFeatures::FlushICache(void *,unsigned int)"
(?FlushICache@CpuFeatures@internal@v8@@SAXPAXI@Z)
1>v8_base.lib(debug.obj) : error LNK2001: unresolved external
symbol "public: static void __cdecl
v8::internal::CpuFeatures::FlushICache(void *,unsigned int)"
(?FlushICache@CpuFeatures@internal@v8@@SAXPAXI@Z)
1>v8_base.lib(deoptimizer.obj) : error LNK2001: unresolved external
symbol "public: static void __cdecl
v8::internal::CpuFeatures::FlushICache(void *,unsigned int)"
(?FlushICache@CpuFeatures@internal@v8@@SAXPAXI@Z)
1>v8_base.lib(mark-compact.obj) : error LNK2001: unresolved external
symbol "public: static void __cdecl
v8::internal::CpuFeatures::FlushICache(void *,unsigned int)"
(?FlushICache@CpuFeatures@internal@v8@@SAXPAXI@Z)
...
540+ lines trimmed
...
1>..\..\build\Debug\mksnapshot.exe : fatal error LNK1120: 577 unresolved
externals
========== Build: 0 succeeded, 8 failed, 15 up-to-date, 0 skipped ==========
}}}
Same results with a Release build as well.
Using the below gyp options at least gets most of it compiled, except the
unit tests, and it bombs with the below.
I want to compile unit tests to make sure V8 built correctly.
{{{
python build\gyp_v8 -Dtarget_arch=32 -Dv8_enable_i18n_support=0
-Dv8_use_snapshot=0
}}}
{{{
1>------ Build started: Project: cctest, Configuration: Debug Win32 ------
2>------ Build started: Project: d8, Configuration: Debug Win32 ------
3>------ Build started: Project: parser-shell, Configuration: Debug Win32
------
4>------ Build started: Project: process, Configuration: Debug Win32 ------
1> test-sampler-api.cc
1>K:\v8-git-mirror\src/simulator.h(23): fatal error C1189: #error :
Unsupported target architecture.
5>------ Build started: Project: shell, Configuration: Debug Win32 ------
4>v8_base.lib(api.obj) : error LNK2019: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z) referenced in
function "public: static void __cdecl
v8::internal::CpuFeatures::Probe(bool)"
(?Probe@CpuFeatures@internal@v8@@SAX_N@Z)
3>v8_base.lib(api.obj) : error LNK2019: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z) referenced in
function "public: static void __cdecl
v8::internal::CpuFeatures::Probe(bool)"
(?Probe@CpuFeatures@internal@v8@@SAX_N@Z)
2>v8_base.lib(api.obj) : error LNK2019: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z) referenced in
function "public: static void __cdecl
v8::internal::CpuFeatures::Probe(bool)"
(?Probe@CpuFeatures@internal@v8@@SAX_N@Z)
4>v8_base.lib(flags.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
3>v8_base.lib(flags.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
3>v8_base.lib(v8.obj) : error LNK2001: unresolved external symbol "private:
static void __cdecl v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
2>v8_base.lib(flags.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
4>v8_base.lib(v8.obj) : error LNK2001: unresolved external symbol "private:
static void __cdecl v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
2>v8_base.lib(v8.obj) : error LNK2001: unresolved external symbol "private:
static void __cdecl v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
4>v8_base.lib(pipeline.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
4>v8_base.lib(utils.obj) : error LNK2019: unresolved external symbol "void
(__cdecl*__cdecl v8::internal::CreateMemMoveFunction(void))(void *,void
const *,unsigned int)"
(?CreateMemMoveFunction@internal@v8@@YAP6AXPAXPBXI@ZXZ) referenced in
function "void __cdecl v8::internal::init_memcopy_functions(void)"
(?init_memcopy_functions@internal@v8@@YAXXZ)
3>v8_base.lib(pipeline.obj) : error LNK2001: unresolved external
symbol "private: static void __cdecl
v8::internal::CpuFeatures::ProbeImpl(bool)"
(?ProbeImpl@CpuFeatures@internal@v8@@CAX_N@Z)
3>v8_base.lib(heap.obj) : error LNK2019: unresolved external
symbol "public: static void __cdecl
v8::internal::CodeStub::GenerateStubsAheadOfTime(class
v8::internal::Isolate *)"
(?GenerateStubsAheadOfTime@CodeStub@internal@v8@@SAXPAVIsolate@23@@Z)
referenced in function "private: void __thiscall
v8::internal::Heap::CreateFixedStubs(void)"
(?CreateFixedStubs@Heap@internal@v8@@AAEXXZ)
...
540+ lines trimmed
...
6>..\..\build\Debug\unittests.exe : fatal error LNK1120: 578 unresolved
externals
========== Build: 0 succeeded, 6 failed, 12 up-to-date, 0 skipped ==========
}}}
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/d/optout.