Gentoo dropping support of SPARC
This decision follows the council decision on 2016-12-11, 'The council defers to the security team, but is supportive of dropping security support for sparc if it is unable to generally meet the security team timelines.'"
From: | Yury German <blueknight-AT-gentoo.org> | |
To: | gentoo-announce-AT-lists.gentoo.org | |
Subject: | [gentoo-announce] Dropping support of sparc as a security supported architecture. | |
Date: | Tue, 6 Jun 2017 11:25:45 -0400 | |
Message-ID: | <d91a678b-9931-def4-b309-4d1d32615571@gentoo.org> |
Hello, After long discussion with the sparc team and other developers, the Security Team has decided to drop SPARC as a security supported architecture. This decision follows the council decision on 2016-12-11, "The council defers to the security team, but is supportive of dropping security support for sparc if it is unable to generally meet the security team timelines." The list of security supported architectures is maintained in the [Security Vulnerability Treatment Policy] The consequences of the removal of security supported architecture include (i) GLSA will be released before a version of a package is necessarily stable for the architecture (ii) architecture-specific issues will not be investigated. In addition to this announcement, glsa-check will be updated to present necessary information for sparc users. As most security issues are cross-architecture, glsa-check will continue to be operational for sparc based on generic GLSAs for other architectures. References: [Security Vulnerability Treatment Policy] https://www.gentoo.org/support/security/vulnerability-tre... ## -- ________________ Yury German (BlueKnight) Gentoo Security Team Lead Email: blueknight@gentoo.org OpenPGP keyblock reachable at hkp://pool.sks-keyservers.net GPG Fingerprint: 8858 89D6 C0C4 75C4 D0DD FA00 EEAF ED89 024C 043
Posted Jun 6, 2017 17:46 UTC (Tue)
by mageta (subscriber, #89696)
[Link] (6 responses)
Posted Jun 6, 2017 20:22 UTC (Tue)
by prometheanfire (subscriber, #65683)
[Link] (5 responses)
Posted Jun 7, 2017 8:54 UTC (Wed)
by glaubitz (subscriber, #96452)
[Link] (4 responses)
What you should do first is switch the default from sparcv9 (32 bits) to sparcv9 (64 bits) which is what we did in Debian.
> https://lists.debian.org/debian-sparc/2016/06/msg00126.html
Also, Oracle itself is fully investing the 64-bit port themselves. In fact, they offer two Linux distributions for sparc64:
> http://www.oracle.com/technetwork/server-storage/linux/do...
But since Oracle's distributions require at least sun4v machines, many people will be better off running Debian sparc64
Adrian
Posted Jun 7, 2017 13:17 UTC (Wed)
by jond (subscriber, #37669)
[Link] (3 responses)
Well sure, if their goal is to exclude using 32bit sparc systems with Gentoo. But perhaps that is not their goal.
Posted Jun 7, 2017 13:34 UTC (Wed)
by glaubitz (subscriber, #96452)
[Link] (2 responses)
sparcv9 *is* a 64-bit architecture. There is currently no usable 32-bit SPARC support in Linux.
What Gentoo (and Debian's "sparc" port used) is using is "sparc64" with 32-bit pointers. Gentoo for
If you boot a current version of Gentoo on a SPARC and run "uname -a" it will say "sparc64", it's
Posted Jun 7, 2017 13:48 UTC (Wed)
by pizza (subscriber, #46)
[Link] (1 responses)
Posted Jun 7, 2017 13:54 UTC (Wed)
by glaubitz (subscriber, #96452)
[Link]
Exactly. And all of these are fully supported by the sparc64 ports of Debian and OpenBSD. They're not
They are working on: golang, the kernel, GRUB, Ocaml, gcc, binutils and much more.
People interested in Linux on SPARC should join #sparc on Freenode.
Posted Jun 6, 2017 20:35 UTC (Tue)
by epa (subscriber, #39769)
[Link] (4 responses)
Posted Jun 6, 2017 20:42 UTC (Tue)
by nix (subscriber, #2304)
[Link] (2 responses)
The artifact I ran into half an hour ago was code in arch/sparc/kernel/time_64.c:tick_get_tick():
What's that weird mov for? Well, there was a comment before this code was split up in 2003:
So we have a weird workaround with a long-lost comment in a frequently-called path to handle bugs that, uh, are believed not 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).
Posted Jun 14, 2017 22:16 UTC (Wed)
by jch (guest, #51929)
[Link] (1 responses)
Isn't the Spitfire a SPARCv9 (a.k.a. UltraSparc or SPARC64)?
Posted Jun 16, 2017 17:32 UTC (Fri)
by nix (subscriber, #2304)
[Link]
Posted Jun 7, 2017 8:58 UTC (Wed)
by glaubitz (subscriber, #96452)
[Link]
sparc64 is fully supported by Oracle:
> http://www.oracle.com/technetwork/server-storage/linux/do...
A variant of sparcv8 called LEON is still supported, too, because ESA uses it:
Gentoo dropping support of SPARC
Gentoo dropping support of SPARC
Gentoo dropping support of SPARC
> https://oss.oracle.com/projects/linux-sparc/
which also has many more and up-to-date packages.
Gentoo dropping support of SPARC
Gentoo dropping support of SPARC
SPARC requires at least an UltraSPARC machine (sun4u) and all of these are 64-bit.
just the userland that is 32-bit. And Oracle is currently investing all resources into sparc64
which is why the best idea would be to fully switch to sparc64 like Debian and OpenBSD already
did.
Gentoo dropping support of SPARC
Gentoo dropping support of SPARC
supported by Oracle's own distributions Linux for SPARC and Oracle Linux though as these require
"sun4v". But Oracle fully supports the development of sparc64.
Gentoo dropping support of SPARC
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.
Gentoo dropping support of SPARC
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 & ~TICK_PRIV_BIT;
}
* 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.
Gentoo dropping support of SPARC
Gentoo dropping support of SPARC
Gentoo dropping support of SPARC
> https://oss.oracle.com/projects/linux-sparc/