Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 14.5 compile error #767

Open
slajar opened this issue Jun 8, 2021 · 0 comments
Open

iOS 14.5 compile error #767

slajar opened this issue Jun 8, 2021 · 0 comments

Comments

@slajar
Copy link

slajar commented Jun 8, 2021

I patched polly to compile against iOS 14.5 and updated boost to 1.7.0-p0 but I still get this compiler error, which is obviously a boost compiling error. Any help is appreciated.

clang: error: unknown argument: '-fcoalesce-templates'
darwin.compile.c++ bin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden/windows_file_codecvt.o

    "xcrun" "clang++" "-arch" "arm64" "-isysroot" "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.5.sdk"   -fvisibility-inlines-hidden -fcoalesce-templates -pthread -O0 -fno-inline -Wall -g -fvisibility=hidden -gdwarf-2 -fexceptions -Wno-long-double -std=c++14 -miphoneos-version-min=10.0 -std=c++14 -DBOOST_ALL_NO_LIB=1 -DBOOST_FILESYSTEM_STATIC_LINK=1 -DBOOST_SP_NO_SYNC  -I"." -c -o "bin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden/windows_file_codecvt.o" "libs/filesystem/src/windows_file_codecvt.cpp"

clang: error: unknown argument: '-fcoalesce-templates'
...skipped <pbin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden>libboost_filesystem-mt-d.a(clean) for lack of <pbin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden>codecvt_error_category.o...
...skipped <pbin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden>libboost_filesystem-mt-d.a for lack of <pbin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden>codecvt_error_category.o...
...skipped <p/Users/<user>/.hunter/_Base/9cb4184/d4f530e/aa34bad/Build/Boost/__filesystem/Source/stage/lib>libboost_filesystem-mt-d.a for lack of <pbin.v2/libs/filesystem/build/darwin-iphoneos/debug/architecture-arm/instruction-set-armv7/link-static/target-os-iphone/threading-multi/visibility-hidden>libboost_filesystem-mt-d.a...
...failed updating 16 targets...

** BUILD FAILED **


The following build commands failed:
  PhaseScriptExecution Generate\ Boost-filesystem-ios-prefix/src/Boost-filesystem-ios-stamp/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/Boost-filesystem-ios-build /Users/<user>/.hunter/_Base/9cb4184/d4f530e/aa34bad/Build/Boost/__filesystem/Build/Hunter.build/Debug-iphoneos/Boost-filesystem-ios.build/Script-F7F6B02B5C3B808575DB6730.sh
(1 failure)

@slajar slajar changed the title iOS compile error iOS 14.5 compile error Jun 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant