Comment #11 on issue 1244 by [email protected]: v8::internal::Runtime_SetProperty comparison always false due to limited range of data type
http://code.google.com/p/v8/issues/detail?id=1244

Yes, i386 builds are ok, but there is an issue with explicitly forcing x64 (as in for x64 architecture only).

Running 'scons' on x64 (without glibc-devel.i686 package installed, which is providing stubs-32.h file) will result in a message like this:
In file included from /usr/include/features.h:386:0,
                 from /usr/include/stdio.h:28,
                 from src/../include/v8stdint.h:33,
                 from src/../include/v8.h:41,
                 from src/v8.h:55,
                 from src/accessors.cc:28:
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory
compilation terminated.

Explanation: Scons is doing a build for i386 ( -DV8_TARGET_ARCH_IA32), whereas 'scons arch=x64" will have -DV8_TARGET_ARCH_X64 flag.

So, a quick fix on fedora x64 is to 'yum install glibc-devel.i686' and do an i386 build.

That being said, I can live with i386 at the moment and think the x64 issue deserves a new ticket.

Cheers

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

Reply via email to