-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
need to test with more OSX versions #17269
Comments
Note that we do indeed build with clang on all the OSX builders, the gcc version is ancient (4.2) and wouldn't build C++11-required LLVM I believe. That being said, it looks like newer versions of clang made this an error as opposed to an warning:
|
@alexcrichton Thanks. (The gcc/clang thing was just some speculation floating around.) That being the case, is there anything actionable here? |
We could probably benefit from a builder from all OSX versions. I believe we currently only test on 10.7 and 10.8, but we could add a 10.9 builder and make sure they stay up-to-date. Either that or we could test against all Xcode versions which may be the more relevant version in this case. |
(tweaked the title a bit) |
Xcode is the more important bit, that's what controls e.g. whether the system actually has GCC installed. Although more recent versions of Xcode do tend to drop support for older versions of the OS (I'm not sure offhand what the OS support is for the most recent stable Xcode). As soon as it's feasible to do so, it would be good to test on OS X 10.10 though (it's still in beta, which is why I'm not saying it should be tested now, although it certainly could be). This is primarily because it appears that 10.10 has somehow changed the default |
I doubt it's possible but if multiple xcode's can be installed in parallel that would make this easier. |
Multiple versions of xcode can be installed and toggled using |
Triage: no change here so far. |
@freebroccolo doesn't xcode-select change the default xcode system-wide? I had inferred that what brson wanted was to be able to switch in a local manner. .. (Or maybe it doesn't matter; I don't know enough about how well our build infrastructure is virtualized for Mac hosts) |
changing xcode system wide would be sufficient if we limited build concurrency to 1 |
@pnkfelix yes, as far as I remember it does. There may be another way to switch versions nicely that isn't system wide in this fashion but I don't know of it. |
The manpage of xcode-select suggests an alternative to
|
Will make a new metabug around this soon |
Recent changes landed that broke Rust on Mac OS 10.9 (Mavericks) and above, see #17214
The problem is that the linker is being passed an argument that works for
gcc
, but thatclang
rejects. (Mac OS moved wholesale toclang
in 10.9, it appears.)Unfortunately, this breakage wasn't caught by bors. Apparently the testing infrastructure is running an older version of Mac OS and therefor using
gcc
rather thanclang
.To avoid surprise Mac OS breakage in the future, we should make sure to test against
clang
before landing PRs.cc @brson @kballard @pnkfelix
The text was updated successfully, but these errors were encountered: