Comment #2 on issue 1999 by [email protected]: v8 build issue with
gdbjit option enabled
http://code.google.com/p/v8/issues/detail?id=1999
After workaround this by comment it, hit another issue while linking
LINK(target) /home/kewpie/workspace/V8/v8/out/ia32.release/d8
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/builtins.o):
in function
v8::internal::Builtins::SetUp(bool):builtins.cc(.text._ZN2v88internal8Builtins5SetUpEb+0x1de):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
char const*, v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/compiler.o):
in function
v8::internal::Compiler::RecordFunctionCompilation(v8::internal::Logger::LogEventsAndTags,
v8::internal::CompilationInfo*,
v8::internal::Handle<v8::internal::SharedFunctionInfo>):compiler.cc(.text._ZN2v88internal8Compiler25RecordFunctionCompilationENS0_6Logger16LogEventsAndTagsEPNS0_15CompilationInfoENS0_6HandleINS0_18SharedFunctionInfoEEE+0x236):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::Script>,
v8::internal::Handle<v8::internal::Code>, v8::internal::CompilationInfo*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/compiler.o):
in function
v8::internal::MakeFunctionInfo(v8::internal::CompilationInfo*):compiler.cc(.text._ZN2v88internalL16MakeFunctionInfoEPNS0_15CompilationInfoE+0x5c6):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::Script>,
v8::internal::Handle<v8::internal::Code>, v8::internal::CompilationInfo*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/compiler.o):
in function
v8::internal::MakeFunctionInfo(v8::internal::CompilationInfo*):compiler.cc(.text._ZN2v88internalL16MakeFunctionInfoEPNS0_15CompilationInfoE+0x8ec):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::Script>,
v8::internal::Handle<v8::internal::Code>, v8::internal::CompilationInfo*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/full-codegen.o):
in function
v8::internal::FullCodeGenerator::MakeCode(v8::internal::CompilationInfo*):full-codegen.cc(.text._ZN2v88internal17FullCodeGenerator8MakeCodeEPNS0_15CompilationInfoE+0x5cc):
error: undefined reference
to 'v8::internal::GDBJITInterface::RegisterDetailedLineInfo(v8::internal::Code*,
v8::internal::GDBJITLineInfo*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/mark-compact.o):
in function
v8::internal::MarkCompactCollector::ReportDeleteIfNeeded(v8::internal::HeapObject*,
v8::internal::Isolate*):mark-compact.cc(.text._ZN2v88internal20MarkCompactCollector20ReportDeleteIfNeededEPNS0_10HeapObjectEPNS0_7IsolateE+0x48):
error: undefined reference
to 'v8::internal::GDBJITInterface::RemoveCode(v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCache::ComputeLoadNonexistent(v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::JSObject>):stub-cache.cc(.text._ZN2v88internal9StubCache22ComputeLoadNonexistentENS0_6HandleINS0_6StringEEENS2_INS0_8JSObjectEEE+0x230):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::String*, v8::internal::Code*)'
...<<<skip many lines of repeating similar error messages>>>...
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCache::ComputeLoadCallback(v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::JSObject>,
v8::internal::Handle<v8::internal::JSObject>,
v8::internal::Handle<v8::internal::AccessorInfo>):stub-cache.cc(.text._ZN2v88internal9StubCache19ComputeLoadCallbackENS0_6HandleINS0_6StringEEENS2_INS0_8JSObjectEEES6_NS2_INS0_12AccessorInfoEEE+0x17d):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::String*, v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCache::ComputeLoadConstant(v8::internal::Handle<v8::internal::String>,
v8::internal::Handle<v8::internal::JSObject>,
v8::internal::Handle<v8::internal::JSObject>,
v8::internal::Handle<v8::internal::JSFunction>):stub-cache.cc(.text._ZN2v88internal9StubCache19ComputeLoadConstantENS0_6HandleINS0_6StringEEENS2_INS0_8JSObjectEEES6_NS2_INS0_10JSFunctionEEE+0x17d):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::String*, v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCompiler::CompileCallInitialize(v8::internal::Code::Flags):stub-cache.cc(.text._ZN2v88internal12StubCompiler21CompileCallInitializeENS0_4Code5FlagsE+0x132):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCompiler::CompileCallPreMonomorphic(v8::internal::Code::Flags):stub-cache.cc(.text._ZN2v88internal12StubCompiler25CompileCallPreMonomorphicENS0_4Code5FlagsE+0x132):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCompiler::CompileCallNormal(v8::internal::Code::Flags):stub-cache.cc(.text._ZN2v88internal12StubCompiler17CompileCallNormalENS0_4Code5FlagsE+0x122):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::StubCompiler::CompileCallMegamorphic(v8::internal::Code::Flags):stub-cache.cc(.text._ZN2v88internal12StubCompiler22CompileCallMegamorphicENS0_4Code5FlagsE+0x122):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/stub-cache.o):
in function
v8::internal::ConstructStubCompiler::GetCode():stub-cache.cc(.text._ZN2v88internal21ConstructStubCompiler7GetCodeEv+0xb3):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
char const*, v8::internal::Code*)'
/usr/bin/ld:
/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/tools/gyp/libv8_base.a(/home/kewpie/workspace/V8/v8/out/ia32.release/obj.target/v8_base/src/code-stubs.o):
in function
v8::internal::CodeStub::RecordCodeGeneration(v8::internal::Code*,
v8::internal::MacroAssembler*):code-stubs.cc(.text._ZN2v88internal8CodeStub20RecordCodeGenerationEPNS0_4CodeEPNS0_14MacroAssemblerE+0xf5):
error: undefined reference
to 'v8::internal::GDBJITInterface::AddCode(v8::internal::GDBJITInterface::CodeTag,
char const*, v8::internal::Code*)'
collect2: ld returned 1 exit status
make[1]: *** [/home/kewpie/workspace/V8/v8/out/ia32.release/process] Error 1
make[1]: Leaving directory `/home/kewpie/workspace/V8/v8/out'
make: *** [ia32.release] Error 2
Please double check. Instructions are really wanted to workaround and
continue build. Thanks in advance for your time!
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev