ClosestStorm / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Compiling trunk on x86_64 fails #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

Original issue reported on code.google.com by mconstable on 22 Jan 2011 at 12:34

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

Original comment by ondrej.zara on 22 Jan 2011 at 7:51

GoogleCodeExporter commented 9 years ago

Original comment by ondrej.zara on 12 Dec 2011 at 8:25