Setting enable_ios_bitcode = false fixes this problem, but is this a valid solution?
On Thursday, May 13, 2021 at 10:06:20 PM UTC-4 Richard wrote: > I'm trying to build v9.0/9.1 for iOS with the following settings: > > > --args= > > enable_ios_bitcode = true > > ios_deployment_target = 10 > > is_component_build = false > > is_debug = false > > target_cpu = "arm64" > > target_os = "ios" > > use_custom_libcxx = false > > use_xcode_clang = true > > v8_enable_i18n_support = false > > v8_monolithic = true > > v8_use_external_startup_data = false > > v8_enable_pointer_compression = false > > > I'm getting the following error: > > > TOOL_VERSION=1620217005 > ../../v8/v8/build/toolchain/apple/linker_driver.py > -Wcrl,strippath,../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip > > ../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ > > -B > ../../../../../../../../Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ > > -Wl,-fatal_warnings -target arm64-apple-ios10 -Werror -isysroot > /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk > > -fembed-bitcode -Wl,-ObjC -Wl,-objc_abi_version,2 > -Wl,-rpath,@executable_path/Frameworks -Wl,-dead_strip > -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk/usr/lib/swift > > -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos > > -o "./v8_sample_process" -Wl,-filelist,"./v8_sample_process.rsp" -framework > CoreFoundation -framework CoreGraphics -framework CoreText -framework > Foundation > > > ld: could not read bitcode temp file: > ./v8_sample_process.bundle.GxyLUp/bundle.xar for architecture arm64 > > > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > > Traceback (most recent call last): > > > File "../../v8/v8/build/toolchain/apple/linker_driver.py", line 305, > in <module> > > > Main(sys.argv) > > > File "../../v8/v8/build/toolchain/apple/linker_driver.py", line 98, in > Main > > > 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) > > > Any ideas what may be causing this? > -- -- 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/17117ec5-0504-4f61-87ab-145027bf70d0n%40googlegroups.com.