Hello,

I tried to build latest d8 with v8_static_library option.
macOS version is 10.15.6 and Xcode version is 12.

 $ gn gen out/Default --args='v8_static_library=true is_clang=true'

Without v8_static_library option, the build works fine.
but it fails with following errors.
and obj/libv8_wrappers.a.rsp was empty.

rm -f obj/libv8_wrappers.a && TOOL_VERSION=1606449216 python 
../../build/toolchain/mac/filter_libtool.py 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
 
-static -D  -o obj/libv8_wrappers.a "@obj/libv8_wrappers.a.rsp"
error: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
 
no files specified
Usage: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
 
-static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] 
[-sacLT] [-no_warning_for_no_symbols]
Usage: 
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool
 
-dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] 
[-o output] [-install_name name] [-compatibility_version #] 
[-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] 
[-segs_read_write_addr 0x#] [-seg_addr_table <filename>] 
[-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]

Thanks.


-- 
-- 
v8-users mailing list
v8-users@googlegroups.com
http://groups.google.com/group/v8-users
--- 
You received this message because you are subscribed to the Google Groups 
"v8-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to v8-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-users/30da4a82-9a8a-410e-95ee-9784d9073605n%40googlegroups.com.

Reply via email to