public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/devmanual:master commit in: archs/sparc/
@ 2022-02-21  5:15 Sam James
  0 siblings, 0 replies; only message in thread
From: Sam James @ 2022-02-21  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     f0be5cfbd0fe4f62fe0ee70abef4044247984a7b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 22 20:48:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 21 05:15:25 2022 +0000
URL:        https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f0be5cfb

archs/sparc: mention SIGBUS/unaligned access and link to tracker bug

Bug: https://bugs.gentoo.org/371525
Signed-off-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/gentoo/devmanual/pull/266
Signed-off-by: Sam James <sam <AT> gentoo.org>

 archs/sparc/text.xml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/archs/sparc/text.xml b/archs/sparc/text.xml
index 20ce4b8..2b00f54 100644
--- a/archs/sparc/text.xml
+++ b/archs/sparc/text.xml
@@ -10,6 +10,20 @@ hardware (Sun UltraSparc systems with <c>v9</c> CPUs). <c>v8</c> processors
 and 2.4 kernels should still work with Gentoo, but they are no longer supported
 by the Gentoo/SPARC team.
 </p>
+
+<p>
+SPARC systems are notoriously strict on aligned access: this is the most common
+type of bug seen on SPARC (other than big-endian related issues), causing a
+<c>SIGBUS</c> signal to be sent to the errant process. Known issues should be
+linked to
+<uri link="https://bugs.gentoo.org/371525">the related tracker bug</uri>.
+</p>
+
+<p>
+This is usually due to supposedly clever pointer casts and type punning tricks
+by the code authors.
+</p>
+
 </body>
 
 <section>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-21  5:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-21  5:15 [gentoo-commits] proj/devmanual:master commit in: archs/sparc/ Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox