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.

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

Reply via email to