summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-26 10:42:03 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-03-26 10:42:03 -0400
commit749f86a7b107c7ec08f1e9065ffb6bd83abc7db3 (patch)
treed0bdb168f28717fb664ea11f5352b8959e07d7b3 /www
parent3dedf8c9c56a65e99e2abb58b9e3dedb3e6dffd0 (diff)
downloadgpsd-749f86a7b107c7ec08f1e9065ffb6bd83abc7db3.tar.gz
Plant warnings about odd memcpy() implementations.
Diffstat (limited to 'www')
-rw-r--r--www/hacking.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/hacking.html b/www/hacking.html
index 0c9d858d..132a25e2 100644
--- a/www/hacking.html
+++ b/www/hacking.html
@@ -567,6 +567,11 @@ typedefs.</p>
<p>(No, we don't know why splint doesn't handle these natively.)</p>
+<p>If you are porting to GCC on x64 Atom or any other compiler/machine
+combination where you suspect memcpy(3) might be implemented by
+reverse rather than forward copy, it may screw up the shared-memory
+export. Read the comment about this in libgps_shm.c and beware.</p>
+
<h2 id="architecture">Architecture and how to hack it</h2>
<p>There are two useful ways to think about the GPSD architecture.