aboutsummaryrefslogtreecommitdiffstats
path: root/HOWTO
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2013-10-28 18:26:40 +0100
committerLukas Larsson <[email protected]>2013-11-01 10:39:29 +0100
commit70ebf76f1cef4a6de6be3ea96b36fb81fe245921 (patch)
treecd8ae5d1663cdd40acec0a05cf4ad1d08f05351c /HOWTO
parent207a13a549052e014a82362032995e347ffb68ff (diff)
downloadotp-70ebf76f1cef4a6de6be3ea96b36fb81fe245921.tar.gz
otp-70ebf76f1cef4a6de6be3ea96b36fb81fe245921.tar.bz2
otp-70ebf76f1cef4a6de6be3ea96b36fb81fe245921.zip
erts: Add max alignment posix_memalign configure check
On some OSs posix_memalign exists, but it does not allow for alignment greater than the current page size. So we have to do a runtime check for alignment size and also add cross compile options.
Diffstat (limited to 'HOWTO')
-rw-r--r--HOWTO/INSTALL-CROSS.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/HOWTO/INSTALL-CROSS.md b/HOWTO/INSTALL-CROSS.md
index a5cf775583..03ea4c6e76 100644
--- a/HOWTO/INSTALL-CROSS.md
+++ b/HOWTO/INSTALL-CROSS.md
@@ -515,6 +515,11 @@ When a variable has been set, no warning will be issued.
* `erl_xcomp_reliable_fpe` - `yes|no`. Defaults to `no`. If `yes`, the target
system must have reliable floating point exceptions.
+* `erl_xcomp_posix_memalign` - `yes|no`. Defaults to `yes` if `posix_memalign`
+ system call exists; otherwise `no`. If `yes`, the target system must have a
+ `posix_memalign` implementation that accepts larger than page size
+ alignment.
+
Copyright and License
---------------------