On 2005.05.23 at 17:30:04 +0200, Andy Polyakov wrote: > >./config shared zlib no-sse2 -L/usr/local/lib -R/usr/local/lib > > uname -a, ld -V, as -V.
Sorry, I' forgot to attach output of make report OpenSSL self-test report: OpenSSL version: 0.9.8-beta2-dev Last change: Add attribute functions to EVP_PKEY structure. Modify... Options: enable-shared enable-zlib -L/usr/local/lib -R/usr/local/lib no-gmp no-krb5 no-mdc2 no-rc5 no-sse2 no-zlib-dynamic OS (uname): SunOS elk 5.8 Generic_108529-23 i86pc i386 i86pc OS (config): i86pc-whatever-solaris2 Target (default): solaris-x86-gcc Target: solaris-x86-gcc Compiler: Configured with: ../configure --disable-nls --with-as=/usr/ ccs/bin/as --with-ld=/usr/ccs/bin/ld Thread model: posix gcc version 3.3 Test skipped. ld -V ld: Software Generation Utilities - Solaris-ELF (4.0) as -V as: Sun WorkShop 6 99/08/16 Usage: as [-V] [-Q{y,n}] [-s] [-S[aAbBcClL]] [-K {pic,PIC}] [-o objfile] [-L] [-T] [-P [[-Ipath] [-Dname] [-Dname=def] [-Uname]]...] [-m [-Ym,path]] [-n] [-xF] [-F] [-b] [-i] file.s ... > >Problem is that I cannot get any meaningful backtrace from OpenSSL > >configured this way. > Buf if you issue disassemble command at debugger prompt, you should see > that you're in _init and if you follow to failing address you're most > likely to spot mov (%eax),%al, right? Core was generated by `./destest' Program terminated with signal 11, Segmentation fault. #0 0xdfb6b7d5 in ?? () (gdb) disassemble No function contains program counter for selected frame. (gdb) disassemble 0xdfb6b7d5 0xdfb6b7ff Dump of assembler code from 0xdfb6b7d5 to 0xdfb6b7ff: 0xdfb6b7d5: Cannot access memory at address 0xdfb6b7d5 gdb --version GNU gdb 6.0 Copyright 2003 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.8". > >Unfortunately, attempt to configure debug version > >produces > > What's wrong with ./config -g? Though it [or anything else] would hardly > help debugging .init segment:-( A. The only thing - it is not mentioned in the INSTALL file and not shown by ./config --help Thanks, I would try to produce more informative report using this option. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]