Misc #20107
closedUpdate required Oracle Solaris Studio version to 12.5
Description
Per https://www.oracle.com/us/assets/lifetime-support-hardware-301321.pdf and https://www.oracle.com/a/ocom/docs/support/advanced-customer-support/solaris-linux-vm-lsp.pdf, 12.2, 12.3, and 12.4 are all end-of-life for "extended support". We should drop these old compilers from our support suite for Ruby 3.4.0 so that we can use more of C99.
Specifically, in conjunction with bumping to Visual Studio 2015, I believe this means we can now rely on stdbool.h
, the restrict
keyword, va_copy
, snprintf
, and the %zu
printf specifier all functioning as expected.
Updated by k0kubun (Takashi Kokubun) 11 months ago
- Assignee set to ngoto (Naohisa Goto)
Updated by ngoto (Naohisa Goto) 11 months ago
I think it is OK.
Note that Oracle Developer Studio 12.6, the latest version, have severe bug that prevent to compile Ruby ([Bug #15292]). This means that it may be needed to keep support 12.5 for a long time.
Updated by kddnewton (Kevin Newton) 11 months ago
Is that something we can address within Ruby or is it entirely outside of our control?
@hsbt (Hiroshi SHIBATA) do you want to remove the old CI tasks or should I?
Updated by hsbt (Hiroshi SHIBATA) 11 months ago
I'm not sure what you mean. We already removed Solaris from Ruby CI from Oct 2023.
Can you point what is the old CI tasks?
Updated by kddnewton (Kevin Newton) 11 months ago
Oh sorry I was going based on https://github.com/ruby/ruby/wiki/C99-Usage-Guidelines. If we no longer test with these, then I think this issue can be closed? Is there any other documentation or tests that need to be updated?
Updated by k0kubun (Takashi Kokubun) 11 months ago
- Status changed from Open to Closed
Now that we have lost a (RubyCI) machine to check the behavior, I don't know if we can check whether the features work on 12.6 or not. But I think #note-2 was a "yes" from the platform maintainer to update the policy (the wiki @kddnewton (Kevin Newton) linked) and start using it. Like Cygwin, even though we don't have a RubyCI machine to test every commit, we can retrospectively patch problematic places to maintain Solaris support on a best-effort basis. We can close this ticket.
Please consider leaving a note in NEWS.md about Visual Studio 2015 and Solaris Studio 12.6 once you start relying on these compiler versions.