Please, have a look at http://code.google.com/p/v8/issues/detail?id=413

yours,
anton.

On Thu, Dec 24, 2009 at 2:55 AM, Vikram Dhillon <[email protected]> wrote:
> Okay it only works if I try this option:
>
> scons mode=debug library=shared snapshot=on
>
> Now why is that working?
>
> Regards,
> Vikram Dhillon
>
> ~~~
> There are lots of Linux users who don't care how the kernel works, but
> only want to use it. That is a tribute to how good Linux is.
> -- Linus Torvalds
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEABECAAYFAksgX8AACgkQ0KuG2RxwAGQmGACePbWl1Hwk58/DBSIWtNXbfU0T
> ouQAnRDntZyaIfbJ7wpUHm/zsyTETPMd
> =Rr1r
> -----END PGP SIGNATURE-----
>
>
>
>
> On Wed, Dec 23, 2009 at 6:45 PM, Vikram Dhillon <[email protected]> wrote:
>> Hi all,
>>         I have checked out the latest svn version and the attempted
>> to build v8 using the command scons. I am running Ubuntu 9.10 and I
>> have a Dell Inspiron 1525, I have the latest python version installed
>> that's available in the repositories. Here are the errors:
>>
>> vik...@ubuntu-devel:~/Development/svn/v8$ scons
>> 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:591: 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:3287: note: initialized from here
>> scons: *** [obj/release/api.o] Error 1
>> scons: building terminated because of errors.
>>
>> Regards,
>> Vikram Dhillon
>>
>> ~~~
>> There are lots of Linux users who don't care how the kernel works, but
>> only want to use it. That is a tribute to how good Linux is.
>> -- Linus Torvalds
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (GNU/Linux)
>>
>> iEYEABECAAYFAksgX8AACgkQ0KuG2RxwAGQmGACePbWl1Hwk58/DBSIWtNXbfU0T
>> ouQAnRDntZyaIfbJ7wpUHm/zsyTETPMd
>> =Rr1r
>> -----END PGP SIGNATURE-----
>>
>
> --
> v8-dev mailing list
> [email protected]
> http://groups.google.com/group/v8-dev
>

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

Reply via email to