杨成 wrote:
Hi, everyone,
An urgent problem:
I just cross compile the OpenSSL 0.9.7 under linux by mipsel-linux-gcc for
MIPS R3000, no error occur during the compiling process.
But, when I put the result lib to the hard platform, the openssl routines
can not be carried out and ¡°segment fault¡± occurs.
Why? Does the OpenSSL not support the MIPS?
The program works on X86, such as Linux in Vmware. The program crash on the
first call to transcend. The demo ssl in openssl directory also crash.
How should I do to cross compile for MIPS R3000? Some info The debug info
during the process is :
Again, you're still not providing enough information. Please compile
OpenSSL with debugging symbols on, and provide a backtrace of the
crash with that. Also, what optimization level are you compiling
OpenSSL with? I've seen problems with -O2 or higher on some
architectures in the past with certain versions of gcc...
What is your ./Configure line when you compile OpenSSL? Did you
have to add in your own target, or did one already exist? (Or
did you run the ./config command and not ./Configure?)
If there are any assembly routines for Mips for OpenSSL, you may wish
to disable those and instead rely strictly on the C counterparts,
it may be slower, but should definitely be stable.
Finally, you may wish to try OpenSSL 0.9.8 to see if it was a bug in
0.9.7.
Please do not submit the same e-mail again though, I would
assume it's starting to annoy quite a few people on this list. Most
of us here do not have MIPS hardware to test on, so if you cannot
do your own debugging and provide the information already requested,
you might as well stop asking.
-Brad
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [email protected]
Automated List Manager [EMAIL PROTECTED]