macOS10.12/Xcode8 introduces run-time crash when building libcurl for earlier iOS versions · Issue #1069 · curl/curl · GitHub
Skip to content You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert macOS10.12/Xcode8 introduces run-time crash when building libcurl for earlier iOS versions #1069 New issue Copy link New issue Copy link Closed Closed macOS10.12/Xcode8 introduces run-time crash when building libcurl for earlier iOS versions #1069 Copy link Labels build crash Description bagder opened on Oct 11, 2016 Issue body actions Peter White reported the issue on the mailing list back in September.
I'm filing it here so that it won't be forgotten. I've quoted a piece below. A possible fix is to make the configure use the correct flags , as suggested by Martin Storsjö. On macOS Sierra (v10.12) and iOS 10, the function clock_gettime has been introduced in the Darwin kernel. When building libcurl on macOS 10.12 with Xcode 8 and iOS10 SDK, the configure script will return yes for "monotonic clock_gettime" (around Line 20434 of configure).
However, when using libcurl in an application on an earlier version of iOS, this will cause a run time crash due to a missing symbol for clock_gettime. No crash occurs on an iPhone 6 running iOS10, but on an iPad running iOS9.3.5, a crash occurs due to a missing symbol for clock_gettime. Activity bagder added build crash on Oct 11, 2016 bagder closed this as completed in 4f8d0b6 on Oct 20, 2016 sitsofe added 4 commits that reference this issue on Feb 11, 2017 configure: try and disable weak linking on OSX 7c4d3ab configure: try and disable weak linking on OSX 8517dbf configure: try to disable weak linking on OSX fa75374 configure: try to disable weak linking on OSX ccf2d89 loveinsky100 commented on Aug 2, 2017 loveinsky100 on Aug 2, 2017 More actions https://github.com/loveinsky100/libcurl-nghttp2-mbedtls-ios curl locked and limited conversation to collaborators on Aug 2, 2017 Sign up for free to join this conversation on GitHub.
Already have an account? Sign in to comment Metadata Metadata Assignees No one assigned Labels build crash Type No type Projects No projects Milestone No milestone Relationships None yet Development No branches or pull requests Issue actions You can’t perform that action at this time.