Error building v8 4.9.385.28 on Ubuntu 14.04.5

14 views
Skip to first unread message

Mike H

unread,
Nov 3, 2017, 7:16:09 AM11/3/17
to v8-users
Hi, 

I'm getting the below error building v8 branch 4.9.385.28:

  CXX(target) /home/mike/build/v8/out/native/obj.target/v8_base/src/execution.o
In file included from ../src/crankshaft/lithium-allocator.cc:5:
In file included from .././src/crankshaft/lithium-allocator.h:9:
.././src/crankshaft/lithium.h:321:45: error: instantiation of variable 'v8::internal::LSubKindOperand<v8::internal::LOperand::Kind::REGISTER, 16>::cache' required here, but no definition is available
     
[-Werror,-Wundefined-var-template]
   
if (index < kNumCachedOperands) return &cache[index];
                                           
^
../src/crankshaft/lithium-allocator.cc:204:25: note: in instantiation of member function 'v8::internal::LSubKindOperand<v8::internal::LOperand::Kind::REGISTER, 16>::Create' requested here
        op
= LRegister::Create(assigned_register(), zone);
                       
^
.././src/crankshaft/lithium.h:334:27: note: forward declaration of template entity is here
 
static LSubKindOperand* cache;
                         
^
.././src/crankshaft/lithium.h:321:45: note: add an explicit instantiation declaration to suppress this warning if 'v8::internal::LSubKindOperand<v8::internal::LOperand::Kind::REGISTER, 16>::cache' is
      explicitly instantiated
in another translation unit
   
if (index < kNumCachedOperands) return &cache[index];
                                           
^
1 error generated.

Command used was:

sudo make native library=shared snapshot=on -j8

Any pointers appreciated, thanks.
Reply all
Reply to author
Forward
0 new messages