On Fri, Nov 4, 2011 at 12:50 PM, Jakob Kummerow <[email protected]>wrote:
> I've never seen that problem. It works just fine for me: > $ make library=shared console=readline x64 > $ l out/x64.release/lib.target/libv8.so > -rwxr-x--- 2 jkummerow eng 5.5M 2011-11-04 12:41 > out/x64.release/lib.target/libv8.so > $ l out/x64.debug/lib.target/libv8.so > -rwxr-x--- 2 jkummerow eng 54M 2011-11-04 12:41 > out/x64.debug/lib.target/libv8.so > i believe you, but that's not what i'm seeing: [stephan@cheyenne:~/src/google/v8]$ make x64.debug library=shared console=readline make[1]: Entering directory `/home/stephan/src/google/trunk/out' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/stephan/src/google/trunk/out' [stephan@cheyenne:~/src/google/v8]$ l ./out/x64.debug/lib.target/libv8.so -rwxr-xr-x 2 stephan stephan 10028 Nov 4 12:09 ./out/x64.debug/lib.target/libv8.so Let's try release mode: [stephan@cheyenne:~/src/google/v8]$ make x64.release library=shared console=readline ... LINK(target) /home/stephan/src/google/trunk/out/x64.release/cctest TOUCH /home/stephan/src/google/trunk/out/x64.release/obj.target/build/All.stamp success, but... [stephan@cheyenne:~/src/google/v8]$ l out/x64.release/lib.target/libv8.so -rwxr-xr-x 2 stephan stephan 7595 Nov 4 12:57 out/x64.release/lib.target/libv8.so [stephan@cheyenne:~/src/google/v8]$ ldd out/x64.release/lib.target/libv8.so linux-vdso.so.1 => (0x00007fff4c052000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8bd4bf9000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8bd4974000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8bd475d000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8bd453f000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8bd41ab000) /lib64/ld-linux-x86-64.so.2 (0x00007f8bd512b000) The nm output is also revealing: [stephan@cheyenne:~/src/google/v8]$ nm -C ./out/x64.debug/lib.target/libv8.so | grep v8 000000000000059c r v8::internal::kApiIntSize 00000000000005b8 r v8::internal::kSmiTagMask 00000000000005b4 r v8::internal::kSmiTagSize 00000000000005c0 r v8::internal::kSmiShiftSize 00000000000005c4 r v8::internal::kSmiValueSize 00000000000005a0 r v8::internal::kHeapObjectTag 0000000000000598 r v8::internal::kApiPointerSize 00000000000005a8 r v8::internal::kHeapObjectTagMask 00000000000005a4 r v8::internal::kHeapObjectTagSize 00000000000005d0 r v8::internal::kPointerToSmiShift 00000000000005c8 r v8::internal::kEncodablePointerMask 00000000000005b0 r v8::internal::kSmiTag [stephan@cheyenne:~/src/google/v8]$ svn info Path: . URL: http://v8.googlecode.com/svn/trunk Repository Root: http://v8.googlecode.com/svn Repository UUID: ce2b1a6d-e550-0410-aec6-3dcde31c8c00 Revision: 9879 Node Kind: directory Schedule: normal Last Changed Author: [email protected] Last Changed Rev: 9825 Last Changed Date: 2011-10-28 09:45:20 +0200 (Fri, 28 Oct 2011) $ gcc --version gcc (Ubuntu/Linaro 4.5.2-8ubuntu4) 4.5.2 Mint Linux 11, based on Ubuntu 11.04, based on Debian something-or-other. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users
