I think that it is difficult to add `-xatomic=studio` or `-xatomic=gcc` automatically to `cflags` or `CFLAGS` by `./configure` because it is difficult to determine which is appropriate or better option. I think installing users should d...ngoto (Naohisa Goto)
When compiling Ruby 3.3 or head by using Oracle Developer Studio 12.5 on Solaris 10, failed to make miniruby with the following error messages: ``` Undefined first referenced symbol ...ngoto (Naohisa Goto)
Changed to Third Party's Issue I'm hoping someone who have support contract of Oracle Developer Studio will contact Oracle support to solve this compile error.ngoto (Naohisa Goto)
Oracle Developer Studio 12.5 and 12.6 on Solaris 10 failed to compile prism/extension.c with the following error: ``` cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -xatomic=gcc -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_S...ngoto (Naohisa Goto)
Applied in changeset commit:git|528ec7060464d30359e593055df6b53362cd1060. ---------- use RBIMPL_ATTR_MAYBE_UNUSED The macro MAYBE_UNUSED, prepared by ./configure, may not be defined in some environments such as Oracle Developer Studio ...ngoto (Naohisa Goto)
On Solaris 10, by using Oracle Developer Studio 12.5, strange compile error occurred. ``` cc -errtags=yes -xO4 -xtarget=sparc64xplus -m64 -g -erroff=E_STATEMENT_NOT_REACHED -erroff=E_INIT_SIGN_EXTEND -erroff=E_INIT_DOES_NOT_FIT -...ngoto (Naohisa Goto)
The macro MAYBE_UNUSED, prepared by ./configure, may not be defined in some environments such as Oracle Developer Studio 12.5 on Solaris 10. This fixes [Bug #20963]ngoto (Naohisa Goto)
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. ngoto (Naohisa Goto)
This issue is solved by [Misc #15347]. In the C99 spec, The behavior of pow(3) in corner cases are clearly defined. Since Ruby 2.7, C99 is required to compile CRuby source code, and thus Ruby's pow method conforms to the C99 standard.ngoto (Naohisa Goto)