I'm using v8-3.2.8.2, and compiling it as a shared library gives the following result:
i686-pc-linux-gnu-g++ -o shell -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -m32 obj/sample/shell/release/shell.o -L. -lv8-3.2.8.2 -lpthread
obj/sample/shell/release/shell.o: In function `RunMain(int, char**)':
shell.cc:(.text+0xf7c): undefined reference to `v8::internal::Thread::Join()'
shell.cc:(.text+0x1080): undefined reference to `v8::internal::Thread::Thread(v8::internal::Isolate*, v8::internal::Thread::Options const&)'
shell.cc:(.text+0x1097): undefined reference to `v8::internal::Thread::Start()'
shell.cc:(.text+0x1113): undefined reference to `v8::internal::OS::CreateSemaphore(int)'
shell.cc:(.text+0x1121): undefined reference to `v8::internal::OS::CreateSemaphore(int)'
obj/sample/shell/release/shell.o: In function `SourceGroup::IsolateThread::~IsolateThread()':
shell.cc:(.text._ZN11SourceGroup13IsolateThreadD1Ev[SourceGroup::IsolateThread::~IsolateThread()]+0x14): undefined reference to `v8::internal::Thread::~Thread()'
obj/sample/shell/release/shell.o: In function `SourceGroup::IsolateThread::~IsolateThread()':
shell.cc:(.text._ZN11SourceGroup13IsolateThreadD0Ev[SourceGroup::IsolateThread::~IsolateThread()]+0x14): undefined reference to `v8::internal::Thread::~Thread()'
collect2: ld returned 1 exit status
scons: *** [shell] Error 1
scons: building terminated because of errors.
I'm also attaching a full build log.
Could you please fix this build issue? Also, are you testing the shared library build in the continuous integration, or at least before doing a tagged release?