Skip to content

iOS 14.5 compile error #767

@slajar

Description

@slajar

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions