<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
            class="ryNqvb">I built GCC 6.5 from source on Solaris 10
            (latest release update 1/13) just a couple of months ago.</span></span>
        <span class="jCAhz ChMk0b"><span class="ryNqvb">It builds
            without any problems with the latest libraries from OpenCSW
            and on the first try.</span></span> <span
          class="jCAhz ChMk0b"><span class="ryNqvb">Version 6.5 already
            supports C++17 (partially) with an explicit specification of
            the standard (-std=c++17).</span></span> <span
          class="jCAhz ChMk0b"><span class="ryNqvb">I studied the issue
            and found out that it is possible to build GCC up to version
            9.5 on Solaris 10 and the only reason why I did not do this
            was compatibility with already built packages on my setups.</span></span>
        <span class="jCAhz ChMk0b"><span class="ryNqvb">At the moment,
            native compatibility with C++14 is enough for me.</span></span></span></p>
    <p><span class="HwtZe" lang="en"><span class="jCAhz"><span
            class="ryNqvb">Unfortunately, I was unable to compile Perl
            version 5.40 as easily and effortlessly due to a stupid
            error with the UTF8 locale.</span></span> <span
          class="jCAhz ChMk0b"><span class="ryNqvb">I have not yet found
            and written a comprehensive guide to this build.</span></span>
        <span class="jCAhz ChMk0b"><span class="ryNqvb">Unlike GCC.</span></span><span
          class="jCAhz ChMk0b"><span class="ryNqvb">
            You could say that this is also a hobby for me (albeit a
            forced one).</span></span> <span class="jCAhz ChMk0b"><span
            class="ryNqvb">True, my hardware is somewhat younger, it is
            only fourteen years old )</span></span></span></p>
    <p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
            class="ryNqvb">By the way, I haven't looked into the issue
            in depth, but I heard that GCC has returned support for
            SPARC processors to compilers of versions later than 9.
            However, I'm not entirely sure about full compatibility with
            Solaris 10 libC, as Solaris 10 support was declared to be
            discontinued _after_ version 9. However, version 9.5 should
            be supported and I hope, if I have some free time, to run a
            test build on my build environment - just for show.</span></span></span></p>
    <p><span class="HwtZe" lang="en"><span class="jCAhz ChMk0b"><span
            class="ryNqvb">AFAIK, GCC 9 is fully compatible with
            C11/C++17.<br>
          </span></span></span></p>
    <div class="moz-cite-prefix">04.01.2025 23:29, Jonathan Cox via
      users пишет:<br>
    </div>
    <blockquote type="cite"
cite="mid:CH2PR12MB551413B522376504EBBA639FF4162@CH2PR12MB5514.namprd12.prod.outlook.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <div dir="auto">By the way, I invested quite a bit of time
        recently building new packages for Solaris 10 SPARC, including
        Python, SDL, Numpy, Geany and many others. I took detailed notes
        and had a fair amount of success, although I wasn't able to
        figure out how to build newer versions of GCC. This became a
        limiting factor because many open source projects, especially
        anything GNU, have moved to C++17 and even newer versions (for
        no apparent reason, as far as I can tell). </div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">I did inquire about releasing my builds in the
        OpenCSW repository, but I never got a response.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">I am interested in how to compile GCC 9 for
        Solaris 10, as well as generating these updated packages on
        OpenCSW.</div>
      <div dir="auto"><br>
      </div>
      <div dir="auto">It's really a hobby, I'm not doing this because
        I'm constrained to 25 year old hardware...</div>
      <hr style="display:inline-block;width:98%" tabindex="-1">
      <div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif"
          style="font-size:11pt" color="#000000"><b>From:</b> users
          <a class="moz-txt-link-rfc2396E" href="mailto:users-bounces+joncox=alum.mit.edu@lists.opencsw.org"><users-bounces+joncox=alum.mit.edu@lists.opencsw.org></a> on
          behalf of Ben Walton via users <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opencsw.org"><users@lists.opencsw.org></a><br>
          <b>Sent:</b> Saturday, January 4, 2025 9:33:43 AM<br>
          <b>To:</b> Questions and discussions
          <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opencsw.org"><users@lists.opencsw.org></a><br>
          <b>Cc:</b> Ben Walton <a class="moz-txt-link-rfc2396E" href="mailto:bwalton@opencsw.org"><bwalton@opencsw.org></a><br>
          <b>Subject:</b> Re: Time for some updates</font>
        <div> </div>
      </div>
      <div>
        <div dir="auto">
          <div><br>
            <br>
            <div class="x_gmail_quote x_gmail_quote_container">
              <div dir="ltr" class="x_gmail_attr">On Sat 4 Jan 2025,
                14:58 Yuri via users, <<a
                  href="mailto:users@lists.opencsw.org"
                  moz-do-not-send="true" class="moz-txt-link-freetext">users@lists.opencsw.org</a>>
                wrote:<br>
              </div>
              <blockquote class="x_gmail_quote"
style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
                <div>
                  <p><span lang="en"><span><span>Gentlemen, don't you
                          think it's time for some updates?</span></span><br>
                    </span></p>
                  <p><span lang="en"><span><span>For example, Perl.</span></span>
                      <span><span>It's too old, 14 years is a bit too
                          much to run most of the CPAN modules. Or GCC.</span></span>
                      <span><span>I'd like to see at least 6.5 in 2024.
                          Or openvpn.</span></span> <span>
                        <span>The current version is outdated.</span></span>
                      <span><span><br>
                        </span></span></span></p>
                  <p><span lang="en"><span><span>Redis is generally
                          archaic, given that 5.0.14 is built from
                          sources on Solaris 10 without any problems.</span></span>
                      <br>
                    </span></p>
                  <p><span lang="en"><span><span>I understand that the
                          problem of maintainers has not gone away and
                          in general - if you want something, build it
                          yourself.</span></span><br>
                    </span></p>
                  <p><span lang="en"><span><span>But let's at least
                          refresh Perl and GCC a little, okay?</span></span>
                      <span><span>They are hopelessly ancient. If I can
                          build a compiler from sources myself,
                          whichever I like, then I couldn't build Perl.</span></span>
                      <span><span>Not with any attempt.</span></span></span></p>
                </div>
              </blockquote>
            </div>
          </div>
          <div dir="auto">I think you already understand the problem
            here. The people that were investing their time in this
            aren't doing that much anymore because they've moved on.
            It's been a long time since I logged into any Solaris
            machine at this point and it's unlikely I will in the
            future. If I do, it's very unlikely to be building software
            on it. I think many other folks are in a similar position
            because they are scratching different itches in different
            technical contexts. Not everyone has moved on, but those
            still here seemingly don't have a need to update these
            packages.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">If you need these, I suggest you roll up your
            sleeves. Dago can still get you access to the build farm
            where you'd have a pretty straight forward path to building
            the updated packages you want.</div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">I know this doesn't actually help you, but at
            least it confirms your suspicion. </div>
          <div dir="auto"><br>
          </div>
          <div dir="auto">Thanks</div>
          <div dir="auto">-Ben </div>
          <div dir="auto">
            <div class="x_gmail_quote x_gmail_quote_container">
              <blockquote class="x_gmail_quote"
style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
                <div>
                  <p><span lang="en"><span><span>Maybe there are newer
                          versions posted somewhere and I just don't see
                          them?</span></span>
                      <span><span>For example, in unstable or testing?</span></span></span></p>
                  <p><span lang="en"><span><span>WBR, Yuri<br>
                        </span></span></span></p>
                </div>
              </blockquote>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>