*1.*gn gen out/gn --ide=xcode
*2.*ninja -C out/gn v8_hello_world

ninja: Entering directory `out/gn'
[1/1] LINK ./v8_hello_world
FAILED: v8_hello_world
TOOL_VERSION=1638069709 ../../build/toolchain/apple/linker_driver.py 
-Wcrl,strippath,/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip
 
../../third_party/llvm-build/Release+Asserts/bin/clang++ -fuse-ld=lld 
-Wl,-fatal_warnings -Wl,--color-diagnostics -stdlib=libc++ -arch x86_64 
-no-canonical-prefixes -Werror -nostdlib++ -isysroot 
../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk
 
-mmacosx-version-min=10.11.0 -Wl,-ObjC -Wl,-rpath,@loader_path/. 
-Wl,-rpath,@loader_path/../../.. -Wl,-dead_strip -o "./v8_hello_world" 
-Wl,-filelist,"./v8_hello_world.rsp" ./libv8.dylib ./libv8_libbase.dylib 
./libv8_libplatform.dylib ./libicui18n.dylib ./libicuuc.dylib ./libc++.dylib
ld64.lld: error: undefined symbol: v8::api_internal::FromJustIsNothing()
>>> referenced by obj/v8_hello_world/hello-world.o

ld64.lld: error: undefined symbol: v8::api_internal::ToLocalEmpty()
>>> referenced by obj/v8_hello_world/hello-world.o

ld64.lld: error: too many errors emitted, stopping now (use --error-limit=0 
to see all errors)
clang++: error: linker command failed with exit code 1 (use -v to see 
invocation)
Traceback (most recent call last):
File "../../build/toolchain/apple/linker_driver.py", line 291, in <module>
LinkerDriver(sys.argv).run()
File "../../build/toolchain/apple/linker_driver.py", line 116, in run
subprocess.check_call(compiler_driver_args, env=env)
File 
"/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py",
 
line 190, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 
'['../../third_party/llvm-build/Release+Asserts/bin/clang++', 
'-fuse-ld=lld', '-Wl,-fatal_warnings', '-Wl,--color-diagnostics', 
'-stdlib=libc++', '-arch', 'x86_64', '-no-canonical-prefixes', '-Werror', 
'-nostdlib++', '-isysroot', 
'../../../../../../../../Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.0.sdk',
 
'-mmacosx-version-min=10.11.0', '-Wl,-ObjC', '-Wl,-rpath,@loader_path/.', 
'-Wl,-rpath,@loader_path/../../..', '-Wl,-dead_strip', '-o', 
'./v8_hello_world', '-Wl,-filelist,./v8_hello_world.rsp', './libv8.dylib', 
'./libv8_libbase.dylib', './libv8_libplatform.dylib', './libicui18n.dylib', 
'./libicuuc.dylib', './libc++.dylib']' returned non-zero exit status 1
ninja: build stopped: subcommand failed.

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/v8-dev/9235e73c-c093-4ab0-a895-4b0bf5a5f53fn%40googlegroups.com.

Reply via email to