LWN: Comments on "Gentoo dropping support of SPARC" https://lwn.net/Articles/724700/ This is a special feed containing comments posted to the individual LWN article titled "Gentoo dropping support of SPARC". en-us Thu, 30 Oct 2025 21:14:32 +0000 Thu, 30 Oct 2025 21:14:32 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Gentoo dropping support of SPARC https://lwn.net/Articles/725595/ https://lwn.net/Articles/725595/ nix <div class="FormattedComment"> I think it was the first, or nearly the first, widely-available UltraSPARC. I wasn't suggesting that it was 32-bit: I was noting that even some UltraSPARC stuff is weird and ancient and has little justification for existence any more (and, by extension, that nobody not running a computer museum will miss the ability to boot 32-bit kernels on their SPARC Classic).<br> </div> Fri, 16 Jun 2017 17:32:45 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/725423/ https://lwn.net/Articles/725423/ jch <div class="FormattedComment"> <font class="QuotedText">&gt; SPARC32 kernel support is gone, but there is still code in the kernel -- and weird uncommented workarounds in the kernel -- to support things like the Spitfire, released in 1995</font><br> <p> Isn't the Spitfire a SPARCv9 (a.k.a. UltraSparc or SPARC64)?<br> </div> Wed, 14 Jun 2017 22:16:43 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724764/ https://lwn.net/Articles/724764/ glaubitz <div class="FormattedComment"> <font class="QuotedText">&gt; It's worth mentioning that the oldest UltraSPARC/sun4u machines are over two decades old now.</font><br> <p> Exactly. And all of these are fully supported by the sparc64 ports of Debian and OpenBSD. They're not<br> supported by Oracle's own distributions Linux for SPARC and Oracle Linux though as these require<br> "sun4v". But Oracle fully supports the development of sparc64.<br> <p> They are working on: golang, the kernel, GRUB, Ocaml, gcc, binutils and much more.<br> <p> People interested in Linux on SPARC should join #sparc on Freenode.<br> </div> Wed, 07 Jun 2017 13:54:58 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724762/ https://lwn.net/Articles/724762/ pizza <div class="FormattedComment"> It's worth mentioning that the oldest UltraSPARC/sun4u machines are over two decades old now. (And a modern smartphone is more than an order of magnitude more capable, even before the GPU is factored in..)<br> <p> </div> Wed, 07 Jun 2017 13:48:39 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724761/ https://lwn.net/Articles/724761/ glaubitz <div class="FormattedComment"> <font class="QuotedText">&gt; Well sure, if their goal is to exclude using 32bit sparc systems with Gentoo. But perhaps that is not their goal.</font><br> <p> sparcv9 *is* a 64-bit architecture. There is currently no usable 32-bit SPARC support in Linux.<br> <p> What Gentoo (and Debian's "sparc" port used) is using is "sparc64" with 32-bit pointers. Gentoo for<br> SPARC requires at least an UltraSPARC machine (sun4u) and all of these are 64-bit.<br> <p> If you boot a current version of Gentoo on a SPARC and run "uname -a" it will say "sparc64", it's<br> just the userland that is 32-bit. And Oracle is currently investing all resources into sparc64<br> which is why the best idea would be to fully switch to sparc64 like Debian and OpenBSD already<br> did.<br> </div> Wed, 07 Jun 2017 13:34:21 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724758/ https://lwn.net/Articles/724758/ jond <div class="FormattedComment"> <font class="QuotedText">&gt; What you should do first is switch the default from sparcv9 (32 bits) to sparcv9 (64 bits) which is what we did in Debian.</font><br> <p> Well sure, if their goal is to exclude using 32bit sparc systems with Gentoo. But perhaps that is not their goal.<br> </div> Wed, 07 Jun 2017 13:17:45 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724756/ https://lwn.net/Articles/724756/ glaubitz <div class="FormattedComment"> <font class="QuotedText">&gt; Is SPARC one of those architectures where you have sparc, sparc64, sparcv5, supersparc, ultrasparc, sparcman or whatever and some of them are really ancient stuff, so you can 'drop' one of them but it doesn't affect any hardware sold in the last twenty years?</font><br> <p> sparc64 is fully supported by Oracle:<br> <p> <font class="QuotedText">&gt; <a href="http://www.oracle.com/technetwork/server-storage/linux/downloads/oracle-linux-sparc-3665558.html">http://www.oracle.com/technetwork/server-storage/linux/do...</a></font><br> <font class="QuotedText">&gt; <a href="https://oss.oracle.com/projects/linux-sparc/">https://oss.oracle.com/projects/linux-sparc/</a></font><br> <p> A variant of sparcv8 called LEON is still supported, too, because ESA uses it:<br> <p> <font class="QuotedText">&gt; <a href="https://en.wikipedia.org/wiki/LEON">https://en.wikipedia.org/wiki/LEON</a></font><br> </div> Wed, 07 Jun 2017 08:58:11 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724755/ https://lwn.net/Articles/724755/ glaubitz <div class="FormattedComment"> <font class="QuotedText">&gt; Ya, in fact we are looking into getting more sparc hardware for testing.</font><br> <p> What you should do first is switch the default from sparcv9 (32 bits) to sparcv9 (64 bits) which is what we did in Debian.<br> <p> <font class="QuotedText">&gt; <a href="https://lists.debian.org/debian-sparc/2016/06/msg00126.html">https://lists.debian.org/debian-sparc/2016/06/msg00126.html</a></font><br> <p> Also, Oracle itself is fully investing the 64-bit port themselves. In fact, they offer two Linux distributions for sparc64:<br> <p> <font class="QuotedText">&gt; <a href="http://www.oracle.com/technetwork/server-storage/linux/downloads/oracle-linux-sparc-3665558.html">http://www.oracle.com/technetwork/server-storage/linux/do...</a></font><br> <font class="QuotedText">&gt; <a href="https://oss.oracle.com/projects/linux-sparc/">https://oss.oracle.com/projects/linux-sparc/</a></font><br> <p> But since Oracle's distributions require at least sun4v machines, many people will be better off running Debian sparc64<br> which also has many more and up-to-date packages.<br> <p> Adrian<br> </div> Wed, 07 Jun 2017 08:54:33 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724730/ https://lwn.net/Articles/724730/ nix Quite. SPARC32 kernel support is gone, but there is still code in the kernel -- and weird uncommented workarounds in the kernel -- to support things like the Spitfire, released in 1995, an artifact which is actually literally in the Computer History Museum. <p> The artifact I ran into half an hour ago was code in arch/sparc/kernel/time_64.c:tick_get_tick():<p> <pre> static unsigned long long tick_get_tick(void) { unsigned long ret; __asm__ __volatile__("rd %%tick, %0\n\t" "mov %0, %0" : "=r" (ret)); return ret &amp; ~TICK_PRIV_BIT; } </pre><p> What's that weird mov for? Well, there was a comment before this code was split up in 2003: <p><pre> * Just to be anal we add a workaround for Spitfire * Errata 50 by preventing pipeline bypasses on the * final read of the %tick register into a compare * instruction. The Errata 50 description states * that %tick is not prone to this bug, but I am not * taking any chances. </pre><p> So we have a weird workaround with a long-lost comment in a frequently-called path to handle bugs that, uh, are believed <i>not</i> to affect actual museum artifacts, and certainly don't affect anything more recent (though anything in actual use these days won't use this code path at all because it will have the %stick register). Tue, 06 Jun 2017 20:42:30 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724729/ https://lwn.net/Articles/724729/ epa <div class="FormattedComment"> Is SPARC one of those architectures where you have sparc, sparc64, sparcv5, supersparc, ultrasparc, sparcman or whatever and some of them are really ancient stuff, so you can 'drop' one of them but it doesn't affect any hardware sold in the last twenty years?<br> </div> Tue, 06 Jun 2017 20:35:16 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724728/ https://lwn.net/Articles/724728/ prometheanfire <div class="FormattedComment"> Ya, in fact we are looking into getting more sparc hardware for testing.<br> </div> Tue, 06 Jun 2017 20:22:09 +0000 Gentoo dropping support of SPARC https://lwn.net/Articles/724718/ https://lwn.net/Articles/724718/ mageta <div class="FormattedComment"> The headline is misleading. The consequences are written in the mail-text, and they don't seem to imply that SPARC is dropped as architecture from Gentoo as a whole.<br> </div> Tue, 06 Jun 2017 17:46:48 +0000