I have built it before.  This morning I was updating to the current
version of v8 and got errors (see below).

It failed on Ubuntu 9.10 (32 bit)
It compiles on CentOS5. (64 bit)

svn checkout http://v8.googlecode.com/svn/trunk/ v8
cd v8
scons mode=release library=static snapshot=on
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o obj/release/dtoa-config.o -c -Werror -Wno-uninitialized -m32
-O3 -fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-DV8_TARGET_ARCH_IA32 -DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP
-DENABLE_LOGGING_AND_PROFILING -Isrc src/dtoa-config.c
g++ -o obj/release/accessors.o -c -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-DV8_TARGET_ARCH_IA32 -DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP
-DENABLE_LOGGING_AND_PROFILING -Isrc src/accessors.cc
g++ -o obj/release/allocation.o -c -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-fno-rtti -fno-exceptions -fvisibility=hidden -Wall -Werror -W
-Wno-unused-parameter -Wnon-virtual-dtor -pedantic -m32 -O3
-fomit-frame-pointer -fdata-sections -ffunction-sections -ansi
-DV8_TARGET_ARCH_IA32 -DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP
-DENABLE_LOGGING_AND_PROFILING -Isrc src/allocation.cc
g++ -o obj/release/api.o -c -Wall -Werror -W -Wno-unused-parameter
-Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer
-fdata-sections -ffunction-sections -ansi -fno-rtti -fno-exceptions
-fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter
-Wnon-virtual-dtor -pedantic -m32 -O3 -fomit-frame-pointer
-fdata-sections -ffunction-sections -ansi -DV8_TARGET_ARCH_IA32
-DENABLE_DEBUGGER_SUPPORT -DV8_NATIVE_REGEXP
-DENABLE_LOGGING_AND_PROFILING -Isrc src/api.cc
cc1plus: warnings being treated as errors
src/handles-inl.h: In static member function 'static void
v8::V8::RemoveMessageListeners(void (*)(v8::Handle<v8::Message>,
v8::Handle<v8::Value>))':
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does
break strict-aliasing rules
src/handles-inl.h:50: error: dereferencing pointer '<anonymous>' does
break strict-aliasing rules
src/globals.h:602: note: initialized from here
cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules
cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules
cc1plus: error: dereferencing pointer 'dest' does break strict-aliasing rules
src/api.cc:3397: note: initialized from here
scons: *** [obj/release/api.o] Error 1
scons: building terminated because of errors.


-- 
Bryan White

-- 
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users

Reply via email to