[G3 Q&A, Help & Troubleshooting] fprhqkrtk303:
Hello, I'm trying to build CM12 for F400, which is korean G3, but everytime I try to build, it faces error.

So, I tried to build D855 to see whether it completes, but also it prints same error.

I re-repo the whole android source/local manifests, changed toolchain/java heap size, but nothing gets better.

Anyone got idea?

------------------------------------------------------------------------------------------------------------

external/chromium_org/v8/src/arm/lithium-arm.cc:1503: error: undefined reference to 'v8::internal::HValue::UseCount() const'

external/chromium_org/v8/src/arm/lithium-arm.cc:2079: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'

external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'

external/chromium_org/v8/src/arm/lithium-arm.cc:2185: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'

external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'

external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'

external/chromium_org/v8/src/arm/lithium-arm.cc:2454: error: undefined reference to 'v8::internal::HCapturedObject::ReplayEnvironment(v8::internal::HEnvironment*)'

external/chromium_org/v8/src/arm/lithium-arm.cc:2496: error: undefined reference to 'v8::internal::HSimulate::ReplayEnvironment(v8::internal::HEnvironment*)'

external/chromium_org/v8/src/hydrogen-instructions.h:5691: error: undefined reference to 'v8::internal::HConstant::ImmortalImmovable() const'

external/chromium_org/v8/src/arm/lithium-arm.h:2226: error: undefined reference to 'v8::internal::HStoreKeyed::NeedsCanonicalization()'

external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5059: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'

external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:5041: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'

external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3321: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'

external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:3287: error: undefined reference to 'v8::internal::HLoadKeyed::RequiresHoleCheck() const'

external/chromium_org/v8/src/arm/lithium-codegen-arm.cc:2943: error: undefined reference to 'v8::internal::HLoadGlobalCell::RequiresHoleCheck() const'

external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'

external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'

external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'

external/chromium_org/v8/src/hydrogen-bce.cc:283: error: undefined reference to 'v8::internal::HValue::ReplaceAllUsesWith(v8::internal::HValue*)'

external/chromium_org/v8/src/hydrogen-bce.cc:257: error: undefined reference to 'v8::internal::HInstruction::Unlink()'

external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'

external/chromium_org/v8/src/hydrogen-bce.cc:189: error: undefined reference to 'v8::internal::HInstruction::Unlink()'

external/chromium_org/v8/src/hydrogen-bce.cc:258: error: undefined reference to 'v8::internal::HInstruction::InsertBefore(v8::internal::HInstruction*)'

external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'

external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData::DecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'

external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'

external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'

external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'

external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData::DecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'

external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'

external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'

external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:333: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:294: error: undefined reference to 'v8::internal::InductionVariableData::UpdateAdditionalLimit(v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:346: error: undefined reference to 'v8::internal::InductionVariableData::ChecksRelatedToLength::CloseCurrentBlock()'

external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'

external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData::DecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'

external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'

external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'

external/chromium_org/v8/src/hydrogen-instructions.h:3283: error: undefined reference to 'v8::internal::InductionVariableData::ExaminePhi(v8::internal::HPhi*)'

external/chromium_org/v8/src/hydrogen-bch.cc:290: error: undefined reference to 'v8::internal::InductionVariableData::ComputeInductionVariableLimit(v8::internal::HBasicBlock*, v8::internal::InductionVariableLimitUpdate*)'

external/chromium_org/v8/src/hydrogen-bch.cc:301: error: undefined reference to 'v8::internal::InductionVariableData::DecomposeBitwise(v8::internal::HValue*, v8::internal::InductionVariableData::BitwiseDecompositionResult*)'

external/chromium_org/v8/src/hydrogen-bch.cc:323: error: undefined reference to 'v8::internal::InductionVariableData::ComputeUpperLimit(int, int)'

external/chromium_org/v8/src/hydrogen-bch.cc:324: error: undefined reference to 'v8::internal::InductionVariableData::AddCheck(v8::internal::HBoundsCheck*, int)'

external/chromium_org/v8/src/hydrogen-canonicalize.cc:29: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'

external/chromium_org/v8/src/hydrogen-canonicalize.cc:26: error: undefined reference to 'v8::internal::HValue::HasAtLeastOneUseWithFlagAndNoneWithout(v8::internal::HValue::Flag) const'

external/chromium_org/v8/src/hydrogen-check-elimination.cc:474: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckMaskAndTag(unsigned char*, unsigned char*)'

external/chromium_org/v8/src/hydrogen-check-elimination.cc:470: error: undefined reference to 'v8::internal::HCheckInstanceType::GetCheckInterval(v8::internal::InstanceType*, v8::internal::InstanceType*)'

external/chromium_org/v8/src/hydrogen-instructions.h:3234: error: undefined reference to 'vtable for v8::internal::HPhi'

external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'

external/chromium_org/v8/src/hydrogen-instructions.h:3412: error: undefined reference to 'vtable for v8::internal::HCapturedObject'

collect2: ld returned 1 exit status

make: *** [/home/thenoface303/android/cm12/out/host/linux-x86/obj32/EXECUTABLES/v8_tools_gyp_mksnapshot_arm_host_gyp_intermediates/mksnapshot] error 1

make: *** Waiting for unfinished jobs....

thenoface303@thenoface303-Satellite-M300:~/android/cm12$

-------------------------------------------------------------------------------------------------------------------------------