1 |
commit: f0be5cfbd0fe4f62fe0ee70abef4044247984a7b |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 22 20:48:47 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 05:15:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=f0be5cfb |
7 |
|
8 |
archs/sparc: mention SIGBUS/unaligned access and link to tracker bug |
9 |
|
10 |
Bug: https://bugs.gentoo.org/371525 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
Closes: https://github.com/gentoo/devmanual/pull/266 |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
archs/sparc/text.xml | 14 ++++++++++++++ |
16 |
1 file changed, 14 insertions(+) |
17 |
|
18 |
diff --git a/archs/sparc/text.xml b/archs/sparc/text.xml |
19 |
index 20ce4b8..2b00f54 100644 |
20 |
--- a/archs/sparc/text.xml |
21 |
+++ b/archs/sparc/text.xml |
22 |
@@ -10,6 +10,20 @@ hardware (Sun UltraSparc systems with <c>v9</c> CPUs). <c>v8</c> processors |
23 |
and 2.4 kernels should still work with Gentoo, but they are no longer supported |
24 |
by the Gentoo/SPARC team. |
25 |
</p> |
26 |
+ |
27 |
+<p> |
28 |
+SPARC systems are notoriously strict on aligned access: this is the most common |
29 |
+type of bug seen on SPARC (other than big-endian related issues), causing a |
30 |
+<c>SIGBUS</c> signal to be sent to the errant process. Known issues should be |
31 |
+linked to |
32 |
+<uri link="https://bugs.gentoo.org/371525">the related tracker bug</uri>. |
33 |
+</p> |
34 |
+ |
35 |
+<p> |
36 |
+This is usually due to supposedly clever pointer casts and type punning tricks |
37 |
+by the code authors. |
38 |
+</p> |
39 |
+ |
40 |
</body> |
41 |
|
42 |
<section> |