[erlang-questions] R16 + Centos + Crypto + ESL Package
Wed Jul 30 18:49:14 CEST 2014
During our work on migration from R14B04 to R16B03-1 we hit the problem
with `crypto` on `CentOS (details here:
We decided to create our own build, where configure line in spec file would
look like: './configure ... CFLAGS="-DOPENSSL_NO_EC=1"'
That made `crypto` work, but tests showed significant slowdown for
_everything_ in VM (every operation became ~2x slower in comparison with
We tried ErlangSolutions R16B03-1 CentOS package (was found here:
which was also slow as ours.
After some digging we found that `CFLAGS="-DOPENSSL_NO_EC=1"` rewrites
`CFLAGS="-g -O2"`, which was the culprit of slowdown.
So, we are assuming that Erlang Solutions package was compiled in same way
we compiled ours.
So the question is: what is the best way to 'append' CFLAGS option, rather
then providing '-DOPENSSL_NO_EC=1 -g -O2' assuming that we've appended
correct default options?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions