Comment #13 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

OK, so I tried:

1. static compile of lib and shell: still fail.

2. ia32 build: the lib builds fine, but the compile of shell fails, says:



~]scons arch=ia32 sample=shell
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
g++ -o obj/sample/shell/release/shell.o -c -fno-rtti -fno-exceptions -m32 -O2 -
Iinclude samples/shell.cc
g++ -o shell -m32 obj/sample/shell/release/shell.o -L. -lpthread -lv8
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-
gnu/4.1.2/../../../libpthread.so when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-linux-
gnu/4.1.2/../../../libpthread.a when searching for -lpthread
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libpthread.so when searching for -
lpthread
/usr/bin/ld: skipping incompatible /usr/bin/../lib/libpthread.a when searching for -
lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.so when searching for -
lpthread
/usr/bin/ld: skipping incompatible /usr/lib/libpthread.a when searching for -lpthread
/usr/bin/ld: cannot find -lpthread
collect2: ld returned 1 exit status
scons: *** [shell] Error 1
scons: building terminated because of errors.

-----------------

However, I just noticed that apparently building the test suite created a libv8_g.a
and a shell_g binary (i'm assuming that's what the test suite uses).

So, I ran

~]./shell_g -e "print([] instanceof Array)"
true

OK, that's some progress. So we've proven it CAN work on my system. Something's different about how the test suite compiled and used libv8 that makes it work, as
opposed to the regular scons builds which are failing.

Any thoughts?


--
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

Reply via email to