提交 d54f8c8c 编写于 作者: R Richard Levitte

Add a blurb on how to solve the problem with failing compiltaion of sha_dgst.c on Alpha True64 Unix

上级 e0b0dc11
...@@ -23,6 +23,7 @@ OpenSSL - Frequently Asked Questions ...@@ -23,6 +23,7 @@ OpenSSL - Frequently Asked Questions
* Why can't the OpenSSH configure script detect OpenSSL? * Why can't the OpenSSH configure script detect OpenSSL?
* Why does the OpenSSL test fail with "bc: command not found"? * Why does the OpenSSL test fail with "bc: command not found"?
* Why does the OpenSSL test fail with "bc: 1 no implemented"? * Why does the OpenSSL test fail with "bc: 1 no implemented"?
* Why does the OpenSSL compilation fail on Alpha True64 Unix?
* Which is the current version of OpenSSL? * Which is the current version of OpenSSL?
...@@ -323,3 +324,26 @@ you run the test suite (using "make test"). The message returned is "bc: ...@@ -323,3 +324,26 @@ you run the test suite (using "make test"). The message returned is "bc:
implementation of bc and compile/install it. For example, GNU bc (see implementation of bc and compile/install it. For example, GNU bc (see
http://www.gnu.org/software/software.html for download instructions) can http://www.gnu.org/software/software.html for download instructions) can
be safely used. be safely used.
* Why does the OpenSSL compilation fail on Alpha True64 Unix?
On some Alpha installations running True64 Unix and Compaq C, the compilation
of crypto/sha/sha_dgst.c fails with the message 'Fatal: Insufficient virtual
memory to continue compilation.' It's currently unknown why this happens,
except that it has to do with optimization. The very quick solution would
be to compile everything with -O0 as optimization level, but that's not a very
nice thing to do for those who expect to get the best result from OpenSSL.
A bit more complicated solution is the following:
----- snip:start -----
make DIRS=crypto SDIRS=sha "`grep '^CFLAG=' Makefile.ssl | \
sed -e 's/ -O[0-9] / -O0 /'`"
rm `ls crypto/*.o crypto/sha/*.o | grep -v 'sha_dgst\.o'`
make
----- snip:end -----
This will only compile sha_dgst.c with -O0, the rest with the optimization
level chosen by the configuration process. When the above is done, do the
test and installation and you're set.
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册