-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
4.3.0 build failure with Xcode 8.1 and macOS 10.11 #494
Comments
Somehow this slipped past me for the 4.3.1 release. I recall seeing a report with less information, and I thought I responded that it didn't make sense to me, but cannot find an audit trail. I will be sure to develop a fix before upgrading my other Apple dev machine. |
@jasone Thanks! |
|
On macOS 10.11, XCode SDK v8.1 (and possibly others) indicate the presence of symbols that don't exist until macOS 10.12. Setting MACOSX_DEPLOYMENT_TARGET to the host machine's actual macOS version works around this. See: jemalloc/jemalloc#494.
On macOS 10.11, XCode SDK v8.1 (and possibly others) indicate the presence of symbols that don't exist until macOS 10.12. Setting MACOSX_DEPLOYMENT_TARGET to the host machine's actual macOS version works around this. See: jemalloc/jemalloc#494.
Full build log
https://gist.github.com/ilovezfs/20d854eb604f17181e0089b28ed2470c
(original is here but the link will die at some point https://bot.brew.sh/job/Homebrew%20Core/10770/version=el_capitan/consoleText)
The error is
The problem is that
os_unfair_lock_lock
is defined in the Xcode 8.1 SDK headers, but is only actually available on Sierra (10.12). I've worked around the problem by settingje_cv_os_unfair_lock
equal to"no"
in the environment, but it should be fixed properly in configure.See Homebrew/homebrew-core#6625.
The text was updated successfully, but these errors were encountered: