This repository was archived by the owner on Jul 30, 2024. It is now read-only.
Description I need support bitcode build,so add enable_ios_build gn args. Build is OK, but link had follow issue.
[1897/1912] SOLINK obj/components/cron...j/components/cronet/ios/arm/Cronet.TOC FAILED: obj/components/cronet/ios/arm/Cronet obj/components/cronet/ios/arm/Cronet.TOC if [ ! -e "obj/components/cronet/ios/arm/Cronet" -o ! -e "obj/components/cronet/ios/arm/Cronet.TOC" ] || otool -l "obj/components/cronet/ios/arm/Cronet" | grep -q LC_REEXPORT_DYLIB ; then TOOL_VERSION=1560752681 ../../build/toolchain/mac/linker_driver.py clang++ -shared -Xlinker -install_name -Xlinker @rpath/Cronet.framework/Cronet -Xlinker -objc_abi_version -Xlinker 2 -arch armv7 -Werror -Wl,-dead_strip -isysroot /Applications/Xcode11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -stdlib=libc++ -miphoneos-version-min=9.0 -fembed-bitcode -Wl,-ObjC -o "obj/components/cronet/ios/arm/Cronet" -Wl,-filelist,"obj/components/cronet/ios/arm/Cronet.rsp" -framework UIKit -framework CoreFoundation -framework CoreGraphics -framework CoreText -framework Foundation -framework Security -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lresolv && { otool -l "obj/components/cronet/ios/arm/Cronet" | grep LC_ID_DYLIB -A 5; nm -gP "obj/components/cronet/ios/arm/Cronet" | cut -f1-2 -d' ' | grep -v U$$; true; } > "obj/components/cronet/ios/arm/Cronet.TOC"; else TOOL_VERSION=1560752681 ../../build/toolchain/mac/linker_driver.py clang++ -shared -Xlinker -install_name -Xlinker @rpath/Cronet.framework/Cronet -Xlinker -objc_abi_version -Xlinker 2 -arch armv7 -Werror -Wl,-dead_strip -isysroot /Applications/Xcode11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -stdlib=libc++ -miphoneos-version-min=9.0 -fembed-bitcode -Wl,-ObjC -o "obj/components/cronet/ios/arm/Cronet" -Wl,-filelist,"obj/components/cronet/ios/arm/Cronet.rsp" -framework UIKit -framework CoreFoundation -framework CoreGraphics -framework CoreText -framework Foundation -framework Security -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lresolv && { otool -l "obj/components/cronet/ios/arm/Cronet" | grep LC_ID_DYLIB -A 5; nm -gP "obj/components/cronet/ios/arm/Cronet" | cut -f1-2 -d' ' | grep -v U$$; true; } > "obj/components/cronet/ios/arm/Cronet.tmp" && if ! cmp -s "obj/components/cronet/ios/arm/Cronet.tmp" "obj/components/cronet/ios/arm/Cronet.TOC"; then mv "obj/components/cronet/ios/arm/Cronet.tmp" "obj/components/cronet/ios/arm/Cronet.TOC" ; fi; fi ld: section __bundle (address=0x00304000, size=928344742) would make the output executable exceed available address range for architecture armv7
I need you help.Thanks.
Reactions are currently unavailable
I need support bitcode build,so add enable_ios_build gn args. Build is OK, but link had follow issue.
[1897/1912] SOLINK obj/components/cron...j/components/cronet/ios/arm/Cronet.TOC FAILED: obj/components/cronet/ios/arm/Cronet obj/components/cronet/ios/arm/Cronet.TOC if [ ! -e "obj/components/cronet/ios/arm/Cronet" -o ! -e "obj/components/cronet/ios/arm/Cronet.TOC" ] || otool -l "obj/components/cronet/ios/arm/Cronet" | grep -q LC_REEXPORT_DYLIB ; then TOOL_VERSION=1560752681 ../../build/toolchain/mac/linker_driver.py clang++ -shared -Xlinker -install_name -Xlinker @rpath/Cronet.framework/Cronet -Xlinker -objc_abi_version -Xlinker 2 -arch armv7 -Werror -Wl,-dead_strip -isysroot /Applications/Xcode11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -stdlib=libc++ -miphoneos-version-min=9.0 -fembed-bitcode -Wl,-ObjC -o "obj/components/cronet/ios/arm/Cronet" -Wl,-filelist,"obj/components/cronet/ios/arm/Cronet.rsp" -framework UIKit -framework CoreFoundation -framework CoreGraphics -framework CoreText -framework Foundation -framework Security -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lresolv && { otool -l "obj/components/cronet/ios/arm/Cronet" | grep LC_ID_DYLIB -A 5; nm -gP "obj/components/cronet/ios/arm/Cronet" | cut -f1-2 -d' ' | grep -v U$$; true; } > "obj/components/cronet/ios/arm/Cronet.TOC"; else TOOL_VERSION=1560752681 ../../build/toolchain/mac/linker_driver.py clang++ -shared -Xlinker -install_name -Xlinker @rpath/Cronet.framework/Cronet -Xlinker -objc_abi_version -Xlinker 2 -arch armv7 -Werror -Wl,-dead_strip -isysroot /Applications/Xcode11.7.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.7.sdk -stdlib=libc++ -miphoneos-version-min=9.0 -fembed-bitcode -Wl,-ObjC -o "obj/components/cronet/ios/arm/Cronet" -Wl,-filelist,"obj/components/cronet/ios/arm/Cronet.rsp" -framework UIKit -framework CoreFoundation -framework CoreGraphics -framework CoreText -framework Foundation -framework Security -framework CFNetwork -framework MobileCoreServices -framework SystemConfiguration -lresolv && { otool -l "obj/components/cronet/ios/arm/Cronet" | grep LC_ID_DYLIB -A 5; nm -gP "obj/components/cronet/ios/arm/Cronet" | cut -f1-2 -d' ' | grep -v U$$; true; } > "obj/components/cronet/ios/arm/Cronet.tmp" && if ! cmp -s "obj/components/cronet/ios/arm/Cronet.tmp" "obj/components/cronet/ios/arm/Cronet.TOC"; then mv "obj/components/cronet/ios/arm/Cronet.tmp" "obj/components/cronet/ios/arm/Cronet.TOC" ; fi; fi ld: section __bundle (address=0x00304000, size=928344742) would make the output executable exceed available address range for architecture armv7I need you help.Thanks.