Open swift-ci opened 4 years ago
@swift-ci create
Comment by Chris Hamons (JIRA)
We ran into this as well. We were able to track it down to an updated cmake:
cmake 3.13.3 - Builds Fine
cmake 3.16.2 - Reproduce Error
So consider downgrading if you hit this, until it is fixed.
Comment by Elad Nachmias (JIRA)
Thanks Chris! Your observation is very helpful.
Elad, do you see this error even in master
scheme?
$ utils/update-checkout --scheme master
Comment by Elad Nachmias (JIRA)
@rintaro No, the error does not occur when using the master scheme as you suggested. The compilation completed successfully. (last commit on master: 3423ee107418e635182f768f3d6160a212eed846; cmake version: 3.16.3)
Comment by Elad Nachmias (JIRA)
The `master` branch is under development and not stable (currently even doesn't pass tests). So how can I find a recent commit from `master` that actually works?
Environment
``` java TERM_PROGRAM=Apple_Terminal SHELL=/bin/zsh TERM=xterm-256color TERM_PROGRAM_VERSION=433 USER=eladn PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/TeX/texbin:/opt/X11/bin PWD=/Users/eladn/swift-with-atomic-arc/swift-source/swift XPC_FLAGS=0x0 XPC_SERVICE_NAME=0 SHLVL=1 HOME=/Users/eladn LOGNAME=eladn OLDPWD=/Users/eladn/swift-with-atomic-arc/swift-source/swift CLICOLOR=1 LC_CTYPE=UTF-8 _=/usr/bin/env ``` The latest Xcode (11.3) is installed, and Xcode's command-line tools are installed using \`xcode-select --install\`. I made sure cmake & ninja are updated (installed via homebrew).Additional Detail from JIRA
| | | |------------------|-----------------| |Votes | 1 | |Component/s | Compiler | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 1b5a1d2d798a58d41a88509247f6c3c2Issue Description:
I'm trying to compile the Swift compiler (latest release) on macOS, using these commands:
Here is the error message:
I also tried additional multiple build parameters that also yielded the same error (with/without assertions, debug/release-debuginfo/release, make/build-ninja, with/without libdispatch and/or sourcekit-lsp and/or foundation). I made sure to use reconfigure&clean (or manually remove the build dir) between tries. I tried removing the whole project and re-clone it.
During the build execution I get the following warnings:
Every build attempt I get these warings with different variables (depending on the build parameters).