Comment #14 on issue 615 by [email protected]: "instanceof" operator
broken in V8 v2.0.6.4
http://code.google.com/p/v8/issues/detail?id=615
shell_g and libv8_g.a are debug builds, with debug symbols and a lower
level of gcc
optimizations.
1. It seems like the shared library is not the issue, but you might try it
in debug
mode to rule it out:
scons arch=x64 library=shared sample=shell mode=debug
2. I'm not sure what version of gcc you're using. You might try the
release build
with strict aliasing disabled. In the root of your v8 source tree is a
file called
SConstruct. Toward the beginning are the lines:
if os.environ.get('GCC_VERSION') == '44':
GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp']
GCC_DTOA_EXTRA_CCFLAGS = ['-fno-strict-aliasing']
else:
GCC_EXTRA_CCFLAGS = []
GCC_DTOA_EXTRA_CCFLAGS = []
You can add '--fno-strict-aliasing' to GCC_EXTRA_CCFLAGS in both arms of the
conditional:
if os.environ.get('GCC_VERSION') == '44':
GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp', '--fno-strict-aliasing']
GCC_DTOA_EXTRA_CCFLAGS = ['-fno-strict-aliasing']
else:
GCC_EXTRA_CCFLAGS = ['--fno-strict-aliasing']
GCC_DTOA_EXTRA_CCFLAGS = []
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev