Status: New
Owner: ----
New issue 966 by yaoweibin: v8 Build error in FreeBSD 8.1
http://code.google.com/p/v8/issues/detail?id=966
I checkout the v8 source:
svn checkout http://v8.googlecode.com/svn/trunk/ v8
then build v8 like this:
scons mode=debug library=shared snapshot=on
then encounter this build error:
...
g++ -o obj/debug/platform-freebsd.os -c -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -m32 -g -O0 -ansi -fno-rtti
-fno-exceptions -fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter
-Wnon-virtual-dtor -m32 -g -O0 -ansi -fPIC -DV8_TARGET_ARCH_IA32
-DENABLE_DISASSEMBLER -DDEBUG -DENABLE_VMSTATE_TRACKING
-DENABLE_LOGGING_AND_PROFILING -DV8_ENABLE_CHECKS -DENABLE_DEBUGGER_SUPPORT
-I/usr/local/include -Isrc src/platform-freebsd.cc
src/platform-freebsd.cc: In static member function 'static
v8::internal::Mutex* v8::internal::OS::CreateMutex()':
src/platform-freebsd.cc:509: error: cannot allocate an object of abstract
type 'v8::internal::FreeBSDMutex'
src/platform-freebsd.cc:478: note: because the following virtual
functions are pure within 'v8::internal::FreeBSDMutex':
src/platform.h:441: note: virtual bool v8::internal::Mutex::TryLock()
src/platform-freebsd.cc: In function 'void
v8::internal::ProfilerSignalHandler(int, siginfo_t*, void*)':
src/platform-freebsd.cc:581: error: 'current_state' is not a member
of 'v8::internal::VMState'
scons: *** [obj/debug/platform-freebsd.os] Error 1
scons: building terminated because of errors.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev