Export to GitHub

v8cgi - issue #86

Compiling trunk on x86_64 fails


Posted on Jan 22, 2011 by Happy Kangaroo

What steps will reproduce the problem? 1. Compile trunk on x86_64 2. 3.

What is the expected output? What do you see instead?

[...] g++ -o src/path.os -c -Wall -O3 -fPIC -DHAVE_MMAN_H -DHAVE_SLEEP -DCONFIG_PATH=/etc/v8cgi.conf -DVERSION=0.9.0 -Dposix -DDSO_EXT=so -Isrc -I/home/markc/v8/include src/path.cc g++ -o src/cache.os -c -Wall -O3 -fPIC -DHAVE_MMAN_H -DHAVE_SLEEP -DCONFIG_PATH=/etc/v8cgi.conf -DVERSION=0.9.0 -Dposix -DDSO_EXT=so -Isrc -I/home/markc/v8/include src/cache.cc src/cache.cc: In member function 'v8::Handle<v8::Object> Cache::getExports(std::string)': src/cache.cc:171:41: error: cannot call constructor 'v8::Handle<v8::Object>::Handle' directly src/cache.cc:171:41: error: for a function-style cast, remove the redundant '::Handle' scons: * [src/cache.os] Error 1 scons: building terminated because of errors.

What version of the product are you using? On what operating system?

svn trunk on Archlinux x86_64, gcc 4.5.2

Please provide any additional information below.

v8 built with...

scons arch=x64 library=shared

~/v8cgi file /usr/lib/libv8.so /usr/lib/libv8.so: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, not stripped

v8cgi built with...

scons arch=x64 apache_path=/usr/include/httpd apr_path=/usr/include/apr-1

Comment #1

Posted on Jan 22, 2011 by Happy Giraffe

I fixed the reported problem in revision 900; can you please try updating to latest revision and re-compiling?

Comment #2

Posted on Dec 12, 2011 by Happy Giraffe

(No comment was entered for this change.)

Status: Fixed

Labels:
Type-Defect Priority-Medium