Try the strictaliasing=off flag. Out of interest, what does "g++ --version" print?
On Thu, Jan 26, 2012 at 17:24, Alex Paransky <ap...@standardset.com> wrote: > I am trying to build lastest from Master with V8, but failing at the > first step of building V8: > >cat /etc/redhat-release > > CentOS release 5.5 (Final) > >scons arch=x64 > > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > g++ -o obj/release/accessors.o -c -fno-rtti -fno-exceptions - > fvisibility=hidden -Wall -Werror -W -Wno-unused-parameter -Wnon- > virtual-dtor -pedantic -m64 -O3 -fomit-frame-pointer -fdata-sections > - > ffunction-sections -ansi -DV8_TARGET_ARCH_X64 - > DENABLE_DEBUGGER_SUPPORT -Isrc src/accessors.cc > cc1plus: warnings being treated as errors > src/heap.h: In member function 'v8::internal::byte** > v8::internal::Heap::store_buffer_top_address()': > src/heap.h:1173: warning: dereferencing type-punned pointer will > break > strict-aliasing rules > scons: *** [obj/release/accessors.o] Error 1 > scons: building terminated because of errors. > > Has anyone done this and can offer some advice? > Thanks. > -AP_ > > -- > v8-users mailing list > v8-users@googlegroups.com > http://groups.google.com/group/v8-users > -- v8-users mailing list v8-users@googlegroups.com http://groups.google.com/group/v8-users