Hi, Jakob! On Fri, Dec 9, 2011 at 11:26 PM, Jakob Kummerow <[email protected]>wrote:
> Try nuking your output directory (rm -rf out/), maybe make or gyp got > confused about some leftover files. > Running now... What does "export" say? Of particular interest are: CC, CXX, LINK, > GYP_DEFINES. > None of those are defined: [stephan@cheyenne:~/src/google/v8]$ for i in CC CXX LINK GYP_DEFINES; do export | grep -w $i; done <no output> > Can you reproduce this problem on another machine? > It does not happen on my 32-bit netbook with the same OS (32-bit version), as far as i remember (trying it again takes about an hour, so i'll have to wait to give a definitive answer). Try building with "make x64.release library=shared V=1" after nuking your > out/ dir to see every command that make executes. Are all the right .o > files included in the command line to link libv8.so? > It doesn't appear to be linking in everything it should... [stephan@cheyenne:~/src/google/v8]$ make library=shared x64.debug V=1 &> foo ... [stephan@cheyenne:~/src/google/v8]$ grep libv8.so foo g++ -shared -pthread -Wl,-soname=libv8.so -o /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8.so -Wl,--start-group /home/stephan/src/google/trunk/out/x64.debug/obj.target/v8/src/v8dll-main.o /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_snapshot.a /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_base.a -Wl,--end-group ln -f /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8.so /home/stephan/src/google/trunk/out/x64.debug/lib.target/libv8.so 2>/dev/null || cp -af /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8.so /home/stephan/src/google/trunk/out/x64.debug/lib.target/libv8.so g++ -pthread -o /home/stephan/src/google/trunk/out/x64.debug/shell -Wl,--start-group /home/stephan/src/google/trunk/out/x64.debug/obj.target/shell/samples/shell.o /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8.so /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_snapshot.a /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_base.a -Wl,--end-group g++ -pthread -o /home/stephan/src/google/trunk/out/x64.debug/process -Wl,--start-group /home/stephan/src/google/trunk/out/x64.debug/obj.target/process/samples/process.o /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8.so /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_snapshot.a /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_base.a -Wl,--end-group g++ -pthread -o /home/stephan/src/google/trunk/out/x64.debug/d8 -Wl,--start-group /home/stephan/src/google/trunk/out/x64.debug/obj.target/d8/src/d8.o /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8.so /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_snapshot.a /home/stephan/src/google/trunk/out/x64.debug/obj.target/tools/gyp/libv8_base.a -Wl,--end-group Same results with x64.release. [stephan@cheyenne:~/src/google/v8]$ uname -a Linux cheyenne 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux [stephan@cheyenne:~/src/google/v8]$ cat /etc/issue Linux Mint 11 Katya \n \l -- ----- stephan beal http://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
