x86_64-pc-linux-gnu-g++ -o shell -Wl,-O1 -Wl,--as-needed -m64 obj/sample/shell/release/shell.o -L. -lv8 -lpthread obj/sample/shell/release/shell.o: In function `RunMain(int, char**)': shell.cc:(.text+0xa63): undefined reference to `v8::internal::Thread::Thread(v8::internal::Isolate*, v8::internal::Thread::Options const&)' shell.cc:(.text+0xa7a): undefined reference to `v8::internal::Thread::Start()' shell.cc:(.text+0xbc1): undefined reference to `v8::internal::Thread::Join()' shell.cc:(.text+0xce6): undefined reference to `v8::internal::OS::CreateSemaphore(int)' shell.cc:(.text+0xcf1): undefined reference to `v8::internal::OS::CreateSemaphore(int)' obj/sample/shell/release/shell.o: In function `SourceGroup::IsolateThread::~IsolateThread()': shell.cc:(.text._ZN11SourceGroup13IsolateThreadD2Ev[_ZN11SourceGroup13IsolateThreadD5Ev]+0x8): undefined reference to `v8::internal::Thread::~Thread()' obj/sample/shell/release/shell.o: In function `SourceGroup::IsolateThread::~IsolateThread()': shell.cc:(.text._ZN11SourceGroup13IsolateThreadD0Ev[_ZN11SourceGroup13IsolateThreadD5Ev]+0xc): undefined reference to `v8::internal::Thread::~Thread()' collect2: ld returned 1 exit status scons: *** [shell] Error 1 scons: building terminated because of errors. * ERROR: dev-lang/v8-9999 failed (compile phase): * (no error message) Reproducible: Always
Same situation here.(Confirmed)
I used svn-bisect to try and narrow this down. The problem starts in r7322 on the trunk. http://code.google.com/p/v8/source/detail?r=7322 I also bisected the bleeding_edge branch. At r7271, I get the following error: http://code.google.com/p/v8/source/detail?r=7271 cc1plus: warnings being treated as errors src/virtual-frame-heavy-inl.h:162:62: error: array subscript is below array bounds After applying v8-no-werror-r0.patch, I get: shell.cc:(.text+0xd35): undefined reference to `v8::internal::OS::CreateSemaphore(int)' At r7289, the rest of the errors start to appear. http://code.google.com/p/v8/source/detail?r=7289 It looks like there is another "isolates" branch that I could investigate if that would provide any useful information.
version 7451 failed: x86_64-pc-linux-gnu-g++ -o obj/preparser/release/preparser -Wl,-O1 -Wl,--as-needed -m64 obj/preparser/release/preparser-process.o -L. -lv8preparser -lpthread obj/preparser/release/preparser-process.o: In function `v8::internal::PreParseIO(_IO_FILE*)': preparser-process.cc:(.text+0x2c7): undefined reference to `v8::UnicodeInputStream::~UnicodeInputStream()' obj/preparser/release/preparser-process.o: In function `v8::internal::UTF8InputStream::Next()': preparser-process.cc:(.text._ZN2v88internal15UTF8InputStream4NextEv[v8::internal::UTF8InputStream::Next()]+0x37): undefined reference to `unibrow::Utf8::CalculateValue(unsigned char const*, unsigned int, unsigned int*)' obj/preparser/release/preparser-process.o: In function `v8::internal::UTF8InputStream::~UTF8InputStream()': preparser-process.cc:(.text._ZN2v88internal15UTF8InputStreamD2Ev[_ZN2v88internal15UTF8InputStreamD5Ev]+0x8): undefined reference to `v8::UnicodeInputStream::~UnicodeInputStream()' obj/preparser/release/preparser-process.o: In function `v8::internal::UTF8InputStream::~UTF8InputStream()': preparser-process.cc:(.text._ZN2v88internal15UTF8InputStreamD0Ev[_ZN2v88internal15UTF8InputStreamD5Ev]+0xc): undefined reference to `v8::UnicodeInputStream::~UnicodeInputStream()' collect2: ld returned 1 exit status
Adding a link to a similar report upstream.
This should now compile fine. Please re-open if it doesn't. There are known test failures.