My favorites | Sign in
v8
Project Home Downloads Wiki Issues Source Code Search
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1936: g++ linker problem with 3.6 and bleeding_edge
7 people starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by fedor.in...@gmail.com, Feb 7, 2012
Template declaration for SeededDictionary is missing in objects.cc :

https://code.google.com/p/v8/source/browse/branches/bleeding_edge/src/objects.cc#11281

That causes build failures on OSX with some versions of gcc compiler:

Undefined symbols: "v8::internal::Dictionary<v8::internal::SeededNumberDictionaryShape, unsigned int>::SlowReverseLookup(v8::internal::Object*)", referenced from: 
                    v8::internal::JSObject::ReferencesObjectFromElements(v8::internal::FixedArray*, v8::internal::ElementsKind, v8::internal::Object*)in objects.o
Feb 7, 2012
#1 marco.pr...@spreaker.com
I get the same error while compiling V8 during node.js installation. Here you can find the "make" output:
https://gist.github.com/1759449
Mar 1, 2012
#2 drmikea...@gmail.com
I fixed this when building node.js by adding this to the objects.cc

@@ -10012,6 +10012,9 @@ template Object* Dictionary<UnseededNumberDictionaryShape, uint32_t>::
 template Object* Dictionary<StringDictionaryShape, String*>::SlowReverseLookup(
     Object*);
 
+template Object* Dictionary<SeededNumberDictionaryShape, uint32_t>::SlowReverseLookup(
+    Object*);
+
 template void Dictionary<SeededNumberDictionaryShape, uint32_t>::CopyKeysTo(
     FixedArray*,
     PropertyAttributes,
Sign in to add a comment

Powered by Google Project Hosting